mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
Only display headers if needed
# patch by George
This commit is contained in:
@@ -721,6 +721,8 @@ print ($navbar."<p> </p>\n");
|
||||
// Files table goes here
|
||||
// =========================================================================
|
||||
|
||||
if (count($files_status) != 0) {
|
||||
|
||||
print <<<END_OF_MULTILINE
|
||||
<a name="files"></a>
|
||||
<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> </p>\n$navbar<p> </p>\n");
|
||||
|
||||
}
|
||||
|
||||
// =========================================================================
|
||||
// Work in progress table goes here
|
||||
|
Reference in New Issue
Block a user