Skip to content

Commit 9cc10c7

Browse files
Fixup, more footer to bottom of sidebar
1 parent 24be08f commit 9cc10c7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

web/skins/classic/includes/functions.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,6 @@ function buildSidebarMenu() {
385385
</a>
386386
</li>
387387
';
388-
} else if (defined(ZM_SIDEBAR_FOOTER) and ZM_SIDEBAR_FOOTER) {
389-
$menu .- ZM_SIDEBAR_FOOTER;
390388
}
391389
$menu .= '
392390
</ul>
@@ -456,13 +454,14 @@ function getSidebarTopHTML() {
456454

457455
function getSidebarBottomHTML() {
458456
global $skin;
459-
$block = '
457+
$block = '';
458+
if (defined('ZM_SIDEBAR_FOOTER') and ZM_SIDEBAR_FOOTER) {
459+
$block .= ZM_SIDEBAR_FOOTER;
460+
}
461+
$block .= '
460462
<div class="overlay"></div>
461463
</div> <!-- class="content-main" -->
462464
</div> <!-- class="layout-main has-sidebar fixed-sidebar fixed-header" -->
463-
<style>
464-
465-
</style>
466465
';
467466
echo $block;
468467
} // end function getSidebarBottomHTML

0 commit comments

Comments
 (0)