A quick and little bit ugly, but working fix for SF Bug #473129.

'ezt.py', which belongs to the edna project is not changed.
May there is a cleaner solution possible, but I was unable to
figure out how.

The []-template macros available in directory.ezt should be documented
somewhere, but where?


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@244 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/V0_8
pefu 2001-10-20 15:57:33 +00:00
parent 7a0fcf1e9e
commit c870cc4f23
2 changed files with 8 additions and 4 deletions

View File

@ -1113,6 +1113,11 @@ def view_directory(request):
'tarball_href' : None,
'address' : cfg.general.address,
'vsn' : __version__,
# The following is a quick attempt to fix SF bug #473129:
'q' : '"',
'logo_file' : cfg.images.logo[0],
'logo_width' : cfg.images.logo[1],
'logo_height' : cfg.images.logo[2],
}
# add in the CVS roots for the selection

View File

@ -10,8 +10,8 @@
<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tr>
<td><h1>[if-any where][where][else][cfg.general.main_title][end]</h1></td>
<td align=right><img src="/icons/apache_pb.gif" alt="(logo)" border=0
width=259 height=32></td>
<td align=right><img src=[q][logo_file][q] alt="(logo)" border=0
width=[logo_width] height=[logo_height]></td>
</tr>
</table>
@ -45,8 +45,7 @@
<a href="http://www.opensource.org/licenses/bsd-license.html">BSD-License</a>.
If you would like to use this CGI script on your own web server and
CVS tree, see Greg's
<a href="http://viewcvs.sourceforge.net/">ViewCVS distribution
site</a>.
<a href="http://viewcvs.sourceforge.net/">ViewCVS&nbsp;distribution&nbsp;site</a>.
Please send any suggestions, comments, etc. to
<a href="mailto:gstein@lyra.org">Greg Stein</a>.
</p>