<% Root.sys_frontSite %> |
macro renders the alias of the frontpage site defined |
Sourcecode in Root/sysmgr_macros.js:
1: function sys_frontSite_macro(param) { 2: if (!session.user.sysadmin) 3: return; 4: if (param.as == "editor") { 5: var inputParam = new Object(); 6: inputParam.name = "sys_frontSite"; 7: inputParam.value = root.sys_frontSite ? root.sys_frontSite.alias : null; 8: Html.input(inputParam); 9: } else 10: res.write (root.sys_frontSite); 11: return; 12: } |