#import sickbeard #import datetime #import locale #import operator #from sickbeard.common import * #from sickbeard.sbdatetime import * #from sickbeard import config #from sickbeard import metadata #from sickbeard.metadata.generic import GenericMetadata #from sickbeard.helpers import anon_url #from sickbeard.logger import reverseNames as file_logging_presets #from sickbeard.helpers import maybe_plural <% def sg_var(varname, default=False): return getattr(sickbeard, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickbeard, varname, default) %>#slurp# ## #set global $title = 'Config - General' #set global $header = 'General Configuration' #set global $sbPath = '../..' #set global $topmenu = 'config' ## #import os.path #include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl') #if $varExists('header')