lib/helpers.py
branchsites
changeset 43 fc11c4e86a82
parent 42 5a72c00c4ae4
equal deleted inserted replaced
42:5a72c00c4ae4 43:fc11c4e86a82
    23 def validation_notice (site_host) :
    23 def validation_notice (site_host) :
    24     """
    24     """
    25         Returns a short "Validated XHTML & CSS" link text for the given site hostname
    25         Returns a short "Validated XHTML & CSS" link text for the given site hostname
    26     """
    26     """
    27 
    27 
    28     return 'Validated <a href="http://validator.w3.org/check?uri=%(host)s">XHTML 1.0 Strict</a> &amp; <a href="http://jigsaw.w3.org/css-validator/validator?uri=%(host)s">CSS 2.1</a>' % dict(
    28     return 'Validated <a href="http://validator.w3.org/check?uri=http://%(host)s">XHTML 1.0 Strict</a> &amp; <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://%(host)s">CSS 2.1</a>' % dict(
    29         host = site_host
    29         host = site_host
    30     )
    30     )
    31 
    31 
    32 def breadcrumb (trail, links=True) :
    32 def breadcrumb (trail, links=True) :
    33     """
    33     """