diff options
Diffstat (limited to 'root/template')
-rw-r--r-- | root/template/footer | 4 | ||||
-rw-r--r-- | root/template/header | 22 | ||||
-rw-r--r-- | root/template/html | 25 | ||||
-rw-r--r-- | root/template/layout | 57 |
4 files changed, 51 insertions, 57 deletions
diff --git a/root/template/footer b/root/template/footer index 78203d5..0e1dc01 100644 --- a/root/template/footer +++ b/root/template/footer @@ -1,3 +1 @@ -<!-- BEGIN site/footer --> -<!-- div id="copyright">© [% c.config.organisation %] 2010</div --> -<!-- END site/footer --> +<!-- div id="copyright">© [% c.config.organisation %] 2010</div -->
\ No newline at end of file diff --git a/root/template/header b/root/template/header index a80c079..4812ea7 100644 --- a/root/template/header +++ b/root/template/header @@ -1,16 +1,14 @@ -<!-- BEGIN template/header --> <div class="masthead"> -<h1>[% c.config.apptitle %]</h1> + <h1>[% c.config.apptitle %]</h1> </div> <div class="hnav"> -<!--div class="hnav" --> -<ul class="hnav"> -[% FOREACH page IN pages %] -<li><a href="[% c.uri_for(page.page) %]">[% page.title %]</a></li> -[% END %] -[% IF c.user.username %] -<li>[ <a href="[% c.uri_for("/user") %]">[% c.user.username %]</a> ]<a href="/user/logout">[% l('Log out') %]</a></li> -[% END %] -</ul> + <!--div class="hnav" --> + <ul class="hnav"> + [% FOREACH page IN pages %] + <li><a href="[% c.uri_for(page.page) %]">[% page.title %]</a></li> + [% END %] + [% IF c.user.username %] + <li>[ <a href="[% c.uri_for("/user") %]">[% c.user.username %]</a> ]<a href="/user/logout">[% l('Log out') %]</a></li> + [% END %] + </ul> </div> -<!-- END template/header --> diff --git a/root/template/html b/root/template/html index c23fcfb..d28ca35 100644 --- a/root/template/html +++ b/root/template/html @@ -1,13 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> - <head> - <title>[% template.title or site.title %]</title> - <link rel="Stylesheet" href="/ttsite.css"> - <!-- style type="text/css" --> - <!--% PROCESS ttsite.css %--> - <!-- /style --> - </head> - <body> +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html> +<html lang="en" dir="ltr"> +<head> + <meta charset="utf-8" /> + <title>[% template.title or site.title %]</title> + <meta content="description" value="" /> + <meta content="robots" value="index,nofollow" /> + <link rel="stylesheet" href="/ttsite.css" /> +</head> +<body> [% content %] - </body> -</html> +</body> +</html>
\ No newline at end of file diff --git a/root/template/layout b/root/template/layout index 53d0202..3d7bc10 100644 --- a/root/template/layout +++ b/root/template/layout @@ -1,40 +1,37 @@ -<!-- BEGIN template/header --> <div id="header">[% PROCESS template/header %]</div> -<!-- END template/header --> <div id="outerColumnContainer"> - <div id="leftColumn"> + <div id="leftColumn"> <div class="inside"> - <div class="vnav"> - <ul> - [% FOREACH subpage IN subpages %] - <li><a href="[% c.uri_for(subpage.page) %]">[% l(subpage.title) %]</a></li> - [% END %] - </ul> - </div> + <div class="vnav"> + <ul> + [% FOREACH subpage IN subpages %] + <li><a href="[% c.uri_for(subpage.page) %]">[% l(subpage.title) %]</a></li> + [% END %] + </ul> + </div> </div> - </div> + </div> - <div id="innerColumnContainer"> - <!-- div id="SOWrap" --> - <div id="middleColumn"> - <div class="inside"> - [% IF errors %] - <span class="error"> - [% FOREACH error IN errors %] - [% error %]<br/> - [% END %] - </span> - [% END %] - <div id="content"> - [% content %] - </div> - </div> - <div class="clear"></div> + <div id="innerColumnContainer"> + <!-- div id="SOWrap" --> + <div id="middleColumn"> + <div class="inside"> + [% IF errors %] + <span class="error"> + [% FOREACH error IN errors %] + [% error %]<br/> + [% END %] + </span> + [% END %] + <div id="content"> + [% content %] + </div> + </div> + <div class="clear"></div> </div> <div class="clear"></div> - </div> - <!-- /div --> - </div> + </div> </div> + <!-- div id="footer">[% PROCESS template/footer %]</div --> |