File python-htmltmpl-1.22-docs.patch of Package python-htmltmpl
Index: easy.py
===================================================================
RCS file: /cvsroot/htmltmpl/htmltmpl/easy.py,v
retrieving revision 1.3
diff -a -u -r1.3 easy.py
--- easy.py 2 Sep 2001 20:56:59 -0000 1.3
+++ easy.py 3 Jul 2003 11:11:50 -0000
@@ -45,12 +45,12 @@
<p>
<strong>
VERSION: <TMPL_VAR version>
- <br></br>
+ <br />
AUTHOR: <TMPL_VAR author-name>
(<a href="mailto:<TMPL_VAR author-email>"><TMPL_VAR author-email></a>)
- <br></br>
+ <br />
WEBSITE: <a href="<TMPL_VAR website>"><TMPL_VAR website></a>
- <br></br>
+ <br />
LICENSE: <a href="<TMPL_VAR license-url>"><TMPL_VAR license-name></a>
</strong>
</p>
@@ -58,7 +58,7 @@
<TMPL_LOOP Detailed>
<p><TMPL_VAR paragraph></p>
</TMPL_LOOP>
- <hr></hr>
+ <hr />
<!-- module requirements -->
@@ -71,7 +71,7 @@
</TMPL_LOOP>
</ul>
</TMPL_IF>
- <hr></hr>
+ <hr />
</TMPL_IF>
<!-- table of functions -->
@@ -90,7 +90,7 @@
</tr>
</TMPL_LOOP>
</table>
- <hr></hr>
+ <hr />
</TMPL_IF>
<!-- table of classes and methods -->
@@ -124,7 +124,7 @@
</li>
</TMPL_LOOP>
</ul>
- <hr></hr>
+ <hr />
</TMPL_IF>
@@ -160,9 +160,9 @@
</TMPL_LOOP>
</ul>
</TMPL_IF>
- <hr></hr>
+ <hr />
</TMPL_LOOP>
- <hr></hr>
+ <hr />
<!-- documentation of classes -->
@@ -195,7 +195,7 @@
</TMPL_LOOP>
</table>
</TMPL_IF>
- <hr></hr>
+ <hr />
<!-- documentation of methods of class <TMPL_VAR name> -->
@@ -236,10 +236,10 @@
</TMPL_LOOP>
</ul>
</TMPL_IF>
- <hr></hr>
+ <hr />
</TMPL_LOOP>
- <hr></hr>
+ <hr />
</TMPL_LOOP>
</body>
Index: doc/easydoc.html
===================================================================
RCS file: /cvsroot/htmltmpl/htmltmpl/doc/easydoc.html,v
retrieving revision 1.4
diff -a -u -r1.4 easydoc.html
--- doc/easydoc.html 26 Nov 2001 08:45:10 -0000 1.4
+++ doc/easydoc.html 3 Jul 2003 11:11:58 -0000
@@ -41,7 +41,7 @@
<li><p><a href="php.html">PHP VERSION</a></p></li>
<li><p><a href="http://lists.sourceforge.net/lists/listinfo/htmltmpl-support">MAILING LIST</a></p></li>
<li><p><a href="http://sourceforge.net/cvs/?group_id=34229">PUBLIC CVS</a></p></li>
- <li><p><a href="http://sam.tregar.com/html_template.html">HTML::TEMPLATE</a></p></li>
+ <li><p><a href="http://html-template.sourceforge.net/">HTML::Template</a></p></li>
<li><p><a href="http://sourceforge.net">
<img src="http://sourceforge.net/sflogo.php?group_id=34229"
width="88" height="31" class="noborder"
@@ -105,7 +105,7 @@
</tr>
</table>
- <hr></hr>
+ <hr />
<h2><a name="example"></a>Explanation and example</h2>
<p>
This example documented module illustrates and describes the special
Index: doc/gettext.html
===================================================================
RCS file: /cvsroot/htmltmpl/htmltmpl/doc/gettext.html,v
retrieving revision 1.1
diff -a -u -r1.1 gettext.html
--- doc/gettext.html 26 Nov 2001 08:45:10 -0000 1.1
+++ doc/gettext.html 3 Jul 2003 11:11:58 -0000
@@ -41,7 +41,7 @@
<li><p><a href="php.html">PHP VERSION</a></p></li>
<li><p><a href="http://lists.sourceforge.net/lists/listinfo/htmltmpl-support">MAILING LIST</a></p></li>
<li><p><a href="http://sourceforge.net/cvs/?group_id=34229">PUBLIC CVS</a></p></li>
- <li><p><a href="http://sam.tregar.com/html_template.html">HTML::TEMPLATE</a></p></li>
+ <li><p><a href="http://html-template.sourceforge.net/">HTML::Template</a></p></li>
<li><p><a href="http://sourceforge.net">
<img src="http://sourceforge.net/sflogo.php?group_id=34229"
width="88" height="31" class="noborder"
@@ -69,7 +69,7 @@
</p>
<p>
- The gettext support in htmltmpl must be explicitely activated by
+ The gettext support in htmltmpl must be explicitly activated by
setting the parameter '<em>gettext</em>' of TemplateManager or
TemplateCompiler constructor to TRUE.
</p>
@@ -94,7 +94,7 @@
</tr>
</table>
- <hr></hr>
+ <hr />
<h2><a name="syntax"></a>Syntax</h2>
<p>
@@ -125,7 +125,7 @@
... will be printed as:
Quick brown fox [[jumps]] over a lazy dog.
- Sometims we need to use the backslash '\'.
+ Sometimes we need to use the backslash '\'.
</pre>
<p>
@@ -173,7 +173,7 @@
<!-- xgettext -->
- <hr></hr>
+ <hr />
<h2><a name="xgettext"></a>tmpl-xgettext</h2>
<p>
@@ -190,7 +190,7 @@
<!-- Programming -->
- <hr></hr>
+ <hr />
<h2><a name="programming"></a>Programming</h2>
<p>
Index: doc/index.html
===================================================================
RCS file: /cvsroot/htmltmpl/htmltmpl/doc/index.html,v
retrieving revision 1.15
diff -a -u -r1.15 index.html
--- doc/index.html 17 Dec 2001 07:21:04 -0000 1.15
+++ doc/index.html 3 Jul 2003 11:11:58 -0000
@@ -41,7 +41,7 @@
<li><p><a href="php.html">PHP VERSION</a></p></li>
<li><p><a href="http://lists.sourceforge.net/lists/listinfo/htmltmpl-support">MAILING LIST</a></p></li>
<li><p><a href="http://sourceforge.net/cvs/?group_id=34229">PUBLIC CVS</a></p></li>
- <li><p><a href="http://sam.tregar.com/html_template.html">HTML::TEMPLATE</a></p></li>
+ <li><p><a href="http://html-template.sourceforge.net/">HTML::Template</a></p></li>
<li><p><a href="http://sourceforge.net">
<img src="http://sourceforge.net/sflogo.php?group_id=34229"
width="88" height="31" class="noborder"
@@ -60,7 +60,7 @@
<table cellpadding="8" cellspacing="1" border="1">
<tr>
<td>
- htmltmpl for Python<br></br>
+ htmltmpl for Python<br />
easydoc for Python
</td>
<td><strong>1.22</strong></td>
@@ -84,7 +84,7 @@
application developers,
who need to separate program code and design (HTML code) of their
web application projects, with a templating tool that can be
- easily used by cooperating webdesigners who have no programming
+ easily used by cooperating web designers who have no programming
skills.
</p>
<p>
@@ -101,7 +101,7 @@
<p>
The primary goal of the templating engine is to keep things simple
- for a webdesigner who creates the templates. Therefore, neither
+ for a web designer who creates the templates. Therefore, neither
Python nor PHP code can be used in the templates.
Instead, the templating
engine provides its own simple templating language that supports
@@ -137,7 +137,7 @@
"skinnable" web applications.
</p>
- <hr></hr>
+ <hr />
<ul>
<li><a href="#author">Author and license</a></li>
@@ -152,14 +152,14 @@
<!-- author and license -->
- <hr></hr>
+ <hr />
<h2><a name="author"></a>Author and license</h2>
<address>
- Copyright (c) 2001 Tomas Styblo<br></br>
- Email: <a href="mailto:tripie@cpan.org">tripie@cpan.org</a><br></br>
+ Copyright (c) 2001 Tomas Styblo<br />
+ Email: <a href="mailto:tripie@cpan.org">tripie@cpan.org</a><br />
Homepage: <a href="http://geocities.com/tripiecz/">
- http://geocities.com/tripiecz/</a><br></br>
+ http://geocities.com/tripiecz/</a><br />
Prague, the Czech Republic
</address>
@@ -181,7 +181,7 @@
<!-- credits -->
- <hr></hr>
+ <hr />
<h2><a name="credits"></a>Credits</h2>
<p>
@@ -202,15 +202,15 @@
<p>
Documentation of HTML::Template can be found at
- <a href="http://sam.tregar.com/html_template.html">
- http://sam.tregar.com/html_template.html</a>
+ <a href="http://html-template.sourceforge.net/">
+ http://html-template.sourceforge.net/</a>
</p>
<!-- support -->
- <hr></hr>
+ <hr />
<h2><a name="support"></a>Support</h2>
<p>
There is a
Index: doc/lang.html
===================================================================
RCS file: /cvsroot/htmltmpl/htmltmpl/doc/lang.html,v
retrieving revision 1.7
diff -a -u -r1.7 lang.html
--- doc/lang.html 26 Nov 2001 08:45:10 -0000 1.7
+++ doc/lang.html 3 Jul 2003 11:12:00 -0000
@@ -41,7 +41,7 @@
<li><p><a href="php.html">PHP VERSION</a></p></li>
<li><p><a href="http://lists.sourceforge.net/lists/listinfo/htmltmpl-support">MAILING LIST</a></p></li>
<li><p><a href="http://sourceforge.net/cvs/?group_id=34229">PUBLIC CVS</a></p></li>
- <li><p><a href="http://sam.tregar.com/html_template.html">HTML::TEMPLATE</a></p></li>
+ <li><p><a href="http://html-template.sourceforge.net/">HTML::Template</a></p></li>
<li><p><a href="http://sourceforge.net">
<img src="http://sourceforge.net/sflogo.php?group_id=34229"
width="88" height="31" class="noborder"
@@ -71,7 +71,7 @@
</tr>
</table>
- <hr></hr>
+ <hr />
<h2><a name="compat"></a>HTML::Template compatibility</h2>
<p>
@@ -103,6 +103,7 @@
<ul>
<li>The IPC shared cache.</li>
+ <li>DEFAULT values for TMPL_VAR's.</li>
</ul>
<p>
@@ -177,7 +178,7 @@
</li>
</ul>
- <hr></hr>
+ <hr />
<h2><a name="syntax"></a>Syntax overview</h2>
<h3>Statements</h3>
@@ -238,7 +239,7 @@
Templates must not contain the '\0' character (ASCII code zero).
</p>
- <hr></hr>
+ <hr />
<h3>Parameters of the statements</h3>
<p>
Parameters can be written in two forms:
@@ -268,7 +269,7 @@
colon, slash, backslash. They must NOT contain any spaces.
</p>
- <hr></hr>
+ <hr />
<h3>Identifiers</h3>
<p>
There are three types of identifiers:
@@ -310,7 +311,7 @@
</ul>
- <hr></hr>
+ <hr />
<h3>Valid statements and parameters</h3>
<table cellpadding="8" cellspacing="1" border="1">
<tr>
@@ -358,7 +359,7 @@
<p></p>
- <hr></hr>
+ <hr />
<h3>Template comments</h3>
<p>
Comments are in form of "### some comment".
@@ -369,7 +370,7 @@
</p>
- <hr></hr>
+ <hr />
<h4>Examples:</h4>
<pre>
<TMPL_VAR myname> ### first comment
@@ -377,7 +378,7 @@
</pre>
- <hr></hr>
+ <hr />
<h2><a name="statements"></a>Statements</h2>
<h3>Template inclusion</h3>
@@ -409,7 +410,7 @@
</pre>
- <hr></hr>
+ <hr />
<h3>Variables</h3>
<p>
@@ -455,7 +456,7 @@
</pre>
- <hr></hr>
+ <hr />
<h3>Conditionals</h3>
<p>
@@ -493,7 +494,7 @@
</pre>
- <hr></hr>
+ <hr />
<h3>Loops</h3>
<p>
@@ -529,7 +530,7 @@
</pre>
- <hr></hr>
+ <hr />
<h3>Magic loop variables</h3>
<p>
Magic context variables are automatically defined in every loop.
@@ -589,7 +590,7 @@
</p>
- <hr></hr>
+ <hr />
<h3>Multipart templates</h3>
<p>
Multipart templates can be created using the <TMPL_BOUNDARY>
@@ -638,7 +639,7 @@
<!-- Example -->
- <hr></hr>
+ <hr />
<h2><a name="example"></a>Example</h2>
<h3>template.tmpl</h3>
Index: doc/php.html
===================================================================
RCS file: /cvsroot/htmltmpl/htmltmpl/doc/php.html,v
retrieving revision 1.3
diff -a -u -r1.3 php.html
--- doc/php.html 26 Nov 2001 08:45:10 -0000 1.3
+++ doc/php.html 3 Jul 2003 11:12:02 -0000
@@ -41,7 +41,7 @@
<li><p><a href="php.html">PHP VERSION</a></p></li>
<li><p><a href="http://lists.sourceforge.net/lists/listinfo/htmltmpl-support">MAILING LIST</a></p></li>
<li><p><a href="http://sourceforge.net/cvs/?group_id=34229">PUBLIC CVS</a></p></li>
- <li><p><a href="http://sam.tregar.com/html_template.html">HTML::TEMPLATE</a></p></li>
+ <li><p><a href="http://html-template.sourceforge.net/">HTML::Template</a></p></li>
<li><p><a href="http://sourceforge.net">
<img src="http://sourceforge.net/sflogo.php?group_id=34229"
width="88" height="31" class="noborder"
@@ -143,7 +143,7 @@
<!-- examples -->
- <hr></hr>
+ <hr />
<h2><a name="examples"></a>Examples</h2>
<p>
Index: doc/python.html
===================================================================
RCS file: /cvsroot/htmltmpl/htmltmpl/doc/python.html,v
retrieving revision 1.9
diff -a -u -r1.9 python.html
--- doc/python.html 26 Nov 2001 08:45:10 -0000 1.9
+++ doc/python.html 3 Jul 2003 11:12:06 -0000
@@ -41,7 +41,7 @@
<li><p><a href="php.html">PHP VERSION</a></p></li>
<li><p><a href="http://lists.sourceforge.net/lists/listinfo/htmltmpl-support">MAILING LIST</a></p></li>
<li><p><a href="http://sourceforge.net/cvs/?group_id=34229">PUBLIC CVS</a></p></li>
- <li><p><a href="http://sam.tregar.com/html_template.html">HTML::TEMPLATE</a></p></li>
+ <li><p><a href="http://html-template.sourceforge.net/">HTML::Template</a></p></li>
<li><p><a href="http://sourceforge.net">
<img src="http://sourceforge.net/sflogo.php?group_id=34229"
width="88" height="31" class="noborder"
@@ -121,7 +121,7 @@
<!-- examples -->
- <hr></hr>
+ <hr />
<h2><a name="examples"></a>Examples</h2>
<p>
@@ -242,7 +242,7 @@
<!-- example: database driven -->
- <hr></hr>
+ <hr />
<h3><a name="example-MySQL"></a>MySQL driven:</h3>
<h4>products.tmpl</h4>