$def with (content) $code: days= json.dumps([_(u'Sunday'), _(u'Monday'), _(u'Tuesday'), _(u'Wednesday'), _(u'Thursday'), _(u'Friday'), _(u'Saturday')]) months = json.dumps([_(u'January'), _(u'February'), _(u'March'), _(u'April'), _(u'May'), _(u'June'), _(u'July'), _(u'August'), _(u'September'), _(u'October'), _(u'November'), _(u'December')]) logp = '1' if content.page == 'home' else '0' ${options.name + " - " + content.title} $if options.theme == 'basic': $elif options.theme == 'dark': $if content.page == 'help':
$_('Manage')
$for plugin in plugins.running(): $if plugins.get(plugin).LINK: ${plugins.get(plugin).MENU}
${options.name if options.name != _('OSPy - OpenSprinkler Python') else ""}

$if content.page != 'login': ${get_who_is_operator()}

:

$if content.page != 'login': $:content