[prev] [thread] [next] [lurker] [Date index for 2005/02/16]
Author: simon
Date: 2005-02-16 09:34:48 +0000 (Wed, 16 Feb 2005)
New Revision: 1894
Modified:
trunk/buscador/templates/address/view
trunk/buscador/templates/custom/footer
trunk/buscador/templates/custom/header
trunk/buscador/templates/custom/pager
trunk/buscador/templates/date/list
trunk/buscador/templates/date/month
trunk/buscador/templates/date/year
trunk/buscador/templates/entity/view
trunk/buscador/templates/list/list
trunk/buscador/templates/list/view
trunk/buscador/templates/macros
trunk/buscador/templates/mail/list
trunk/buscador/templates/mail/lurker
trunk/buscador/templates/mail/popular
trunk/buscador/templates/mail/recent
trunk/buscador/templates/mail/search
trunk/buscador/templates/mail/thread
trunk/buscador/templates/mail/view
trunk/buscador/templates/mail/view_macros
trunk/buscador/templates/name/view
trunk/buscador/templates/searchbox
Log:
Lowercase everything
Modified: trunk/buscador/templates/address/view
===================================================================
--- trunk/buscador/templates/address/view 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/address/view 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,7 +1,7 @@
[% PROCESS header %]
[% PROCESS macros %]
- <H1> [% address.address |html %] </h1>
+ <h1>[% address.address | html %]</h1>
[% INCLUDE searchbox %]
[% mails_by_addressing(address) %]
Modified: trunk/buscador/templates/custom/footer
===================================================================
--- trunk/buscador/templates/custom/footer 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/custom/footer 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,8 +1,8 @@
-</DIV>
+</div>
[% IF pager %]
-<DIV class="footer">
+<div class="footer">
[% INCLUDE pager %]
-</DIV>
+</div>
[% END %]
</body>
</html>
Modified: trunk/buscador/templates/custom/header
===================================================================
--- trunk/buscador/templates/custom/header 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/custom/header 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,12 +1,11 @@
-<HTML>
- <HEAD>
- <title> [% (title || "Buscador") | html %] </title>
-
-<META http-equiv=Content-Type content="text/html; charset=utf-8">
-
-<LINK title=myStyle href="[% config.img_base %]/buscador.css" type=text/css rel=stylesheet>
-
-</HEAD>
-<BODY>
-<DIV class="logo"><a href="[% base %]"><img src="[% config.img_base %]/buscador.gif" border="0" width=216 height=78></a></DIV>
-<DIV class="content">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head id="top">
+ <title>[% (title || "Buscador") | html %]</title>
+ <meta http-equiv="Content-Language" content="en" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <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="content">
Modified: trunk/buscador/templates/custom/pager
===================================================================
--- trunk/buscador/templates/custom/pager 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/custom/pager 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,5 +1,5 @@
[% IF pager AND pager.first_page != pager.last_page; %]
-<P ALIGN="center">Pages:
+<p align="center">Pages:
[%
SET begin_page = pager.current_page - 10;
IF begin_page < 1;
@@ -15,8 +15,8 @@
"["; num; "] ";
ELSE;
%]
-<A HREF="[%base|remove('/$')%]/[%request.path |remove('^/')%]?page=[%num%]
-[%- IF request.query.terms; "&terms="; request.query.terms | uri; END; -%]">[[%num%]]</A>
+<a href="[% base | remove('/$') %]/[% request.path | remove('^/') %]?page=[% num %]
+[%- IF request.query.terms; "&terms="; request.query.terms | uri; END; -%]">[[% num %]]</a>
[%
END;
END;
@@ -24,5 +24,6 @@
[% IF end_page < pager.last_page %]
...
[% END %]
-</P>
+</p>
[% END %]
+
Modified: trunk/buscador/templates/date/list
===================================================================
--- trunk/buscador/templates/date/list 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/date/list 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,14 +1,14 @@
[% SET title = date.strftime("%Y-%m-%d") %]
[% INCLUDE header title="Mails for $title" %]
[% PROCESS macros %]
-<h1> Mails for [% title %] </h1>
+<h1>Mails for [% title %]</h1>
[% INCLUDE searchbox %]
[% FOR mail = mails %]
-<P>
+<p>
[% summary(mail); %]
-</P>
+</p>
[% END %]
[% INCLUDE footer %]
Modified: trunk/buscador/templates/date/month
===================================================================
--- trunk/buscador/templates/date/month 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/date/month 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,12 +1,12 @@
[% SET title = date.strftime("%B, %Y") %]
[% INCLUDE header title="Mails for the month of $title" %]
[% PROCESS macros %]
-<h1> Mails for the month of [% title %] </h1>
+<h1>Mails for the month of [% title %]</h1>
[% INCLUDE searchbox %]
-[% SET ym = date.strftime("%Y/%m") %]
-[% SET url = "${base}/date/list/$ym" %]
+[% SET ym = date.strftime("%Y/%m") %]
+[% SET url = "${base}/date/list/$ym" %]
[% MACRO print_day(day) BLOCK %]
@@ -15,7 +15,7 @@
[% MACRO cell(date, event) BLOCK %]
<td class="[% IF event; 'event'; ELSE; 'noevent'; END %]" width="83" height="83" align="center">
-[% IF date; "<a href='$url/$date'>"; ordinate(date); "</a>"; IF event; "<br>($event)"; END; ELSE; ' '; END %]
+[% IF date; "<a href='$url/$date'>"; ordinate(date); "</a>"; IF event; "<br />($event)"; END; ELSE; ' '; END %]
</td>
[% END %]
Modified: trunk/buscador/templates/date/year
===================================================================
--- trunk/buscador/templates/date/year 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/date/year 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,6 +1,6 @@
[% INCLUDE header title="Mails for $year" %]
[% PROCESS macros %]
-<h1> Mails for [% year %] </h1>
+<h1>Mails for [% year %]</h1>
[% INCLUDE searchbox %]
@@ -19,7 +19,7 @@
</p>
[% count = 0 %]
-<table border="0" class="calendar" cellpadding="1" cellspacing="2">
+<table border="0" class="calendar" cellpadding="1" cellspacing="2">
[% FOR month = months %]
<tr height="40"><td width="166" class="[% month ? 'event' : 'noevent' %]" align="center">
<a href="[% base | remove('/$') %]/date/list/[% year %]/[% count + 1 | format("%.2d") %]">[% mapping.$count %]</a>
Modified: trunk/buscador/templates/entity/view
===================================================================
--- trunk/buscador/templates/entity/view 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/entity/view 2005-02-16 09:34:48 UTC (rev 1894)
@@ -3,33 +3,30 @@
[% SET names = entity.names.unique %]
[% IF names.length > 1 %]
- <H1> [% entity.most_common_name.name |html %] </h1>
+ <h1>[% entity.most_common_name.name |html %]</h1>
[% INCLUDE searchbox %]
- <DIV class="aka">
- <P>Also known as:</P>
- <UL>
+ <div class="aka">
+ <p>Also known as:</p>
+ <ul>
[% FOR my_name = names %]
- <LI> <A HREF="[%base|remove('/$')%]/name/view/[% my_name.id %]">
- [% my_name.name | html %]
- </A></LI>
+ <li><a href="[%base|remove('/$')%]/name/view/[% my_name.id %]">[% my_name.name | html %]</a></li>
[% END %]
- </DIV>
+ </ul>
+ </div>
[% ELSE %]
- <H1> [% names.first.name |html%] </h1>
+ <h1>[% names.first.name |html%]</h1>
[% INCLUDE searchbox %]
-<P>See mails mentioning <A HREF="[%base|remove('/$')%]/name/view/[%
-names.first.id %]">[%names.first.name |html%]</A></P>
+<p>See mails mentioning <a href="[%base|remove('/$')%]/name/view/[% names.first.id %]">[%names.first.name |html%]</a></p>
[% END %]
-<P>Addresses</P>
-<UL>
+<p>Addresses</p>
+<ul>
[% FOR addr = entity.addresses.unique %]
-<LI> [% link_addr(addr) %]
+ <li>[% link_addr(addr) %]</li>
[% END %]
-</UL>
+</ul>
-
[% mails_by_addressing(entity) %]
[% make_atom("entity/atom/[% entity.id %]") %]
Modified: trunk/buscador/templates/list/list
===================================================================
--- trunk/buscador/templates/list/list 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/list/list 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,12 +1,10 @@
[% INCLUDE header %]
-<h1> Perl Mailing Lists </h1>
+<h1>Mailing Lists</h1>
[% PROCESS searchbox %]
[% FOR list = objects %]
-<h3> <A HREF="[%base | remove('/$')%]/list/view/[%list.id%]">
- [%list.name%]
- </A></h3>
-<P> List posting address: [%list.posting_address%] </P>
+<h3><a href="[%base | remove('/$')%]/list/view/[%list.id%]">[%list.name%]</a></h3>
+<p>List posting address: [%list.posting_address%]</p>
[% END %]
[% INCLUDE footer %]
Modified: trunk/buscador/templates/list/view
===================================================================
--- trunk/buscador/templates/list/view 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/list/view 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,27 +1,27 @@
[% INCLUDE header title = list.name %]
[% PROCESS macros %]
-<h1> [% list.name %] </h1>
+<h1>[% list.name %]</h1>
[% MACRO clean_name(name) BLOCK;
name | replace('\W+', '.');
END;
SET search_name = clean_name(list.name);
- SET hint = 'You can search for mails in this list by adding <I>+list:"' _ search_name _ '"</I> to your search terms';
+ SET hint = 'You can search for mails in this list by adding <i>+list:"' _ search_name _ '"</i> to your search terms';
INCLUDE searchbox;
%]
[% FOR mail = recent;
mailday = mail.date.ymd;
IF mail == recent.first or mailday != previous %]
- <h3> [% mailday %] </h3>
+ <h3>[% mailday %]</h3>
[% END %]
[% previous = mailday %]
-<P>
+<p>
[% summary_link(mail) %]
- <BLOCKQUOTE>
+ <blockquote>
[% mail.original |html %]
- </BLOCKQUOTE>
-</P>
+ </blockquote>
+</p>
[% END %]
[% make_atom("list/atom/[% list.id %]") %]
Modified: trunk/buscador/templates/macros
===================================================================
--- trunk/buscador/templates/macros 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/macros 2005-02-16 09:34:48 UTC (rev 1894)
@@ -3,73 +3,68 @@
[% MACRO from_entity(mail) BLOCK; mail.addressings("role", "From").list.first.entity; END; %]
[% MACRO link_addr(addr) BLOCK; %]
-<A
-HREF="[%base | remove('/$')%]/address/view/[%addr.id%]">[%addr.address%]</A>
+<a href="[% base | remove( '/$' ) %]/address/view/[% addr.id %]">[% addr.address %]</a>
[% 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 %]/atompixel.png" border="0" width="80" height="15" /></a></div>
[% END %]
[% MACRO show_lists(mail) BLOCK; %]
- <SPAN CLASS="lists">
+ <span class="lists">
[% FOR list = mail.lists %]
- <A HREF="[%base | remove('/$')%]/list/view/[%list.id%]">[%list%]</A>
+ <a href="[% base | remove('/$') %]/list/view/[% list.id %]">[% list %]</a>
[% ", " UNLESS mail.lists.last == list %]
[% END %]
- </SPAN>
+ </span>
[% END; %]
[% MACRO show_original(mail) BLOCK; %]
- <BLOCKQUOTE>
- [% mail.original |html %]
- </BLOCKQUOTE>
+ <blockquote>
+ [% mail.original | html %]
+ </blockquote>
[% END; %]
[% MACRO summary_link(mail) BLOCK; %]
- <A HREF="[%base | remove('/$') %]/mail/view/[%mail.id | uri | html%]">
- [% mail.subject |html %]
- </A>
- - <A
- HREF="[%base|remove('/$')%]/entity/view/[% from_entity(mail)%]"
- class="secondarylink">[% from_name(mail) %]</A>
+ <a href="[% base | remove('/$') %]/mail/view/[% mail.id | uri | html %]">[% mail.subject | html %]</a>
+ - <a href="[% base | remove('/$') %]/entity/view/[% from_entity(mail) %]" class="secondarylink">[% from_name(mail) %]</a>
[% END %]
[% MACRO search_result(mail,terms) BLOCK; %]
[% summary_link(mail); %]
- <BR>
+ <br />
[% show_lists(mail); %]
- <BLOCKQUOTE>
+ <blockquote>
[% mail.contextualize_result(terms) %]
- </BLOCKQUOTE>
+ </blockquote>
[% END %]
[% MACRO summary(mail, date) BLOCK; %]
[% summary_link(mail) %]
[% IF date %]
- (<a href="[% base | remove('/$') %]/date/list/[% mail.date.strftime("%Y/%m/%d/") %]">[%mail.date.ymd%]</a>)
+ (<a href="[% base | remove('/$') %]/date/list/[% mail.date.strftime("%Y/%m/%d/") %]">[% mail.date.ymd %]</a>)
[% END %]
- <BR>
- [%show_lists(mail)%]
- [%show_original(mail)%]
+ <br />
+ [% show_lists(mail) %]
+ [% show_original(mail) %]
[% END %]
[% MACRO mails_by_addressing(thing) BLOCK; %]
-<TABLE class="view">
+<table class="view">
[% FOR addressing = sorted_addressings %]
-<TR>
-<TD class="field">
+<tr>
+<td class="field">
[% addressing.role %]
-</TD>
-<TD>
-[% addressing.name.name | html %] ([% addressing.address.address | html %])
-</TD>
-</TR>
-<TD> </TD><TD>
+</td>
+<td>
+[% addressing.name.name %] ([% addressing.address.address %])
+</td>
+</tr>
+<td> </td><td>
[% summary(addressing.mail,1) %]
-</TD>
-</TR>
+</td>
+</tr>
[% END %]
-</TABLE>
+</table>
[% END %]
Modified: trunk/buscador/templates/mail/list
===================================================================
--- trunk/buscador/templates/mail/list 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/mail/list 2005-02-16 09:34:48 UTC (rev 1894)
@@ -2,11 +2,11 @@
[% PROCESS macros %]
[% FOR mail = mails %]
-<P>
+<p>
[% summary_link(mail) %]
- <BLOCKQUOTE>
+ <blockquote>
[% mail.original %]
- </BLOCKQUOTE>
-</P>
+ </blockquote>
+</p>
[% END %]
[% INCLUDE pager %]
Modified: trunk/buscador/templates/mail/lurker
===================================================================
--- trunk/buscador/templates/mail/lurker 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/mail/lurker 2005-02-16 09:34:48 UTC (rev 1894)
@@ -2,16 +2,13 @@
[% PROCESS macros %]
[% PROCESS view_macros %]
-<h1> [% mail.subject | html %] </h1>
+<h1>[% mail.subject | html %]</h1>
[% INCLUDE searchbox %]
<div id="content">
-<P class="searchhints">Go back to <A
-HREF="[%base|remove('/$')%]/mail/thread/[%mail.id%]">normal
-view</A></P>
+<p class="searchhints">Go back to <a href="[%base|remove('/$')%]/mail/thread/[%mail.id%]">normal view</a></p>
-
[% mapping = { ' ' => 'blank',
'|' => 'vertical',
'-' => 'horizontal',
@@ -67,7 +64,5 @@
</div>
-
[% make_atom("mail/thread/atom/$mail.id") %]
-
[% INCLUDE footer %]
Modified: trunk/buscador/templates/mail/popular
===================================================================
--- trunk/buscador/templates/mail/popular 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/mail/popular 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,18 +1,16 @@
[% INCLUDE header title = "Most popular mails" %]
[% PROCESS macros %]
-<h1> Most popular mails </h1>
+<h1>Most popular mails</h1>
[% INCLUDE searchbox %]
-<P> <A HREF="[% base | remove('/$')%]/list/list"> View by mailing list
-</A> </P>
+<p><a href="[% base | remove('/$')%]/list/list"> View by mailing list</a></p>
[% FOR mail = mails %]
-<P>
+<p>
[% summary(mail); %]<br />
<em>Votes:</em> [% mail.votes.size %]<br/>
-</P>
+</p>
[% END %]
-
[% INCLUDE footer %]
Modified: trunk/buscador/templates/mail/recent
===================================================================
--- trunk/buscador/templates/mail/recent 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/mail/recent 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,23 +1,21 @@
[% INCLUDE header %]
[% PROCESS macros %]
-<h1> Recent mail </h1>
+<h1>Recent mail</h1>
[% INCLUDE searchbox %]
-<P> <A HREF="[% base | remove('/$')%]/list/list"> View by mailing list
-</A> </P>
+<p><a href="[% base | remove('/$')%]/list/list">View by mailing list</a></p>
[% FOR mail = mails;
mailday = mail.date.ymd;
IF mail == recent.first or mailday != previous %]
- <h3> [% mailday %] </h3>
+ <h3>[% mailday %]</h3>
[% END %]
[% previous = mailday %]
-<P>
+<p>
[% summary(mail); %]
-</P>
+</p>
[% END %]
[% make_atom("mail/atom") %]
-
[% INCLUDE footer %]
Modified: trunk/buscador/templates/mail/search
===================================================================
--- trunk/buscador/templates/mail/search 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/mail/search 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,10 +1,10 @@
[% INCLUDE header %]
[% PROCESS macros %]
-<h1> Search results </h1>
+<h1>Search results</h1>
[% INCLUDE searchbox %]
[% FOR mail = objects %]
-[% search_result(mail, request.query.terms) %] <BR>
+[% search_result(mail, request.query.terms) %] <br />
[% END %]
Modified: trunk/buscador/templates/mail/thread
===================================================================
--- trunk/buscador/templates/mail/thread 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/mail/thread 2005-02-16 09:34:48 UTC (rev 1894)
@@ -2,11 +2,9 @@
[%- PROCESS macros -%]
[%- PROCESS view_macros -%]
-<h1> [% mail.subject | html %]</h1>
+<h1>[% mail.subject | html %]</h1>
-<P class="searchhints">You can also view this thread in <A
-HREF="[%base|remove('/$')%]/mail/lurker/[%mail.id%]">chronological
-view</A></P>
+<p class="searchhints">You can also view this thread in <a href="[% base|remove('/$') %]/mail/lurker/[% mail.id %]">chronological view</a></p>
<ul class="threads">
[%- PROCESS thread_view -%]
@@ -14,5 +12,4 @@
</ul>
[% make_atom("mail/thread/atom/$mail.id") %]
-
[% INCLUDE footer %]
Modified: trunk/buscador/templates/mail/view
===================================================================
--- trunk/buscador/templates/mail/view 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/mail/view 2005-02-16 09:34:48 UTC (rev 1894)
@@ -2,33 +2,32 @@
[% PROCESS macros %]
[% PROCESS view_macros %]
-<h1> [% mail.subject |html %] </h1>
+<h1>[% mail.subject |html %]</h1>
[% INCLUDE searchbox %]
<div id="container">
<div id="sidebar-a">
<div id="innerbar">
-<P align="center" class="searchhints">
-<A HREF="[%base | remove('/$')%]/mail/thread/[%mail.id%]">View whole
-thread</A></P><HR>
+<p align="center" class="searchhints">
+<a href="[%base | remove('/$')%]/mail/thread/[%mail.id%]">View whole thread</a></p><hr />
[% mail.thread_as_html %]
[% IF mail.attachments %]
-<hr>
+<hr />
[% attachments(mail) %]
[% END%]
-</DIV>
-</DIV>
+</div>
+</div>
<div id="content">
-<TABLE class="view">
+<table class="view">
[% addressing_row(mail,"From");
addressing_row(mail,"To");
addressing_row(mail, "Cc");
lists_row(mail);
%]
- <TR>
- <TD class="field">Date</TD>
- <TD><a href="[% base | remove('/$') %]/date/list/[% mail.date.strftime("%Y/%m/%d/") %]">[%mail.date.ymd%]</a></TD>
- </TR>
-</TABLE>
-<PRE> [% mail.format_body %]
-</PRE>
+ <tr>
+ <td class="field">Date</td>
+ <td><a href="[% base | remove('/$') %]/date/list/[% mail.date.strftime("%Y/%m/%d/") %]">[%mail.date.ymd%]</a></td>
+ </tr>
+</table>
+<pre> [% mail.format_body %]
+</pre>
</div>
Modified: trunk/buscador/templates/mail/view_macros
===================================================================
--- trunk/buscador/templates/mail/view_macros 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/mail/view_macros 2005-02-16 09:34:48 UTC (rev 1894)
@@ -3,42 +3,42 @@
[% MACRO addressing_row(mail, role) BLOCK; %]
[% SET addressings = mail.addressings("Role", role) %]
[% IF addressings %]
- <TR>
- <TD class="field"> [% role %] </TD>
- <TD>
+ <tr>
+ <td class="field"> [% role %] </td>
+ <td>
[% FOR addressing = addressings("Role", role) %]
- <A HREF="[%base | remove('/$')%]/entity/view/[% addressing.entity %]">
+ <a href="[%base | remove('/$')%]/entity/view/[% addressing.entity %]">
[% addressing.name.name %] ([% addressing.address.address %])
- </A>
+ </a>
[% ", " UNLESS addressings.last == addressing %]
[% END %]
- </TD>
- </TR>
+ </td>
+ </tr>
[% END %]
[% END %]
[% MACRO lists_row(mail) BLOCK; %]
[% IF mail.lists %]
- <TR>
- <TD class="field"> Lists </TD>
- <TD>
+ <tr>
+ <td class="field"> Lists </td>
+ <td>
[% FOR list = mail.lists %]
- <A HREF="[%base | remove('/$')%]/list/view/[%list.id%]">[%list%]</A>
+ <a HREF="[%base | remove('/$')%]/list/view/[%list.id%]">[%list%]</a>
[% ", " UNLESS mail.lists.last == list %]
[% END %]
- </TD>
- </TR>
+ </td>
+ </tr>
[% END %]
[% END %]
[% MACRO attachments(mail) BLOCK; %]
- <DIV class="attachments">
+ <div class="attachments">
Attachments:
<ul>
[% FOR att = mail.attachments %]
- <li> <A HREF="[%base |
+ <li> <a href="[%base |
remove('/$')%]/attachment/view/[%att.id%]/[% att.filename %]">
- [% att.filename %]</A> <small>([% att.content_type %])</small>
+ [% att.filename %]</a> <small>([% att.content_type %])</small>
[% END %]
</ul>
</div>
Modified: trunk/buscador/templates/name/view
===================================================================
--- trunk/buscador/templates/name/view 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/name/view 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,30 +1,30 @@
[% PROCESS header %]
[% PROCESS macros %]
- <H1> [% name.name |html %] </h1>
+ <h1>[% name.name |html %]</h1>
[% INCLUDE searchbox %]
[% mails_by_addressing(name) %]
[% SET mentioned = name.mentioned_mails %]
[% IF mentioned %]
-<H3>Also mentioned in... </H3>
+<h3>Also mentioned in...</h3>
-<TABLE class="view">
+<table class="view">
[% FOR mail = mentioned %]
-<TR>
-<TD> </TD><TD>
+<tr>
+<td> </td><td>
[% summary_link(mail); %]
([%mail.date.ymd%])
- <BR>
+ <br />
[% show_lists(mail); %]
- <BLOCKQUOTE>
+ <blockquote>
[% IF mentioned.length < 20;
mail.contextualize_result(name.name);
ELSE; mail.original; END %]
- </BLOCKQUOTE>
-</TD>
-</TR>
+ </blockquote>
+</td>
+</tr>
[% END %]
-</TABLE>
+</table>
[% END %]
[% INCLUDE footer %]
Modified: trunk/buscador/templates/searchbox
===================================================================
--- trunk/buscador/templates/searchbox 2005-02-16 07:04:35 UTC (rev 1893)
+++ trunk/buscador/templates/searchbox 2005-02-16 09:34:48 UTC (rev 1894)
@@ -1,10 +1,10 @@
-<DIV class="search">
-<FORM ACTION="[%base|remove('/$')%]/mail/search/">
-<INPUT NAME="terms" VALUE="[%request.query.terms%]">
-<INPUT TYPE="submit" VALUE="Search!">
-</FORM>
+<div class="search">
+<form action="[% base | remove( '/$' ) %]/mail/search/">
+<input name="terms" value="[% request.query.terms %]" />
+<input type="submit" value="Search!" />
+</form>
[% IF hint %]
-<DIV class="searchhints"> Did you know... [% hint %] </DIV>
+<div class="searchhints"> Did you know... [% hint %]</div>
[% END %]
[% INCLUDE pager %]
-</DIV>
+</div>
Generated at 13:00 on 16 Feb 2005 by mariachi 0.52