#import sickbeard #import urllib #slurp SickGear - BRANCH:[$sickbeard.BRANCH] - $title #if $sickbeard.FUZZY_DATING #end if #set $tab = 4 #set $body_attr = '' #try #set $body_attr += ' id="%s"' % $page_body_attr #except #pass #end try #if $varExists('submenu') #end if ## #if $sickbeard.NEWEST_VERSION_STRING #end if ## #set $items = [] #try #set void = $items.append($topmenu) #except (NameError, NotFound) #pass #end try #try #set void = $items.append($layout) #except (NameError, NotFound) #pass #end try #set $page_class = ('', ' class="%s"' % '_'.join($items).lower().replace(' ', '-').replace('_', '-'))[0 < len($items)]