Skip to content

Commit e610daa

Browse files
Remove General header
1 parent 52542ea commit e610daa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

web/skins/classic/includes/functions.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,7 @@ function buildSidebarMenu() {
319319
global $view;
320320
global $user;
321321
if ( $user and $user->Username() ) {
322-
$menuForAuthUser = '
323-
<li class="menu-header"><span> GENERAL </span></li> ' .
324-
renderMenuItems($forLeftBar = true)
325-
;
322+
$menuForAuthUser = renderMenuItems($forLeftBar = true) ;
326323
} else { // USER IS NOT AUTHORIZED!
327324
$menuForAuthUser = '';
328325
}
@@ -388,6 +385,8 @@ function buildSidebarMenu() {
388385
</a>
389386
</li>
390387
';
388+
} else if (defined(ZM_SIDEBAR_FOOTER) and ZM_SIDEBAR_FOOTER) {
389+
$menu .- ZM_SIDEBAR_FOOTER;
391390
}
392391
$menu .= '
393392
</ul>

0 commit comments

Comments
 (0)