#!/usr/bin/env python




##################################################
## DEPENDENCIES
import sys
import os
import os.path
try:
    import builtins as builtin
except ImportError:
    import __builtin__ as builtin
from os.path import getmtime, exists
import time
import types
from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion
from Cheetah.Version import MinCompatibleVersionTuple as RequiredCheetahVersionTuple
from Cheetah.Template import Template
from Cheetah.DummyTransaction import *
from Cheetah.NameMapper import NotFound, valueForName, valueFromSearchList, valueFromFrameOrSearchList
from Cheetah.CacheRegion import CacheRegion
import Cheetah.Filters as Filters
import Cheetah.ErrorCatchers as ErrorCatchers
from Plugins.Extensions.OpenWebif.controllers.i18n import tstrings

##################################################
## MODULE CONSTANTS
VFFSL=valueFromFrameOrSearchList
VFSL=valueFromSearchList
VFN=valueForName
currentTime=time.time
__CHEETAH_version__ = '2.4.4'
__CHEETAH_versionTuple__ = (2, 4, 4, 'development', 0)
__CHEETAH_genTime__ = 1644610943.295035
__CHEETAH_genTimestamp__ = 'Fri Feb 11 20:22:23 2022'
__CHEETAH_src__ = '/home/nonsolosat/openpli-dreambox-oe-core/build/tmp/work/dm7080-oe-linux/enigma2-plugin-extensions-openwebif/gitAUTOINC+81b15e17ab-r0/git/plugin/controllers/views/ajax/at.tmpl'
__CHEETAH_srcLastModified__ = 'Fri Feb 11 20:05:52 2022'
__CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine'

if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
    raise AssertionError(
      'This template was compiled with Cheetah version'
      ' %s. Templates compiled before version %s must be recompiled.'%(
         __CHEETAH_version__, RequiredCheetahVersion))

##################################################
## CLASSES

class at(Template):

    ##################################################
    ## CHEETAH GENERATED METHODS


    def __init__(self, *args, **KWs):

        super(at, self).__init__(*args, **KWs)
        if not self._CHEETAH__instanceInitialized:
            cheetahKWArgs = {}
            allowedKWs = 'searchList namespaces filter filtersLib errorCatcher'.split()
            for k,v in KWs.items():
                if k in allowedKWs: cheetahKWArgs[k] = v
            self._initCheetahInstance(**cheetahKWArgs)
        

    def respond(self, trans=None):



        ## CHEETAH: main method generated for this template
        if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)):
            trans = self.transaction # is None unless self.awake() was called
        if not trans:
            trans = DummyTransaction()
            _dummyTrans = True
        else: _dummyTrans = False
        write = trans.response().write
        SL = self._CHEETAH__searchList
        _filter = self._CHEETAH__currentFilter
        
        ########################################
        ## START - generated method body
        
        _orig_filter_85577598 = _filter
        filterName = u'WebSafe'
        if self._CHEETAH__filters.has_key("WebSafe"):
            _filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
        else:
            _filter = self._CHEETAH__currentFilter = \
			self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
        write(u'''<style>
optgroup{font-weight:bolder;}
fieldset > label{-webkit-margin-top-collapse: separate;margin-top: .5em;margin-bottom: 1em;display: inline-block;}
input#to,input#from,.text.number {width:60px;}
.text.date {width:80px;}
#timerdlgcont #timers {overflow:initial;}
</style>
<div id="content_main" style="min-height: 500px;background-image:none;" class="ui-widget-content">
\t<div id="info">
\t\t<div style="display: table;width: 100%;">
\t\t\t<div style="display:table-cell;width:200px;vertical-align:top;">
\t\t\t\t<h3 class="ui-widget-header">''')
        _v = VFFSL(SL,"tstrings",True)['at_list'] # u"$tstrings['at_list']" on line 16, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_list']")) # from line 16, col 34.
        write(u'''</h3>
\t\t\t\t<div style="overflow:auto;max-height:600px;">
\t\t\t\t<ol class="sellist" id="atlist">
\t\t\t\t</ol>
\t\t\t</div>
\t\t\t</div>
\t\t\t<div class="ui-widget-header" style="display:table-cell;background: none;border-bottom:none;border-top:none;border-left:none;width:1px;"></div>
\t\t\t<div style="display:table-cell;">
\t\t\t\t<div style="width: 100%; zoom: 1;">
\t\t\t\t<h3 class="ui-widget-header">''')
        _v = VFFSL(SL,"tstrings",True)['at_at_edit'] # u"$tstrings['at_at_edit']" on line 25, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_at_edit']")) # from line 25, col 34.
        write(u''' <span id=\'at_name\'></span></h3>
\t\t\t\t\t<div id="ateditcontent">
\t\t\t\t\t\t<form>
\t\t\t\t\t\t\t<fieldset style="border:none">
\t\t\t\t\t\t\t\t<label for="enabled">''')
        _v = VFFSL(SL,"tstrings",True)['at_enabled'] # u"$tstrings['at_enabled']" on line 29, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_enabled']")) # from line 29, col 30.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="enabled" value="">
\t\t\t\t\t\t\t\t<br><label for="name">''')
        _v = VFFSL(SL,"tstrings",True)['name'] # u"$tstrings['name']" on line 31, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['name']")) # from line 31, col 31.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="text" id="name">
\t\t\t\t\t\t\t\t<br><label for="match">''')
        _v = VFFSL(SL,"tstrings",True)['at_text_match'] # u"$tstrings['at_text_match']" on line 33, col 32
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_text_match']")) # from line 33, col 32.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="text" id="match">
\t\t\t\t\t\t\t\t<!-- <label for="searchType">''')
        _v = VFFSL(SL,"tstrings",True)['at_search_type'] # u"$tstrings['at_search_type']" on line 35, col 38
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_search_type']")) # from line 35, col 38.
        write(u''':</label> -->
\t\t\t\t\t\t\t\t<select id="searchType">
''')
        for searchType in VFFSL(SL,"searchTypes",True): # generated from line 37, col 9
            write(u'''\t\t\t\t\t\t\t\t\t<option value="''')
            _v = VFFSL(SL,"searchType",True) # u'$searchType' on line 38, col 25
            if _v is not None: write(_filter(_v, rawExpr=u'$searchType')) # from line 38, col 25.
            write(u'''">''')
            _v = VFFSL(SL,"tstrings",True)['at_'+VFFSL(SL,"searchType",True)+'_match'] # u"$tstrings['at_'+$searchType+'_match']" on line 38, col 38
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_'+$searchType+'_match']")) # from line 38, col 38.
            write(u'''</option>
''')
        write(u'''\t\t\t\t\t\t\t\t<!--
\t\t\t\t\t\t\t\t<option value="partial" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['at_partial_match'] # u"$tstrings['at_partial_match']" on line 41, col 53
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_partial_match']")) # from line 41, col 53.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="exact">''')
        _v = VFFSL(SL,"tstrings",True)['at_exact_match'] # u"$tstrings['at_exact_match']" on line 42, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_exact_match']")) # from line 42, col 31.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="description">''')
        _v = VFFSL(SL,"tstrings",True)['at_description_match'] # u"$tstrings['at_description_match']" on line 43, col 37
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_description_match']")) # from line 43, col 37.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="full">''')
        _v = VFFSL(SL,"tstrings",True)['at_title_or_description_match'] # u"$tstrings['at_title_or_description_match']" on line 44, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_title_or_description_match']")) # from line 44, col 30.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="shortdesc">''')
        _v = VFFSL(SL,"tstrings",True)['at_short_description_match'] # u"$tstrings['at_short_description_match']" on line 45, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_short_description_match']")) # from line 45, col 35.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="title_shortdesc">''')
        _v = VFFSL(SL,"tstrings",True)['at_title_or_short_description_match'] # u"$tstrings['at_title_or_short_description_match']" on line 46, col 41
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_title_or_short_description_match']")) # from line 46, col 41.
        write(u'''</option>
''')
        if 'start' in VFFSL(SL,"searchTypes",True): # generated from line 47, col 9
            write(u'''\t\t\t\t\t\t\t\t\t<option value="start">''')
            _v = VFFSL(SL,"tstrings",True)['at_start_match'] # u"$tstrings['at_start_match']" on line 48, col 32
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_start_match']")) # from line 48, col 32.
            write(u'''</option>
''')
        write(u'''\t\t\t\t\t\t\t\t-->
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t<!-- <br><label for="searchCase">''')
        _v = VFFSL(SL,"tstrings",True)['at_search_strictness'] # u"$tstrings['at_search_strictness']" on line 52, col 42
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_search_strictness']")) # from line 52, col 42.
        write(u''':</label> -->
\t\t\t\t\t\t\t\t<select id="searchCase">
\t\t\t\t\t\t\t\t<option value="sensitive" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['at_case_sensitive'] # u"$tstrings['at_case_sensitive']" on line 54, col 55
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_case_sensitive']")) # from line 54, col 55.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="insensitive">''')
        _v = VFFSL(SL,"tstrings",True)['at_case_insensitive'] # u"$tstrings['at_case_insensitive']" on line 55, col 37
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_case_insensitive']")) # from line 55, col 37.
        write(u'''</option>
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t<br><label for="justplay">''')
        _v = VFFSL(SL,"tstrings",True)['at_timer_type'] # u"$tstrings['at_timer_type']" on line 57, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timer_type']")) # from line 57, col 35.
        write(u''':</label>
\t\t\t\t\t\t\t\t<select id="justplay">
\t\t\t\t\t\t\t\t<option value="0" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['at_record'] # u"$tstrings['at_record']" on line 59, col 47
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_record']")) # from line 59, col 47.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="1">''')
        _v = VFFSL(SL,"tstrings",True)['at_zap'] # u"$tstrings['at_zap']" on line 60, col 27
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_zap']")) # from line 60, col 27.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="2">''')
        _v = VFFSL(SL,"tstrings",True)['at_record'] # u"$tstrings['at_record']" on line 61, col 27
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_record']")) # from line 61, col 27.
        write(u'''+''')
        _v = VFFSL(SL,"tstrings",True)['at_zap'] # u"$tstrings['at_zap']" on line 61, col 50
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_zap']")) # from line 61, col 50.
        write(u'''</option>
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t<label for="overrideAlternatives">''')
        _v = VFFSL(SL,"tstrings",True)['at_override_alt'] # u"$tstrings['at_override_alt']" on line 63, col 43
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_override_alt']")) # from line 63, col 43.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="overrideAlternatives" value="">
\t\t\t\t\t\t\t\t<br><label for="timeSpan">''')
        _v = VFFSL(SL,"tstrings",True)['at_timespan'] # u"$tstrings['at_timespan']" on line 65, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timespan']")) # from line 65, col 35.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="timeSpan" value="">
\t\t\t\t\t\t\t\t\t<span id="timeSpanE">
\t\t\t\t\t\t\t\t\t<label for="from">''')
        _v = VFFSL(SL,"tstrings",True)['at_timespan_begin'] # u"$tstrings['at_timespan_begin']" on line 68, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timespan_begin']")) # from line 68, col 28.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t<input type="text" id="from" value="">
\t\t\t\t\t\t\t\t\t<label for="to">''')
        _v = VFFSL(SL,"tstrings",True)['at_timespan_end'] # u"$tstrings['at_timespan_end']" on line 70, col 26
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timespan_end']")) # from line 70, col 26.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t<input type="text" id="to" value="">
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br><label for="timeFrame">''')
        _v = VFFSL(SL,"tstrings",True)['at_datespan'] # u"$tstrings['at_datespan']" on line 73, col 36
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_datespan']")) # from line 73, col 36.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="timeFrame" value="">
\t\t\t\t\t\t\t\t\t<span id="timeFrameE">
\t\t\t\t\t\t\t\t\t<label for="after">''')
        _v = VFFSL(SL,"tstrings",True)['at_datespan_to'] # u"$tstrings['at_datespan_to']" on line 76, col 29
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_datespan_to']")) # from line 76, col 29.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t<input type="text" id="after" value="" class="text date">
\t\t\t\t\t\t\t\t\t<input type="checkbox" id="timeFrameAfter" value="">
\t\t\t\t\t\t\t\t\t<label for="before">''')
        _v = VFFSL(SL,"tstrings",True)['at_datespan_from'] # u"$tstrings['at_datespan_from']" on line 79, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_datespan_from']")) # from line 79, col 30.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t<span id="beforeE"><input type="text" id="before" value="" class="text date"></span>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br><label for="timerOffset">''')
        _v = VFFSL(SL,"tstrings",True)['at_timer_offset'] # u"$tstrings['at_timer_offset']" on line 82, col 38
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timer_offset']")) # from line 82, col 38.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="timerOffset" value="">
\t\t\t\t\t\t\t\t\t<span id="timerOffsetE">
\t\t\t\t\t\t\t\t\t<label for="tbefore">''')
        _v = VFFSL(SL,"tstrings",True)['at_timer_offset_before'] # u"$tstrings['at_timer_offset_before']" on line 85, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timer_offset_before']")) # from line 85, col 31.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t<input type="text" id="tbefore" value="" class="text number" onkeyup="this.value=this.value.replace(/[^\\d]/,\'\')">
\t\t\t\t\t\t\t\t\t<label for="tafter">''')
        _v = VFFSL(SL,"tstrings",True)['at_timer_offset_after'] # u"$tstrings['at_timer_offset_after']" on line 87, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timer_offset_after']")) # from line 87, col 30.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t<input type="text" id="tafter" value="" class="text number" onkeyup="this.value=this.value.replace(/[^\\d]/,\'\')">
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br><label for="maxDuration">''')
        _v = VFFSL(SL,"tstrings",True)['at_max_duration'] # u"$tstrings['at_max_duration']" on line 90, col 38
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_max_duration']")) # from line 90, col 38.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="maxDuration" value="">
\t\t\t\t\t\t\t\t\t<span id="maxDurationE">
\t\t\t\t\t\t\t\t\t<label for="maxduration"></label>
\t\t\t\t\t\t\t\t\t<select id="maxduration">
\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br><label for="afterevent">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event'] # u"$tstrings['at_after_event']" on line 97, col 37
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event']")) # from line 97, col 37.
        write(u''':</label>
\t\t\t\t\t\t\t\t<select id="afterevent">
\t\t\t\t\t\t\t\t<option value="" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_standard'] # u"$tstrings['at_after_event_standard']" on line 99, col 46
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_standard']")) # from line 99, col 46.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="none">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_nothing'] # u"$tstrings['at_after_event_nothing']" on line 100, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_nothing']")) # from line 100, col 30.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="standby">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_standby'] # u"$tstrings['at_after_event_standby']" on line 101, col 33
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_standby']")) # from line 101, col 33.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="shutdown">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_deepstandby'] # u"$tstrings['at_after_event_deepstandby']" on line 102, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_deepstandby']")) # from line 102, col 34.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="auto">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_auto'] # u"$tstrings['at_after_event_auto']" on line 103, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_auto']")) # from line 103, col 30.
        write(u'''</option>
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t<br><br><span id="AftereventE">
\t\t\t\t\t\t\t\t<label for="timeSpanAE">''')
        _v = VFFSL(SL,"tstrings",True)['at_event_timespan'] # u"$tstrings['at_event_timespan']" on line 106, col 33
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_event_timespan']")) # from line 106, col 33.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="timeSpanAE" value="">
\t\t\t\t\t\t\t\t\t<span id="timeSpanAEE">
\t\t\t\t\t\t\t\t\t<br><br><label for="from">''')
        _v = VFFSL(SL,"tstrings",True)['at_event_timespan_begin'] # u"$tstrings['at_event_timespan_begin']" on line 109, col 36
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_event_timespan_begin']")) # from line 109, col 36.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t<input type="text" id="aefrom" value="">
\t\t\t\t\t\t\t\t\t<br><br><label for="to">''')
        _v = VFFSL(SL,"tstrings",True)['at_event_timespan_end'] # u"$tstrings['at_event_timespan_end']" on line 111, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_event_timespan_end']")) # from line 111, col 34.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t<input type="text" id="aeto" value="">
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br><label for="counter">''')
        _v = VFFSL(SL,"tstrings",True)['at_max_counter'] # u"$tstrings['at_max_counter']" on line 115, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_max_counter']")) # from line 115, col 34.
        write(u''':</label>
\t\t\t\t\t\t\t\t<select id="counter">
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t<span id="CounterE">
\t\t\t\t\t\t\t\t<label for="left">''')
        _v = VFFSL(SL,"tstrings",True)['at_left'] # u"$tstrings['at_left']" on line 119, col 27
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_left']")) # from line 119, col 27.
        write(u''':</label>
\t\t\t\t\t\t\t\t<select id="left">
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t<label for="counterFormat">''')
        _v = VFFSL(SL,"tstrings",True)['at_reset_count'] # u"$tstrings['at_reset_count']" on line 122, col 36
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_reset_count']")) # from line 122, col 36.
        write(u''':</label>
\t\t\t\t\t\t\t\t<select id="counterFormat" size="1">
\t\t\t\t\t\t\t\t<option value="" selected>''')
        _v = VFFSL(SL,"tstrings",True)['at_never'] # u"$tstrings['at_never']" on line 124, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_never']")) # from line 124, col 35.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="%m">''')
        _v = VFFSL(SL,"tstrings",True)['at_monthly'] # u"$tstrings['at_monthly']" on line 125, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_monthly']")) # from line 125, col 28.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="%U">''')
        _v = VFFSL(SL,"tstrings",True)['at_weekly_sun'] # u"$tstrings['at_weekly_sun']" on line 126, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_weekly_sun']")) # from line 126, col 28.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="%W">''')
        _v = VFFSL(SL,"tstrings",True)['at_weekly_mon'] # u"$tstrings['at_weekly_mon']" on line 127, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_weekly_mon']")) # from line 127, col 28.
        write(u'''</option>
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br><label for="avoidDuplicateDescription">''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup'] # u"$tstrings['at_avoid_dup']" on line 130, col 52
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup']")) # from line 130, col 52.
        write(u''':</label>
\t\t\t\t\t\t\t\t<select id="avoidDuplicateDescription">
\t\t\t\t\t\t\t\t<option value="0" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup_no'] # u"$tstrings['at_avoid_dup_no']" on line 132, col 47
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup_no']")) # from line 132, col 47.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="1">''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup_same_service'] # u"$tstrings['at_avoid_dup_same_service']" on line 133, col 27
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup_same_service']")) # from line 133, col 27.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="2">''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup_any_service'] # u"$tstrings['at_avoid_dup_any_service']" on line 134, col 27
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup_any_service']")) # from line 134, col 27.
        write(u'''</option>
\t\t\t\t\t\t\t\t<option value="3">''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup_any_service_rec'] # u"$tstrings['at_avoid_dup_any_service_rec']" on line 135, col 27
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup_any_service_rec']")) # from line 135, col 27.
        write(u'''</option>
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t<br><label for="Location">''')
        _v = VFFSL(SL,"tstrings",True)['at_location'] # u"$tstrings['at_location']" on line 137, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_location']")) # from line 137, col 35.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="Location" value="">
\t\t\t\t\t\t\t\t\t<span id="LocationE">
\t\t\t\t\t\t\t\t\t<label for="location"></label>
\t\t\t\t\t\t\t\t\t<select id="location">
''')
        for location in VFFSL(SL,"locations",True): # generated from line 142, col 11
            write(u'''\t\t\t\t\t\t\t\t\t\t\t<option value="''')
            _v = VFFSL(SL,"location",True) # u'$location' on line 143, col 27
            if _v is not None: write(_filter(_v, rawExpr=u'$location')) # from line 143, col 27.
            write(u'''">''')
            _v = VFFSL(SL,"location",True) # u'$location' on line 143, col 38
            if _v is not None: write(_filter(_v, rawExpr=u'$location')) # from line 143, col 38.
            write(u'''</option>
''')
        write(u'''\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br><label for="Tags">''')
        _v = VFFSL(SL,"tstrings",True)['at_tags'] # u"$tstrings['at_tags']" on line 147, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_tags']")) # from line 147, col 31.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t<span id="TagsE">
\t\t\t\t\t\t\t\t\t<select data-placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['at_select_tags'] # u"$tstrings['at_select_tags']" on line 149, col 36
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_select_tags']")) # from line 149, col 36.
        write(u'''" id="tags" class="tags_select_box" multiple tabindex="16">
\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br><label for="Bouquets">''')
        _v = VFFSL(SL,"tstrings",True)['bouquets'] # u"$tstrings['bouquets']" on line 152, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bouquets']")) # from line 152, col 35.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="Bouquets" value="">
\t\t\t\t\t\t\t\t\t<span id="BouquetsE">
\t\t\t\t\t\t\t\t\t<select data-placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['at_select_bouquets'] # u"$tstrings['at_select_bouquets']" on line 155, col 36
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_select_bouquets']")) # from line 155, col 36.
        write(u'''" id="bouquets" class="bq_select_box" multiple tabindex="16">
\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br><label for="Channels">''')
        _v = VFFSL(SL,"tstrings",True)['at_channels'] # u"$tstrings['at_channels']" on line 158, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_channels']")) # from line 158, col 35.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="Channels" value="">
\t\t\t\t\t\t\t\t\t<span id="ChannelsE">
\t\t\t\t\t\t\t\t\t<select data-placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['at_select_channels'] # u"$tstrings['at_select_channels']" on line 161, col 36
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_select_channels']")) # from line 161, col 36.
        write(u'''" id="channels" class="ch_select_box" multiple tabindex="16">
\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t<label for="Filter">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter'] # u"$tstrings['at_filter']" on line 167, col 29
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter']")) # from line 167, col 29.
        write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="Filter" value="" >
\t\t\t\t\t\t\t\t\t<span id="FilterE" style="display:inline-table">
\t\t\t\t\t\t\t\t\t<input type="button" id="AddFilter" value="''')
        _v = VFFSL(SL,"tstrings",True)['add'] # u"$tstrings['add']" on line 170, col 53
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['add']")) # from line 170, col 53.
        write(u'''"/>
\t\t\t\t\t\t\t\t\t<table id="filterlist">
\t\t\t\t\t\t\t\t\t<tr id="dummyfilter" style="display:none">
\t\t\t\t\t\t\t\t\t<td class="nopadding">
\t\t\t\t\t\t\t\t\t<select size="1" class="FT">
\t\t\t\t\t\t\t\t\t<option value="include" selected="">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_include'] # u"$tstrings['at_filter_include']" on line 175, col 46
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_include']")) # from line 175, col 46.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="exclude">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_exclude'] # u"$tstrings['at_filter_exclude']" on line 176, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_exclude']")) # from line 176, col 34.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t<td class="nopadding">
\t\t\t\t\t\t\t\t\t<select size="1" class="FM">
\t\t\t\t\t\t\t\t\t<option value="title" selected="">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_title'] # u"$tstrings['at_filter_title']" on line 181, col 44
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_title']")) # from line 181, col 44.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="shortdescription">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_short_desc'] # u"$tstrings['at_filter_short_desc']" on line 182, col 43
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_short_desc']")) # from line 182, col 43.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="description">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_desc'] # u"$tstrings['at_filter_desc']" on line 183, col 38
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_desc']")) # from line 183, col 38.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="dayofweek">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_day'] # u"$tstrings['at_filter_day']" on line 184, col 36
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_day']")) # from line 184, col 36.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t<td class="nopadding">
\t\t\t\t\t\t\t\t\t<input type="text" class="FI" size="20" value="" style="display: block;">
\t\t\t\t\t\t\t\t\t<select size="1" class="FS" style="display: none;">
\t\t\t\t\t\t\t\t\t<option value="0" selected="">''')
        _v = VFFSL(SL,"tstrings",True)['monday'] # u"$tstrings['monday']" on line 190, col 40
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['monday']")) # from line 190, col 40.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="1">''')
        _v = VFFSL(SL,"tstrings",True)['tuesday'] # u"$tstrings['tuesday']" on line 191, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['tuesday']")) # from line 191, col 28.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="2">''')
        _v = VFFSL(SL,"tstrings",True)['wednesday'] # u"$tstrings['wednesday']" on line 192, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['wednesday']")) # from line 192, col 28.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="3">''')
        _v = VFFSL(SL,"tstrings",True)['thursday'] # u"$tstrings['thursday']" on line 193, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['thursday']")) # from line 193, col 28.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="4">''')
        _v = VFFSL(SL,"tstrings",True)['friday'] # u"$tstrings['friday']" on line 194, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['friday']")) # from line 194, col 28.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="5">''')
        _v = VFFSL(SL,"tstrings",True)['saturday'] # u"$tstrings['saturday']" on line 195, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['saturday']")) # from line 195, col 28.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="6">''')
        _v = VFFSL(SL,"tstrings",True)['sunday'] # u"$tstrings['sunday']" on line 196, col 28
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['sunday']")) # from line 196, col 28.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="weekend">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_weekend'] # u"$tstrings['at_filter_weekend']" on line 197, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_weekend']")) # from line 197, col 34.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="weekday">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_weekday'] # u"$tstrings['at_filter_weekday']" on line 198, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_weekday']")) # from line 198, col 34.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t<td><input type="checkbox" id="RemoveFilterID" value="" class="FR checkbox"> ''')
        _v = VFFSL(SL,"tstrings",True)['at_del'] # u"$tstrings['at_del']" on line 201, col 87
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_del']")) # from line 201, col 87.
        write(u'''</td>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t</div>
''')
        if VFFSL(SL,"hasVPS",True) == 1: # generated from line 206, col 9
            write(u'''\t\t\t\t\t\t\t\t<br><label for="vps">''')
            _v = VFFSL(SL,"tstrings",True)['vps'] # u"$tstrings['vps']" on line 207, col 30
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['vps']")) # from line 207, col 30.
            write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="vps" value="">
\t\t\t\t\t\t\t\t<span id="vpsE">
\t\t\t\t\t\t\t\t<label for="vpssm">''')
            _v = VFFSL(SL,"tstrings",True)['safe_mode'] # u"$tstrings['safe_mode']" on line 210, col 28
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['safe_mode']")) # from line 210, col 28.
            write(u''':</label>
\t\t\t\t\t\t\t\t\t<input type="checkbox" id="vpssm" value="">
\t\t\t\t\t\t\t\t</span>
''')
        if VFFSL(SL,"hasSeriesPlugin",True) == 1: # generated from line 214, col 9
            write(u'''\t\t\t\t\t\t\t\t<br><label for="seriesplugin">''')
            _v = VFFSL(SL,"tstrings",True)['at_label_series'] # u"$tstrings['at_label_series']" on line 215, col 39
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_label_series']")) # from line 215, col 39.
            write(u''':</label>
\t\t\t\t\t\t\t\t<input type="checkbox" id="series_labeling" value="">
''')
        write(u'''\t\t\t\t\t\t\t</fieldset>
\t\t\t\t\t\t</form>
\t\t\t\t\t<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
\t\t\t\t\t\t<div id="actions">
\t\t\t\t\t\t<button id="atbutton0">''')
        _v = VFFSL(SL,"tstrings",True)['add'] # u"$tstrings['add']" on line 222, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['add']")) # from line 222, col 30.
        write(u'''</button>
\t\t\t\t\t\t<button id="atbutton1">''')
        _v = VFFSL(SL,"tstrings",True)['at_del'] # u"$tstrings['at_del']" on line 223, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_del']")) # from line 223, col 30.
        write(u'''</button>
\t\t\t\t\t\t<button id="atbutton2">''')
        _v = VFFSL(SL,"tstrings",True)['reload'] # u"$tstrings['reload']" on line 224, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['reload']")) # from line 224, col 30.
        write(u'''</button>
\t\t\t\t\t\t<button id="atbutton3">''')
        _v = VFFSL(SL,"tstrings",True)['at_save'] # u"$tstrings['at_save']" on line 225, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_save']")) # from line 225, col 30.
        write(u'''</button>
\t\t\t\t\t\t<button id="atbutton4">''')
        _v = VFFSL(SL,"tstrings",True)['at_process'] # u"$tstrings['at_process']" on line 226, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_process']")) # from line 226, col 30.
        write(u'''</button>
\t\t\t\t\t\t<button id="atbutton5">''')
        _v = VFFSL(SL,"tstrings",True)['at_simulate'] # u"$tstrings['at_simulate']" on line 227, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_simulate']")) # from line 227, col 30.
        write(u'''</button>
\t\t\t\t\t\t<button id="atbutton6">Test</button>
\t\t\t\t\t\t<button id="atbutton7">''')
        _v = VFFSL(SL,"tstrings",True)['at_timers'] # u"$tstrings['at_timers']" on line 229, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timers']")) # from line 229, col 30.
        write(u'''</button>
\t\t\t\t\t\t<button id="atbutton8" data-title="''')
        _v = VFFSL(SL,"tstrings",True)['ats_auto_timer_settings'] # u"$tstrings['ats_auto_timer_settings']" on line 230, col 42
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_auto_timer_settings']")) # from line 230, col 42.
        write(u'''">''')
        _v = VFFSL(SL,"tstrings",True)['at_settings'] # u"$tstrings['at_settings']" on line 230, col 80
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_settings']")) # from line 230, col 80.
        write(u'''</button>
\t\t\t\t\t\t<button id="atbutton9">''')
        _v = VFFSL(SL,"tstrings",True)['export'] # u"$tstrings['export']" on line 231, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['export']")) # from line 231, col 30.
        write(u'''</button>
\t\t\t\t\t\t<button id="atbutton10">''')
        _v = VFFSL(SL,"tstrings",True)['import'] # u"$tstrings['import']" on line 232, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['import']")) # from line 232, col 31.
        write(u'''</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div id="statuscont" style="display:none">
\t\t\t\t\t<div id="statusbox" class="ui-state-error ui-corner-all" style="padding: 0 .7em;"> 
\t\t\t\t\t\t<p>
\t\t\t\t\t\t\t<span id="statusicon" class="ui-icon ui-icon-alert" style="margin-right: .3em;"></span>
\t\t\t\t\t\t\t<span id="statustext"></span>
\t\t\t\t\t\t</p>
\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t</div>
\t</div>
\t</div>
\t</div>
</div>
<div id="simdlg" style="display:none;">
<div style="font-size:smaller;">
<table id="simt" border="0" class="ui-widget" style="margin:3px;width:100%;">
<thead class="ui-widget-header">
<tr><th>State</th><th>''')
        _v = VFFSL(SL,"tstrings",True)['name'] # u"$tstrings['name']" on line 252, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['name']")) # from line 252, col 23.
        write(u'''</th><th>''')
        _v = VFFSL(SL,"tstrings",True)['title'] # u"$tstrings['title']" on line 252, col 49
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['title']")) # from line 252, col 49.
        write(u'''</th><th>''')
        _v = VFFSL(SL,"tstrings",True)['channel'] # u"$tstrings['channel']" on line 252, col 76
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['channel']")) # from line 252, col 76.
        write(u'''</th><th>''')
        _v = VFFSL(SL,"tstrings",True)['start'] # u"$tstrings['start']" on line 252, col 105
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['start']")) # from line 252, col 105.
        write(u'''</th><th>''')
        _v = VFFSL(SL,"tstrings",True)['end'] # u"$tstrings['end']" on line 252, col 132
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['end']")) # from line 252, col 132.
        write(u'''</th></tr>
</thead>
<tbody id=\'simtb\' class="ui-widget-content">
</tbody>
</table>
</div>
</div>

<div id="timerdlg" style="display:none;">
<div id="timerdlgcont">
</div>
<div>

<div id="atsettingdlg" style="display:none;">
<div id="atsettingdlgcont">
<form>
<fieldset>
<label for="ats_autopoll">''')
        _v = VFFSL(SL,"tstrings",True)['ats_autopoll'] # u"$tstrings['ats_autopoll']" on line 269, col 27
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_autopoll']")) # from line 269, col 27.
        write(u''':</label>
<input type="checkbox" id="ats_autopoll" value="" >
<label for="ats_interval">''')
        _v = VFFSL(SL,"tstrings",True)['ats_interval'] # u"$tstrings['ats_interval']" on line 271, col 27
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_interval']")) # from line 271, col 27.
        write(u''':</label>
<input type="text" size="5" id="ats_interval">
<label for="ats_maxdaysinfuture">''')
        _v = VFFSL(SL,"tstrings",True)['ats_maxdaysinfuture'] # u"$tstrings['ats_maxdaysinfuture']" on line 273, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_maxdaysinfuture']")) # from line 273, col 34.
        write(u''':</label>
<input type="text" size="5" id="ats_maxdaysinfuture">
<br><label for="ats_try_guessing">''')
        _v = VFFSL(SL,"tstrings",True)['ats_try_guessing'] # u"$tstrings['ats_try_guessing']" on line 275, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_try_guessing']")) # from line 275, col 35.
        write(u''':</label>
<input type="checkbox" id="ats_try_guessing" value="" >
<label for="ats_fastscan">''')
        _v = VFFSL(SL,"tstrings",True)['ats_fastscan'] # u"$tstrings['ats_fastscan']" on line 277, col 27
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_fastscan']")) # from line 277, col 27.
        write(u''':</label>
<input type="checkbox" id="ats_fastscan" value="" >
<label for="ats_show_in_extensionsmenu">''')
        _v = VFFSL(SL,"tstrings",True)['ats_show_in_extensionsmenu'] # u"$tstrings['ats_show_in_extensionsmenu']" on line 279, col 41
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_show_in_extensionsmenu']")) # from line 279, col 41.
        write(u''':</label>
<input type="checkbox" id="ats_show_in_extensionsmenu" value="" >
<br><label for="ats_disabled_on_conflict">''')
        _v = VFFSL(SL,"tstrings",True)['ats_disabled_on_conflict'] # u"$tstrings['ats_disabled_on_conflict']" on line 281, col 43
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_disabled_on_conflict']")) # from line 281, col 43.
        write(u''':</label>
<input type="checkbox" id="ats_disabled_on_conflict" value="" >
<label for="ats_addsimilar_on_conflict">''')
        _v = VFFSL(SL,"tstrings",True)['ats_addsimilar_on_conflict'] # u"$tstrings['ats_addsimilar_on_conflict']" on line 283, col 41
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_addsimilar_on_conflict']")) # from line 283, col 41.
        write(u''':</label>
<input type="checkbox" id="ats_addsimilar_on_conflict" value="" >
<br><label for="ats_notifconflict">''')
        _v = VFFSL(SL,"tstrings",True)['ats_notifconflict'] # u"$tstrings['ats_notifconflict']" on line 285, col 36
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_notifconflict']")) # from line 285, col 36.
        write(u''':</label>
<input type="checkbox" id="ats_notifconflict" value="" >
<label for="ats_notifsimilar">''')
        _v = VFFSL(SL,"tstrings",True)['ats_notifsimilar'] # u"$tstrings['ats_notifsimilar']" on line 287, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_notifsimilar']")) # from line 287, col 31.
        write(u''':</label>
<input type="checkbox" id="ats_notifsimilar" value="" >
<br><label for="ats_add_autotimer_to_tags">''')
        _v = VFFSL(SL,"tstrings",True)['ats_add_autotimer_to_tags'] # u"$tstrings['ats_add_autotimer_to_tags']" on line 289, col 44
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_add_autotimer_to_tags']")) # from line 289, col 44.
        write(u''':</label>
<input type="checkbox" id="ats_add_autotimer_to_tags" value="" >
<label for="ats_add_name_to_tags">''')
        _v = VFFSL(SL,"tstrings",True)['ats_add_name_to_tags'] # u"$tstrings['ats_add_name_to_tags']" on line 291, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_add_name_to_tags']")) # from line 291, col 35.
        write(u''':</label>
<input type="checkbox" id="ats_add_name_to_tags" value="" >

<br><label for="ats_refresh">''')
        _v = VFFSL(SL,"tstrings",True)['ats_refresh'] # u"$tstrings['ats_refresh']" on line 294, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_refresh']")) # from line 294, col 30.
        write(u''':</label>
<select id="ats_refresh" size="1">
\t<option value="none" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['ats_refresh_none'] # u"$tstrings['ats_refresh_none']" on line 296, col 43
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_refresh_none']")) # from line 296, col 43.
        write(u'''</option>
\t<option value="auto" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['ats_refresh_auto'] # u"$tstrings['ats_refresh_auto']" on line 297, col 43
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_refresh_auto']")) # from line 297, col 43.
        write(u'''</option>
\t<option value="all" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['ats_refresh_all'] # u"$tstrings['ats_refresh_all']" on line 298, col 42
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_refresh_all']")) # from line 298, col 42.
        write(u'''</option>
</select>

<label for="ats_editor">''')
        _v = VFFSL(SL,"tstrings",True)['ats_editor'] # u"$tstrings['ats_editor']" on line 301, col 25
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_editor']")) # from line 301, col 25.
        write(u'''</label>
<select id="ats_editor" size="1">
\t<option value="plain" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['ats_editor_plain'] # u"$tstrings['ats_editor_plain']" on line 303, col 44
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_editor_plain']")) # from line 303, col 44.
        write(u'''</option>
\t<option value="wizzard" selected="selected">''')
        _v = VFFSL(SL,"tstrings",True)['ats_editor_wizard'] # u"$tstrings['ats_editor_wizard']" on line 304, col 46
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_editor_wizard']")) # from line 304, col 46.
        write(u'''</option>
</select>

</fieldset>
</form>
</div>
<div>
<form id="uploadrestore" style="display:none" action"uploadrestore"="" method="post" enctype="multipart/form-data" encoding="multipart/form-data">
\t<input type="file" name="rfile" id="rfile">
</form>
<script type="text/javascript" src="/js/at.min.js?v2.11"></script>
<script type="text/javascript">
''')
        if VFFSL(SL,"showiptvchannelsinselection",True): # generated from line 316, col 1
            write(u'''var noiptv=false;
''')
        else: # generated from line 318, col 1
            write(u'''var noiptv=true;
''')
        write(u'''$(function() { InitPage(noiptv);});
</script>
<link rel="stylesheet" type="text/css" href="/css/chosen.min.css" />
''')
        _filter = self._CHEETAH__currentFilter = _orig_filter_85577598
        
        ########################################
        ## END - generated method body
        
        return _dummyTrans and trans.response().getvalue() or ""
        
    ##################################################
    ## CHEETAH GENERATED ATTRIBUTES


    _CHEETAH__instanceInitialized = False

    _CHEETAH_version = __CHEETAH_version__

    _CHEETAH_versionTuple = __CHEETAH_versionTuple__

    _CHEETAH_genTime = __CHEETAH_genTime__

    _CHEETAH_genTimestamp = __CHEETAH_genTimestamp__

    _CHEETAH_src = __CHEETAH_src__

    _CHEETAH_srcLastModified = __CHEETAH_srcLastModified__

    _mainCheetahMethod_for_at= 'respond'

## END CLASS DEFINITION

if not hasattr(at, '_initCheetahAttributes'):
    templateAPIClass = getattr(at, '_CHEETAH_templateClass', Template)
    templateAPIClass._addCheetahPlumbingCodeToClass(at)


# CHEETAH was developed by Tavis Rudd and Mike Orr
# with code, advice and input from many other volunteers.
# For more information visit http://www.CheetahTemplate.org/

##################################################
## if run from command line:
if __name__ == '__main__':
    from Cheetah.TemplateCmdLineIface import CmdLineIface
    CmdLineIface(templateObj=at()).run()


