old gnuviechadmin web interface code that is not developed anymore
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
440 B

"""Helper functions
Consists of functions to typically be used within templates, but also
available to Controllers. This module is available to both as 'h'.
from webhelpers import *
def cssclasses(menuitem):
return " ".join(cssclassnames)
def menulink(menuitem):
return link_to(menuitem.title, url(controller=menuitem.controller,