Only display headers if needed

# patch by George
This commit is contained in:
didou
2004-10-29 14:23:22 +00:00
parent e50da48229
commit 3fc6d90513

View File

@@ -721,6 +721,8 @@ print ($navbar."<p>&nbsp;</p>\n");
// Files table goes here // Files table goes here
// ========================================================================= // =========================================================================
if (count($files_status) != 0) {
print <<<END_OF_MULTILINE print <<<END_OF_MULTILINE
<a name="files"></a> <a name="files"></a>
<table width="820" border="0" cellpadding="4" cellspacing="1" align="center"> <table width="820" border="0" cellpadding="4" cellspacing="1" align="center">
@@ -801,6 +803,7 @@ foreach ($files_status as $num => $file) {
print("</table>\n<p>&nbsp;</p>\n$navbar<p>&nbsp;</p>\n"); print("</table>\n<p>&nbsp;</p>\n$navbar<p>&nbsp;</p>\n");
}
// ========================================================================= // =========================================================================
// Work in progress table goes here // Work in progress table goes here