footer() has now optional $delimit arg to disable its "<p>&nbsp;</p>"
authorshort <>
Sun, 9 Sep 2001 03:16:06 +0000 (03:16 +0000)
committershort <>
Sun, 9 Sep 2001 03:16:06 +0000 (03:16 +0000)
common.php

index aae2fe0..44f38b9 100644 (file)
@@ -304,7 +304,7 @@ function image_supported($mime)
        return(false);
 }
 
-function footer()
+function footer($delimit=true)
 {
        // deadlock prevention:
        global $footer_passed;
@@ -313,8 +313,9 @@ function footer()
        $footer_passed=true;
 
        global $cvs_id_html,$viewcvs,$viewcvs,$HTTP_SERVER_VARS;
+       if ($delimit)
+               print("<p>&nbsp;</p>\n");
        ?>
-<p>&nbsp;</p>
 <hr />
 <table border="0" width="100%">
 <tr><td align="left"><span class="cvs-id"><?php print($cvs_id_html); ?></span></td><td align="right"><a