1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Admin menu icons for collapsed menu.

This commit is contained in:
Cameron
2021-02-01 18:18:30 -08:00
parent 4aae483790
commit 9890615761
17 changed files with 1762 additions and 1646 deletions

View File

@@ -61,20 +61,19 @@ class admin_shortcodes extends e_shortcode
}
}
/*
public function sc_admin_rightpanel_toggle($parm=null)
{
if(varset($_COOKIE['e107_adminLeftPanel']) === 'closed')
{
return 'col-md-12 col-lg-12';
}
return 'col-md-9 col-lg-10';
}*/
public function sc_admin_leftpanel_toggle($parm=null)
{
$exclude = array('menus.php', 'phpinfo.php', 'credits.php', 'docs.php');
if(in_array(e_PAGE, $exclude))
{
return null;
}
if(varset($_COOKIE['e107_adminLeftPanel']) === 'closed')
{
return 'admin-left-panel-collapsed';