<% Root.sys_enableAutoCleanup %>
macro rendering autocleanup-flag

Sourcecode in Root/sysmgr_macros.js:
1:   function sys_enableAutoCleanup_macro(param) {
2:      // this macro is allowed just for sysadmins
3:      if (!session.user.sysadmin)
4:         return;
5:      if (param.as == "editor") {
6:         var inputParam = this.createCheckBoxParam("sys_enableAutoCleanup", param);
7:         if (req.data.save && !req.data.sys_enableAutoCleanup)
8:            delete inputParam.checked;
9:         Html.checkBox(inputParam);
10:     } else
11:        res.write(this.sys_enableAutoCleanup ? getMessage("generic.yes") : getMessage("generic.no"));
12:     return;
13:  }