mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Admin template fix
This commit is contained in:
@@ -150,9 +150,9 @@ else
|
|||||||
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
|
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
|
||||||
background:#fff;
|
background:#fff;
|
||||||
font:16px arial, helvetica, sans-serif;
|
font:16px arial, helvetica, sans-serif;
|
||||||
-moz-border-radius:3px;
|
-moz-border-radius: 4px;
|
||||||
-webkit-border-radius:3px;
|
-webkit-border-radius: 4px;
|
||||||
border-radius:3px;
|
border-radius: 4px;
|
||||||
-moz-box-shadow: 1px 1px 2px #999 inset;
|
-moz-box-shadow: 1px 1px 2px #999 inset;
|
||||||
-webkit-box-shadow: 1px 1px 2px #999 inset;
|
-webkit-box-shadow: 1px 1px 2px #999 inset;
|
||||||
box-shadow: 1px 1px 2px #999 inset;
|
box-shadow: 1px 1px 2px #999 inset;
|
||||||
@@ -189,13 +189,13 @@ else
|
|||||||
.submit { }
|
.submit { }
|
||||||
|
|
||||||
|
|
||||||
.placeholder { color: #bbb; }
|
.placeholder { color: #bbb; font-style:italic }
|
||||||
|
|
||||||
::-webkit-input-placeholder { color: #bbb; }
|
::-webkit-input-placeholder { font-style:italic; color: #bbb; }
|
||||||
|
|
||||||
:-moz-placeholder { color: #bbb; }
|
:-moz-placeholder { font-style:italic; color: #bbb; }
|
||||||
|
|
||||||
h1 { text-align: center }
|
h1 { text-align: center; color: #646667; text-transform:uppercase; }
|
||||||
|
|
||||||
#username {background: url(".e_IMAGE."admin_images/admins_16.png) no-repeat scroll 7px 7px; padding-left:30px; }
|
#username {background: url(".e_IMAGE."admin_images/admins_16.png) no-repeat scroll 7px 7px; padding-left:30px; }
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
require_once('../class2.php');
|
require_once('../class2.php');
|
||||||
|
|
||||||
if (!getperms("5|J")) { header('location:'.e_BASE.'index.php'); exit; }
|
if (!getperms("5|J")) { header('location:'.e_ADMIN.'admin.php'); exit; }
|
||||||
|
|
||||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
|
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
|
||||||
|
|
||||||
|
@@ -16,8 +16,7 @@
|
|||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
require_once(e_HANDLER."message_handler.php");
|
$mes = e107::getMessage();
|
||||||
$emessage = &eMessage::getInstance();
|
|
||||||
|
|
||||||
$text = "<div style='text-align:center'>
|
$text = "<div style='text-align:center'>
|
||||||
<div class='admintabs' id='tab-container'>
|
<div class='admintabs' id='tab-container'>
|
||||||
@@ -25,7 +24,8 @@ $text = "<div style='text-align:center'>
|
|||||||
|
|
||||||
foreach ($admin_cat['id'] as $cat_key => $cat_id)
|
foreach ($admin_cat['id'] as $cat_key => $cat_id)
|
||||||
{
|
{
|
||||||
$text .= "<li id='tab-main_".$cat_key."'><img class='icon S16' src='".$admin_cat['img'][$cat_key]."' alt='' style='margin-right:3px' /><a href='#core-main_".$cat_key."'>".$admin_cat['title'][$cat_key]."</a></li>";
|
// $text .= "<li id='tab-main_".$cat_key."' ><span style='white-space:nowrap'><img class='icon S16' src='".$admin_cat['img'][$cat_key]."' alt='' style='margin-right:3px' /><a href='#core-main_".$cat_key."'>".$admin_cat['title'][$cat_key]."</a></span></li>";
|
||||||
|
$text .= "<li id='tab-main_".$cat_key."' ><a href='#core-main_".$cat_key."'>".$admin_cat['title'][$cat_key]."</a></li>";
|
||||||
}
|
}
|
||||||
$text .= "</ul>";
|
$text .= "</ul>";
|
||||||
|
|
||||||
@@ -80,8 +80,7 @@ foreach ($admin_cat['id'] as $cat_key => $cat_id)
|
|||||||
|
|
||||||
$text .= "</div></div>";
|
$text .= "</div></div>";
|
||||||
|
|
||||||
$ns->tablerender(ADLAN_47." ".ADMINNAME, $emessage->render().$text);
|
$ns->tablerender(ADLAN_47." ".ADMINNAME, $mes->render().$text);
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
?>
|
|
@@ -314,21 +314,16 @@ function update_706_to_800($type='')
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$setCorePrefs = array( //modified prefs during upgrade.
|
$setCorePrefs = array( //modified prefs during upgrade.
|
||||||
'adminstyle' => 'infopanel',
|
'adminstyle' => 'infopanel',
|
||||||
'admintheme' => 'jayya'
|
'admintheme' => 'jayya'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$do_save = TRUE;
|
|
||||||
|
|
||||||
foreach($setCorePrefs as $k=>$v)
|
|
||||||
{
|
|
||||||
$pref[$k] = $v;
|
|
||||||
}
|
$do_save = TRUE;
|
||||||
|
|
||||||
|
|
||||||
// List of changed menu locations.
|
// List of changed menu locations.
|
||||||
@@ -362,6 +357,13 @@ function update_706_to_800($type='')
|
|||||||
|
|
||||||
$just_check = $type == 'do' ? FALSE : TRUE; // TRUE if we're just seeing whether an update is needed
|
$just_check = $type == 'do' ? FALSE : TRUE; // TRUE if we're just seeing whether an update is needed
|
||||||
|
|
||||||
|
if (!$just_check)
|
||||||
|
{
|
||||||
|
foreach($setCorePrefs as $k=>$v)
|
||||||
|
{
|
||||||
|
$pref[$k] = $v;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!$just_check)
|
if (!$just_check)
|
||||||
{
|
{
|
||||||
|
@@ -268,7 +268,7 @@ $(document).ready(function()
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$(".e-shake" ).effect("shake","",100);
|
$(".e-shake" ).effect("shake",{times: 10, distance: 2},20);
|
||||||
|
|
||||||
|
|
||||||
$("select.filter").change(function() {
|
$("select.filter").change(function() {
|
||||||
|
Reference in New Issue
Block a user