Print footers in side_blocks even when non-list $content is supplied
This commit is contained in:
+2
-1
@@ -1032,6 +1032,7 @@ function print_side_block($heading="", $content="", $list=NULL, $icons=NULL, $fo
|
||||
|
||||
if ($content) {
|
||||
echo "$content";
|
||||
echo "<font size=\"-1\">$footer</font>";
|
||||
} else {
|
||||
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">";
|
||||
if ($list) {
|
||||
@@ -1049,7 +1050,7 @@ function print_side_block($heading="", $content="", $list=NULL, $icons=NULL, $fo
|
||||
if ($icons) {
|
||||
echo "<td class=\"sideblocklinks\" valign=\"top\" width=\"16\"> </td>";
|
||||
}
|
||||
echo "<td class=\"sideblocklinks\"><font size=\"-1\">$footer</td>";
|
||||
echo "<td class=\"sideblocklinks\"><font size=\"-1\">$footer</font></td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
echo "</table>";
|
||||
|
||||
Reference in New Issue
Block a user