mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Infopanel icon styling and renaming of 'Custom Pages' to 'Pages'
This commit is contained in:
@@ -172,7 +172,7 @@ EOF;
|
|||||||
{
|
{
|
||||||
if (!vartrue($user_pref['core-infopanel-mye107']) || in_array($key, $user_pref['core-infopanel-mye107']))
|
if (!vartrue($user_pref['core-infopanel-mye107']) || in_array($key, $user_pref['core-infopanel-mye107']))
|
||||||
{
|
{
|
||||||
$mainPanel .= e107::getNav()->renderAdminButton($val['link'], $val['title'], $val['caption'], $val['perms'], $val['icon_32'], "div-icon-only");
|
$mainPanel .= e107::getNav()->renderAdminButton($val['link'], $val['title'], $val['caption'], $val['perms'], $val['icon_32'], "div");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1172,8 +1172,8 @@ class e_navigation
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'div':
|
case 'div':
|
||||||
$text .= "<div class='core-mainpanel-block'><a class='core-mainpanel-link-icon e-tip' href='".$link."' title='{$description}'>".$icon."</a><br />
|
$text .= "<div class='core-mainpanel-block'><a class='core-mainpanel-link-icon e-tip muted' href='".$link."' title='{$description}'>".$icon."<br />
|
||||||
<a class='core-mainpanel-link-text e-tip' href='".$link."' title='{$description}'>".$tp->toHTML($title,FALSE,"defs, emotes_off")."</a>
|
<small class='core-mainpanel-link-text'>".$tp->toHTML($title,FALSE,"defs, emotes_off")."</small></a>
|
||||||
</div>";
|
</div>";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@@ -46,7 +46,7 @@ define("ADLAN_38", "User Classes");
|
|||||||
define("ADLAN_39", "Create/edit user classes");
|
define("ADLAN_39", "Create/edit user classes");
|
||||||
define("ADLAN_40", "Maintenance");
|
define("ADLAN_40", "Maintenance");
|
||||||
define("ADLAN_41", "Take site down for maintenance");
|
define("ADLAN_41", "Take site down for maintenance");
|
||||||
define("ADLAN_42", "Custom Menus/Pages");
|
define("ADLAN_42", "Pages/Menus");
|
||||||
define("ADLAN_43", "Create custom menu items");
|
define("ADLAN_43", "Create custom menu items");
|
||||||
define("ADLAN_44", "Database");
|
define("ADLAN_44", "Database");
|
||||||
define("ADLAN_45", "Database utilities");
|
define("ADLAN_45", "Database utilities");
|
||||||
|
@@ -35,8 +35,8 @@ e-tabs fieldset { padding:0px ; padding-left:3px; border-top:0px;}
|
|||||||
#tab-container td { border-top:0px; border-bottom:1px solid rgb(221, 221, 221) }
|
#tab-container td { border-top:0px; border-bottom:1px solid rgb(221, 221, 221) }
|
||||||
.tab-border { border-left: 1px solid #ddd; }
|
.tab-border { border-left: 1px solid #ddd; }
|
||||||
|
|
||||||
.core-mainpanel-block { text-align:center; width:100px; float:left; height:48px; display:block;margin:15px; }
|
.core-mainpanel-block { text-align:center; width:120px; float:left; height:48px; display:block; margin: 0px 6px 60px 6px; }
|
||||||
.core-mainpanel-link-text { font-weight:bold; text-decoration: none; padding:3px }
|
.core-mainpanel-link-text { text-decoration: none; padding:0px; }
|
||||||
|
|
||||||
td.center, th.center { text-align:center }
|
td.center, th.center { text-align:center }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user