diff -r 9585441a4bfb -r 5a72c00c4ae4 lib/helpers.py --- a/lib/helpers.py Sun Feb 08 00:29:36 2009 +0200 +++ b/lib/helpers.py Sun Feb 08 02:29:23 2009 +0200 @@ -20,6 +20,15 @@ return time.strftime("%Y") +def validation_notice (site_host) : + """ + Returns a short "Validated XHTML & CSS" link text for the given site hostname + """ + + return 'Validated XHTML 1.0 Strict & CSS 2.1' % dict( + host = site_host + ) + def breadcrumb (trail, links=True) : """ Returns a nicely formatted breadcrumb tail, optinally with links