[prev] [thread] [next] [lurker] [Date index for 2005/02/16]
Author: simon
Date: 2005-02-16 12:24:04 +0000 (Wed, 16 Feb 2005)
New Revision: 1895
Modified:
trunk/buscador/templates/custom/header
trunk/buscador/templates/custom/pager
trunk/buscador/templates/macros
trunk/buscador/templates/mail/recent
trunk/buscador/templates/mail/view
trunk/buscador/templates/searchbox
Log:
XHTML compliancy
Modified: trunk/buscador/templates/custom/header
===================================================================
--- trunk/buscador/templates/custom/header 2005-02-16 09:34:48 UTC (rev 1894)
+++ trunk/buscador/templates/custom/header 2005-02-16 12:24:04 UTC (rev 1895)
@@ -7,5 +7,5 @@
<link rel="stylesheet" title="myStyle" href="[% config.img_base %]/buscador.css" type="text/css" />
</head>
<body>
-<div class="logo"><a href="[% base %]"><img src="[% config.img_base %]/buscador.gif" border="0" width="216" height="78" alt="Buscador" /></a></div>
+<div class="logo"><a href="[% base %]"><img src="[% config.img_base | replace('/$') %]/buscador.gif" style="border: 0;" width="216" height="78" alt="Buscador" /></a></div>
<div class="content">
Modified: trunk/buscador/templates/custom/pager
===================================================================
--- trunk/buscador/templates/custom/pager 2005-02-16 09:34:48 UTC (rev 1894)
+++ trunk/buscador/templates/custom/pager 2005-02-16 12:24:04 UTC (rev 1895)
@@ -1,5 +1,5 @@
[% IF pager AND pager.first_page != pager.last_page; %]
-<p align="center">Pages:
+<p style="text-align: center;">Pages:
[%
SET begin_page = pager.current_page - 10;
IF begin_page < 1;
Modified: trunk/buscador/templates/macros
===================================================================
--- trunk/buscador/templates/macros 2005-02-16 09:34:48 UTC (rev 1894)
+++ trunk/buscador/templates/macros 2005-02-16 12:24:04 UTC (rev 1895)
@@ -7,21 +7,23 @@
[% END; %]
[% MACRO make_atom(url) BLOCK; %]
- <div class="atom"><a href="[% base | remove('/$') %]/[% url | remove ('^/') %]"><img src="[% config.img_base %]/atompixel.png" border="0" width="80" height="15" /></a></div>
+ <div class="atom"><a href="[% base | remove('/$') %]/[% url | remove ('^/') %]"><img src="[% config.img_base | replace('/$')%]/atompixel.png" style="border: 0;" width="80" height="15" alt="atom feed" /></a></div>
[% END %]
[% MACRO show_lists(mail) BLOCK; %]
+ [% IF mail.lists %]
<span class="lists">
[% FOR list = mail.lists %]
<a href="[% base | remove('/$') %]/list/view/[% list.id %]">[% list %]</a>
[% ", " UNLESS mail.lists.last == list %]
[% END %]
</span>
+ [% END %]
[% END; %]
[% MACRO show_original(mail) BLOCK; %]
<blockquote>
- [% mail.original | html %]
+ <p>[% mail.original | html %]</p>
</blockquote>
[% END; %]
@@ -35,17 +37,18 @@
<br />
[% show_lists(mail); %]
<blockquote>
- [% mail.contextualize_result(terms) %]
+ <p>[% mail.contextualize_result(terms) %]</p>
</blockquote>
[% END %]
[% MACRO summary(mail, date) BLOCK; %]
-[% summary_link(mail) %]
+<p>[% summary_link(mail) %]
[% IF date %]
(<a href="[% base | remove('/$') %]/date/list/[% mail.date.strftime("%Y/%m/%d/") %]">[% mail.date.ymd %]</a>)
[% END %]
<br />
[% show_lists(mail) %]
+</p>
[% show_original(mail) %]
[% END %]
Modified: trunk/buscador/templates/mail/recent
===================================================================
--- trunk/buscador/templates/mail/recent 2005-02-16 09:34:48 UTC (rev 1894)
+++ trunk/buscador/templates/mail/recent 2005-02-16 12:24:04 UTC (rev 1895)
@@ -11,9 +11,7 @@
<h3>[% mailday %]</h3>
[% END %]
[% previous = mailday %]
-<p>
[% summary(mail); %]
-</p>
[% END %]
Modified: trunk/buscador/templates/mail/view
===================================================================
--- trunk/buscador/templates/mail/view 2005-02-16 09:34:48 UTC (rev 1894)
+++ trunk/buscador/templates/mail/view 2005-02-16 12:24:04 UTC (rev 1895)
@@ -31,3 +31,5 @@
<pre> [% mail.format_body %]
</pre>
</div>
+
+[% INCLUDE footer %]
Modified: trunk/buscador/templates/searchbox
===================================================================
--- trunk/buscador/templates/searchbox 2005-02-16 09:34:48 UTC (rev 1894)
+++ trunk/buscador/templates/searchbox 2005-02-16 12:24:04 UTC (rev 1895)
@@ -1,7 +1,9 @@
<div class="search">
<form action="[% base | remove( '/$' ) %]/mail/search/">
+<p>
<input name="terms" value="[% request.query.terms %]" />
<input type="submit" value="Search!" />
+</p>
</form>
[% IF hint %]
<div class="searchhints"> Did you know... [% hint %]</div>
Generated at 13:00 on 16 Feb 2005 by mariachi 0.52