mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Admin template fix
This commit is contained in:
@@ -150,9 +150,9 @@ else
|
||||
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
|
||||
background:#fff;
|
||||
font:16px arial, helvetica, sans-serif;
|
||||
-moz-border-radius:3px;
|
||||
-webkit-border-radius:3px;
|
||||
border-radius:3px;
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-moz-box-shadow: 1px 1px 2px #999 inset;
|
||||
-webkit-box-shadow: 1px 1px 2px #999 inset;
|
||||
box-shadow: 1px 1px 2px #999 inset;
|
||||
@@ -189,13 +189,13 @@ else
|
||||
.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; }
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
|
||||
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);
|
||||
|
||||
|
@@ -16,8 +16,7 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
require_once(e_HANDLER."message_handler.php");
|
||||
$emessage = &eMessage::getInstance();
|
||||
$mes = e107::getMessage();
|
||||
|
||||
$text = "<div style='text-align:center'>
|
||||
<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)
|
||||
{
|
||||
$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>";
|
||||
|
||||
@@ -80,8 +80,7 @@ foreach ($admin_cat['id'] as $cat_key => $cat_id)
|
||||
|
||||
$text .= "</div></div>";
|
||||
|
||||
$ns->tablerender(ADLAN_47." ".ADMINNAME, $emessage->render().$text);
|
||||
|
||||
$ns->tablerender(ADLAN_47." ".ADMINNAME, $mes->render().$text);
|
||||
|
||||
|
||||
?>
|
@@ -325,11 +325,6 @@ function update_706_to_800($type='')
|
||||
|
||||
$do_save = TRUE;
|
||||
|
||||
foreach($setCorePrefs as $k=>$v)
|
||||
{
|
||||
$pref[$k] = $v;
|
||||
}
|
||||
|
||||
|
||||
// List of changed menu locations.
|
||||
$changeMenuPaths = array(
|
||||
@@ -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
|
||||
|
||||
if (!$just_check)
|
||||
{
|
||||
foreach($setCorePrefs as $k=>$v)
|
||||
{
|
||||
$pref[$k] = $v;
|
||||
}
|
||||
}
|
||||
|
||||
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() {
|
||||
|
Reference in New Issue
Block a user