<% Layout.description %> |
render the description of a layout, either as editor
or as plain text |
Sourcecode in Layout/macros.js:
1: function description_macro(param) { 2: if (param.as == "editor") 3: Html.textArea(this.createInputParam("description", param)); 4: else if (this.description) { 5: if (param.limit) 6: res.write(this.description.clip(param.limit)); 7: else 8: res.write(this.description); 9: } 10: return; 11: } |