<% SkinMgr.prototypechooser %> |
renders a dropdown containing available
prototypes |
Sourcecode in SkinMgr/macros.js:
1: function prototypechooser_macro(param) { 2: var options = []; 3: for (var i in app.skinfiles) 4: options.push({value: i, display: i}); 5: options.sort(function(a, b) {return a.display.charCodeAt(0) - b.display.charCodeAt(0); }); 6: Html.dropDown({name: "prototype"}, options, null, param.firstOption); 7: return; 8: } |