lib/helpers.py
branchsites
changeset 184 a3d9aa76790d
parent 183 8c8d082c4657
equal deleted inserted replaced
183:8c8d082c4657 184:a3d9aa76790d
    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     """