<% Site.sysmgr_statusflags %>
function renders the statusflags for this site

Sourcecode in Site/sysmgr_macros.js:
1:   function sysmgr_statusflags_macro(param) {
2:      // this macro is allowed just for sysadmins
3:      if (!session.user.sysadmin)
4:         return;
5:      if (this.trusted)
6:         res.write("<span class=\"flagDark\" style=\"background-color:#009900;\">TRUSTED</span>");
7:      if (!this.online)
8:         res.write("<span class=\"flagDark\" style=\"background-color:#CC0000;\">PRIVATE</span>");
9:      else
10:        res.write("<span class=\"flagDark\" style=\"background-color:#006600;\">PUBLIC</span>");      
11:     if (this.blocked)
12:        res.write("<span class=\"flagDark\" style=\"background-color:#000000;\">BLOCKED</span>");
13:     return;
14:  }