Move the footer to its own template, and include it from the others.

git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@394 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/V0_9
gstein 2001-12-18 00:09:00 +00:00
parent e9a4e3bbe2
commit 830c6ba76c
5 changed files with 13 additions and 28 deletions

View File

@ -256,10 +256,4 @@ href="[request.script_name]/*docroot*/help_[if-any where]dir[else]root[end]view.
<a href="[tarball_href]">Download tarball</a>
[end]
<hr noshade>
<table width="100%" border=0 cellpadding=0 cellspacing=0><tr>
<td align=left><address>[address]</address></td>
<td align=right>
Powered by<br><a href="http://viewcvs.sourceforge.net/">ViewCVS [vsn]</a>
</td></tr></table>
</body></html>
[include "footer.ezt"]

9
templates/footer.ezt Normal file
View File

@ -0,0 +1,9 @@
[# standard footer used by all ViewCVS pages ]
<hr noshade>
<table width="100%" border=0 cellpadding=0 cellspacing=0><tr>
<td align=left><address>[cfg.general.address]</address></td>
<td align=right>
Powered by<br><a href="http://viewcvs.sourceforge.net/">ViewCVS [vsn]</a>
</td></tr></table>
</body></html>

View File

@ -243,10 +243,4 @@ and
<input type=submit value=" Sort ">
</form>
<hr noshade>
<table width="100%" border=0 cellpadding=0 cellspacing=0><tr>
<td align=left><address>[address]</address></td>
<td align=right>
Powered by<br><a href="http://viewcvs.sourceforge.net/">ViewCVS [vsn]</a>
</td></tr></table>
</body></html>
[include "footer.ezt"]

View File

@ -248,10 +248,4 @@ and
<input type=submit value=" Sort ">
</form>
<hr noshade>
<table width="100%" border=0 cellpadding=0 cellspacing=0><tr>
<td align=left><address>[address]</address></td>
<td align=right>
Powered by<br><a href="http://viewcvs.sourceforge.net/">ViewCVS [vsn]</a>
</td></tr></table>
</body></html>
[include "footer.ezt"]

View File

@ -225,10 +225,4 @@
[end]
[end]
<hr noshade>
<table width="100%" border=0 cellpadding=0 cellspacing=0><tr>
<td align=left><address>[address]</address></td>
<td align=right>
Powered by<br><a href="http://viewcvs.sourceforge.net/">ViewCVS [vsn]</a>
</td></tr></table>
</body></html>
[include "footer.ezt"]