[Cpan-forum-commit] rev 13 - trunk/templates
svn at pti.co.il
svn at pti.co.il
Sat Jan 15 17:11:40 IST 2005
Author: gabor
Date: 2005-01-15 17:11:40 +0200 (Sat, 15 Jan 2005)
New Revision: 13
Modified:
trunk/templates/change_password.tmpl
trunk/templates/editor.tmpl
trunk/templates/login.tmpl
trunk/templates/module_search_form.tmpl
trunk/templates/mypan.tmpl
trunk/templates/notes.tmpl
trunk/templates/posts.tmpl
trunk/templates/pwreminder.tmpl
trunk/templates/register.tmpl
trunk/templates/search.tmpl
trunk/templates/threads.tmpl
trunk/templates/users.tmpl
Log:
XHMTL compilance. or not yet ?
Modified: trunk/templates/change_password.tmpl
===================================================================
--- trunk/templates/change_password.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/change_password.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,9 +1,10 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2>Change Password</h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
-
<TMPL_IF done>
Your password was updated.
@@ -12,11 +13,13 @@
<TMPL_IF bad_pw_pair>The two passwords mustbe the same<br></TMPL_IF>
</div>
-<form method="POST" action="/">
- <input type="hidden" name="rm" value="change_password">
- Password: <input name="password" type="password">
- Password again: <input name="pw" type="password">
- <input type="submit" value="Change password">
+<form method="post" action="/">
+<p>
+<input type="hidden" name="rm" value="change_password" />
+Password: <input name="password" type="password" />
+Password again: <input name="pw" type="password" />
+<input type="submit" value="Change password" />
+</p>
</form>
</TMPL_IF>
Modified: trunk/templates/editor.tmpl
===================================================================
--- trunk/templates/editor.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/editor.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,45 +1,46 @@
<div class="error">
- <TMPL_IF no_group>No distribution name provided<br></TMPL_IF>
- <TMPL_IF no_subject>No subject provided<br></TMPL_IF>
- <TMPL_IF no_text>No text provided<br></TMPL_IF>
- <TMPL_IF bad_group>Bad distribution name<br></TMPL_IF>
- <TMPL_IF bad_data>Bad data<br></TMPL_IF>
- <TMPL_IF subject_too_long>Subject must be up to 70 characters.<br></TMPL_IF>
- <TMPL_IF text_format>Text format is not correct.<br></TMPL_IF>
+ <TMPL_IF no_group>No distribution name provided<br /></TMPL_IF>
+ <TMPL_IF no_subject>No subject provided<br /></TMPL_IF>
+ <TMPL_IF no_text>No text provided<br /></TMPL_IF>
+ <TMPL_IF bad_group>Bad distribution name<br /></TMPL_IF>
+ <TMPL_IF bad_data>Bad data<br /></TMPL_IF>
+ <TMPL_IF subject_too_long>Subject must be up to 70 characters.<br /></TMPL_IF>
+ <TMPL_IF text_format>Text format is not correct.<br /></TMPL_IF>
- <TMPL_IF bad_thing>Bad thing<br></TMPL_IF>
+ <TMPL_IF bad_thing>Bad thing<br /></TMPL_IF>
</div>
-<form method="POST" action="/">
- <input type="hidden" name="rm" value="process_post">
- <input type="hidden" name="new_parent" value="<TMPL_VAR id>">
+<form method="post" action="/">
+<p>
+<input type="hidden" name="rm" value="process_post" />
+<input type="hidden" name="new_parent" value="<TMPL_VAR id>" />
- <TMPL_VAR group_selector><br>
- Subject:<br><input name="new_subject" size="60" value="<TMPL_VAR new_subject>"><br>
- Text:<br><textarea name="new_text" rows="15" cols="60"><TMPL_VAR new_text></textarea><br>
+<TMPL_VAR group_selector><br />
+Subject:<br /><input name="new_subject" size="60" value="<TMPL_VAR new_subject>" /><br />
+Text:<br /><textarea name="new_text" rows="15" cols="60"><TMPL_VAR new_text></textarea><br />
- <input type="submit" name="button" value="Preview">
- <TMPL_IF preview>
- <input type="submit" name="button" value="Submit">
- </TMPL_IF>
- <br />
+<input type="submit" name="button" value="Preview" />
+<TMPL_IF preview>
+ <input type="submit" name="button" value="Submit" />
+</TMPL_IF>
+</p>
+</form>
- <div id="posting_rules">Posting Rules:</div>
- <ul class="postrules">
- <li> Currently no HTML markup is allowed at all. If you'd like to show <
- you'll have to type &lt;</li>
- <li> You can use a pseudo markup pair: <code> and </code>. The idea is
- that you put your real code in such markup. Including plain <STDIN>
- as you like. Then when showing such parts of your posting we'll make
- sure it shows correctly. (If not, let us know and we'll fix it ASAP)</li>
- </ul>
+<div id="posting_rules">Posting Rules:</div>
+<ul class="postrules">
+ <li> Currently no HTML markup is allowed at all. If you'd like to show <
+ you'll have to type &lt;</li>
+ <li> You can use a pseudo markup pair: <code> and </code>. The idea is
+ that you put your real code in such markup. Including plain <STDIN>
+ as you like. Then when showing such parts of your posting we'll make
+ sure it shows correctly. (If not, let us know and we'll fix it ASAP)</li>
+</ul>
<!--
<li> HTML marup is allowed but all < marks will be turned into &lt; so they won't have an effect other than content
<li> http://www.blabla.com things will be turned into links
<li> a at b.c strings will be left alone as they can be valid perl code
<li> mailto:a at b.c will be be turned into mailto links (I think)
-->
-</form>
Modified: trunk/templates/login.tmpl
===================================================================
--- trunk/templates/login.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/login.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,5 +1,7 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2>Login</h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
@@ -8,16 +10,21 @@
<TMPL_IF bad_login>Login failed.<br></TMPL_IF>
</div>
+<p>
In order to post on this site first you'll have to <a href="/register/">register</a>
with a valid e-mail address.
-<form method="POST" action="/">
- <input type="hidden" name="rm" value="login_process">
- Nickname: <input name="nickname" value="<TMPL_VAR nickname>">
- Password: <input name="password" type="password">
- <input type="submit" value="Login">
+</p>
+<form method="post" action="/">
+<p>
+<input type="hidden" name="rm" value="login_process" />
+Nickname: <input name="nickname" value="<TMPL_VAR nickname>" />
+Password: <input name="password" type="password" />
+<input type="submit" value="Login" />
+</p>
</form>
+<p>
To retrieve a lost password, please visit the
<a href="/pwreminder/">password reminder</a>.
+</p>
-
<TMPL_INCLUDE NAME="footer.tmpl">
Modified: trunk/templates/module_search_form.tmpl
===================================================================
--- trunk/templates/module_search_form.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/module_search_form.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,10 +1,12 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2>Search for module name</h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
Please type in the name of a module.
You can use '%' signs as wide cards.
-<form method="POST" action="/module_search">
+<form method="post" action="/module_search/">
<input type="hidden" name="rm" value="search">
<input name="q" value="<TMPL_VAR q>">
<input type="submit" value="Search">
Modified: trunk/templates/mypan.tmpl
===================================================================
--- trunk/templates/mypan.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/mypan.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,11 +1,15 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2>Personal configuration of <TMPL_VAR fullname> (<TMPL_VAR username>)</h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
<form method="post" action="/">
-<input type="hidden" name="rm" value="update_subscription">
-<input type="hidden" name="gids" value="<TMPL_VAR gids>">
<p>
+<input type="hidden" name="rm" value="update_subscription" />
+<input type="hidden" name="gids" value="<TMPL_VAR gids>" />
+</p>
+<p>
Subscriptions
</p>
<div class="subscription">
@@ -19,17 +23,17 @@
<!--
<tr>
<td>All</td>
- <td><input type="checkbox" name="allposts" <TMPL_IF allposts>CHECKED</TMPL_IF>></td>
- <td><input type="checkbox" name="starters" <TMPL_IF starters>CHECKED</TMPL_IF>></td>
- <td><input type="checkbox" name="followups" <TMPL_IF followups>CHECKED</TMPL_IF>></td>
+ <td><input type="checkbox" name="allposts" <TMPL_IF allposts>CHECKED</TMPL_IF> /></td>
+ <td><input type="checkbox" name="starters" <TMPL_IF starters>CHECKED</TMPL_IF> /></td>
+ <td><input type="checkbox" name="followups" <TMPL_IF followups>CHECKED</TMPL_IF> /></td>
</tr>
-->
<TMPL_LOOP subscriptions>
<tr>
<td><TMPL_VAR group></td>
- <td><input type="checkbox" name="allposts_<TMPL_VAR gid>" <TMPL_IF allposts>CHECKED</TMPL_IF>></td>
- <td><input type="checkbox" name="starters_<TMPL_VAR gid>" <TMPL_IF starters>CHECKED</TMPL_IF>></td>
- <td><input type="checkbox" name="followups_<TMPL_VAR gid>" <TMPL_IF followups>CHECKED</TMPL_IF>></td>
+ <td><input type="checkbox" name="allposts_<TMPL_VAR gid>" <TMPL_IF allposts>CHECKED</TMPL_IF> /></td>
+ <td><input type="checkbox" name="starters_<TMPL_VAR gid>" <TMPL_IF starters>CHECKED</TMPL_IF> /></td>
+ <td><input type="checkbox" name="followups_<TMPL_VAR gid>" <TMPL_IF followups>CHECKED</TMPL_IF> /></td>
</tr>
</TMPL_LOOP>
</table>
@@ -39,8 +43,9 @@
Follow ups mean new messages in a thread you alread participated in. Not necesarily response to your message
but probably a thread you are interested in.
</p>
-
-<input type="submit" value="Update">
+<p>
+<input type="submit" value="Update" />
+</p>
</form>
<TMPL_INCLUDE NAME="footer.tmpl">
Modified: trunk/templates/notes.tmpl
===================================================================
--- trunk/templates/notes.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/notes.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,10 +1,12 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2></h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
<TMPL_IF mypanok>
Your subscriptions were successfully updated.
-You can look at them here: <a href="/mypan">subscription information</a>
+You can look at them here: <a href="/mypan/">subscription information</a>
</TMPL_IF>
<TMPL_INCLUDE NAME="footer.tmpl">
Modified: trunk/templates/posts.tmpl
===================================================================
--- trunk/templates/posts.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/posts.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,5 +1,7 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2><TMPL_VAR group> - <TMPL_VAR subject></h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
<TMPL_IF group>
@@ -16,7 +18,7 @@
<TMPL_IF preview>
<div class="preview">
<p>
- <b>Preview</b><br>
+ <b>Preview</b><br />
<TMPL_LOOP preview_loop>
<TMPL_INCLUDE NAME="message.tmpl">
</TMPL_LOOP>
Modified: trunk/templates/pwreminder.tmpl
===================================================================
--- trunk/templates/pwreminder.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/pwreminder.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,5 +1,7 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2>Password Reminder</h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
<TMPL_IF done>
@@ -11,12 +13,14 @@
<TMPL_IF no_data>Need either correct nickname or correct email address<br /></TMPL_IF>
</div>
-<form method="POST" action="/">
- <input type="hidden" name="rm" value="pwreminder_process">
+<form method="post" action="/">
+<p>
+<input type="hidden" name="rm" value="pwreminder_process" />
+</p>
<table>
- <tr><td>Nickname:</td><td><input name="nickname" value="<TMPL_VAR nickname>"></td></tr>
- <tr><td>Email:</td><td><input name="email" value="<TMPL_VAR email>"></td></tr>
- <tr><td></td><td><input type="submit" value="Remind me"></td></tr>
+ <tr><td>Nickname:</td><td><input name="nickname" value="<TMPL_VAR nickname>" /></td></tr>
+ <tr><td>Email:</td><td><input name="email" value="<TMPL_VAR email>" /></td></tr>
+ <tr><td></td><td><input type="submit" value="Remind me" /></td></tr>
</table>
</form>
</TMPL_IF>
Modified: trunk/templates/register.tmpl
===================================================================
--- trunk/templates/register.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/register.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,5 +1,7 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2>Registration Page</h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
<TMPL_IF done>
@@ -12,15 +14,17 @@
<TMPL_IF nickname_exists>Nickname or e-mail already in use<br /></TMPL_IF>
</div>
-In order to post on this site first you'll have to register with a valid e-mail address.<br>
+In order to post on this site first you'll have to register with a valid e-mail address.<br />
Username currently should be between 4-10 characters.
-<form method="POST" action="/">
- <input type="hidden" name="rm" value="register_process">
- <table>
- <tr><td>Nickname:</td><td><input name="nickname" value="<TMPL_VAR nickname>"></td></tr>
- <tr><td>Email:</td><td><input name="email" value="<TMPL_VAR email>"></td></tr>
- <tr><td></td><td><input type="submit" value="Regiser"></td></tr>
- </table>
+<form method="post" action="/">
+<p>
+<input type="hidden" name="rm" value="register_process" />
+</p>
+<table>
+<tr><td>Nickname:</td><td><input name="nickname" value="<TMPL_VAR nickname>" /></td></tr>
+<tr><td>Email:</td><td><input name="email" value="<TMPL_VAR email>" /></td></tr>
+<tr><td></td><td><input type="submit" value="Regiser" /></td></tr>
+</table>
</form>
<!--
To retrieve a lost password, please visit the
Modified: trunk/templates/search.tmpl
===================================================================
--- trunk/templates/search.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/search.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,11 +1,15 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2>Search page</h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
-<form method="POST" action="/search">
-<input type="hidden" name="rm" value="search">
-<input name="q" value="<TMPL_VAR q>">
-<input type="submit" value="Search">
+<form method="post" action="/search/">
+<p>
+<input type="hidden" name="rm" value="search" />
+<input name="q" value="<TMPL_VAR q>" />
+<input type="submit" value="Search" />
+</p>
</form>
<TMPL_IF q>
Modified: trunk/templates/threads.tmpl
===================================================================
--- trunk/templates/threads.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/threads.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,5 +1,7 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2>CPAN Forum - Thread</h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
<TMPL_INCLUDE NAME="links.tmpl">
@@ -24,7 +26,7 @@
<TMPL_LOOP responses>
<a href="#<TMPL_VAR id>"><TMPL_VAR id></a>
</TMPL_LOOP>
- <br>
+ <br />
</TMPL_IF>
<a href="/response_form/<TMPL_VAR id>">Write a response</a>.
</td></tr>
Modified: trunk/templates/users.tmpl
===================================================================
--- trunk/templates/users.tmpl 2005-01-15 14:44:51 UTC (rev 12)
+++ trunk/templates/users.tmpl 2005-01-15 15:11:40 UTC (rev 13)
@@ -1,5 +1,7 @@
<TMPL_INCLUDE NAME="head.tmpl">
<h2>Recent postings by <TMPL_VAR this_fullname> (<TMPL_VAR this_username>)</h2>
+</div>
+
<TMPL_INCLUDE NAME="navigation.tmpl">
<TMPL_INCLUDE NAME="listing.tmpl">
More information about the Cpan-forum-commit
mailing list