sites/www.qmsk.net/templates/layout.tmpl
branchsites
changeset 42 5a72c00c4ae4
parent 32 be954df4f0e8
--- a/sites/www.qmsk.net/templates/layout.tmpl	Sun Feb 08 00:29:36 2009 +0200
+++ b/sites/www.qmsk.net/templates/layout.tmpl	Sun Feb 08 02:29:23 2009 +0200
@@ -4,7 +4,7 @@
 <ul>
 % for pi in items :
     <li>
-        <a href="${site_page_url}/${pi.url}"${' class="selected-page"' if pi == open_page else ''}>${pi.title} ${'&raquo;' if pi.children and pi.parent else ''}</a>
+        <a href="${req.page_prefix}/${pi.url}"${' class="selected-page"' if pi == open_page else ''}>${pi.title} ${'&raquo;' if pi.children and pi.parent else ''}</a>
     % if pi in ancestry and pi.children and pi.parent :
         ${render_menu(page, pi, pi.children, ancestry)}
     % endif
@@ -16,11 +16,11 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     <head>
         <title>qmsk.net ${' :: ' + h.breadcrumb(menu.ancestry, links=False) if menu.ancestry else ''}</title>
-        <link rel="Stylesheet" type="text/css" href="${site_root_url}/static/style.css" />
+        <link rel="Stylesheet" type="text/css" href="${req.site_root}/static/style.css" />
     </head>
     <body>
             <div id="header">
-                <a href="${site_page_url}/">QMSK.NET</a>
+                <a href="${req.page_prefix}/">QMSK.NET</a>
             </div>
             
             <div id="container">
@@ -48,7 +48,7 @@
                 </div>
                 
                 <div id="footer-center">
-                    Validated <a href="http://validator.w3.org/check?uri=www.qmsk.net">XHTML 1.0 Strict</a> &amp; <a href="http://jigsaw.w3.org/css-validator/validator?uri=www.qmsk.net">CSS 2.1</a>
+                    ${h.validation_notice(req.site_host)}
                 </div>
             </div>
     </body>