mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Fixes #1179 - Icon overlap problem.
This commit is contained in:
@@ -633,7 +633,7 @@ class adminstyle_infopanel
|
|||||||
if (getperms($icon['perms']))
|
if (getperms($icon['perms']))
|
||||||
{
|
{
|
||||||
$checked = (varset($user_pref['core-infopanel-mye107']) && in_array($key, $user_pref['core-infopanel-mye107'])) ? true : false;
|
$checked = (varset($user_pref['core-infopanel-mye107']) && in_array($key, $user_pref['core-infopanel-mye107'])) ? true : false;
|
||||||
$text .= "<div class='left f-left list field-spacer checkbox' style='display:block;height:24px;width:200px;'>
|
$text .= "<div class='left f-left list field-spacer form-inline' style='display:block;height:24px;width:200px;'>
|
||||||
".$icon['icon'].' '.$frm->checkbox_label($icon['title'], 'e-mye107[]', $key, $checked)."</div>";
|
".$icon['icon'].' '.$frm->checkbox_label($icon['title'], 'e-mye107[]', $key, $checked)."</div>";
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -646,7 +646,7 @@ class adminstyle_infopanel
|
|||||||
if (getperms($icon['perms']))
|
if (getperms($icon['perms']))
|
||||||
{
|
{
|
||||||
$checked = (in_array('p-'.$key, $user_pref['core-infopanel-mye107'])) ? true : false;
|
$checked = (in_array('p-'.$key, $user_pref['core-infopanel-mye107'])) ? true : false;
|
||||||
$text .= "<div class='left f-left list field-spacer checkbox' style='display:block;height:24px;width:200px;'>
|
$text .= "<div class='left f-left list field-spacer form-inline' style='display:block;height:24px;width:200px;'>
|
||||||
".$icon['icon'].$frm->checkbox_label($icon['title'], 'e-mye107[]', $key, $checked)."</div>";
|
".$icon['icon'].$frm->checkbox_label($icon['title'], 'e-mye107[]', $key, $checked)."</div>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user