stas 02/01/24 09:42:59 Modified: tmpl/custom/html download Log: - don't render an empty PDF/SRC for pages with no PDF/SRC Revision Changes Path 1.2 +2 -2 modperl-docs/tmpl/custom/html/download Index: download =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/download,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- download 24 Jan 2002 16:30:42 -0000 1.1 +++ download 24 Jan 2002 17:42:59 -0000 1.2 @@ -1,12 +1,12 @@ [% # link to the pdf, source and other variants of the doc # pdf block - IF doc.pdf_doc; + IF doc.pdf_doc.link; INCLUDE pdf_doc; END; # pdf block - IF doc.src_doc; + IF doc.src_doc.link; INCLUDE src_doc; END; -%]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]