Esempio n. 1
0
def header(title, links=[]):

  print wgo.xhtml_init()
  
  print xhtml.title(title)
  print wgo.look_feel()

  print xhtml.link({"rel" : "stylesheet", "href" : "/style/extended.css", "type" : "text/css", "media" : "screen"})
  print xhtml.link({"rel" : "stylesheet", "href" : "/style/wgo-admin.css", "type" : "text/css", "media" : "screen"})

  for link in links:
    print xhtml.link(link)
    pass

  print wgo.page_init('admin')

  return (True)
Esempio n. 2
0
def header(format="page", title="", links=[]):

  print xhtml_init()
  
  print xhtml.title(title)
  print look_feel()

  print xhtml.link({"rel" : "stylesheet",
                    "href" : "/style/extended.css",
                    "type" : "text/css",
                    "title" : title})

  for link in links:
    print xhtml.link(link)
    pass
  
  print page_init(format)

  return (True)