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