#import sickbeard #import lib.adba as adba #from sickbeard import (blackandwhitelist, common, exceptions, helpers, scene_exceptions) #from sickbeard.helpers import anon_url <% 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 = 'Edit ' + $show.name #set global $header = $show.name #set global $sbPath = '..' #set global $topmenu = 'home' #set $css = $getVar('css', 'reg') #set $has_art = $getVar('has_art', None) #set $restart = 'Restart SickGear for new features on this page' #set $show_message = (None, $restart)[None is $has_art] #set global $page_body_attr = 'edit-show" class="' + $css ## #import os.path #from urllib import quote_plus #include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl') #if $varExists('header')