def police_rheader(r, tabs=[]):
 rheader = None
 if (r.representation == 'html'):
  if (r.name == 'station'):
   station = r.record
   if station:
    tabs = [(T('Station Details'), None), (T('Staff'), 'human_resource'), (T('Beats'), 'location')]
    rheader_tabs = s3_rheader_tabs(r, tabs)
    rheader = DIV(rheader_tabs)
 return rheader

def police_rheader ( r , tabs = [ ] ) : rheader = None if ( r . representation == 'html' ) : if ( r . name == 'station' ) : station = r . record if station : tabs = [ ( T ( 'Station Details' ) , None ) , ( T ( 'Staff' ) , 'human_resource' ) , ( T ( 'Beats' ) , 'location' ) ] rheader_tabs = s3_rheader_tabs ( r , tabs ) rheader = DIV ( rheader_tabs ) return rheader
resource headers for component views .