mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Notice removal and file cleanup
This commit is contained in:
parent
dc71a8500e
commit
b843bcc0c7
@ -40,12 +40,31 @@ e107::coreLan('footer', true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Get Icon constants, theme override (theme/templates/admin_icons_template.php) is allowed
|
||||
include_once(e107::coreTemplatePath('admin_icons'));
|
||||
|
||||
require_once (e_ADMIN.'ad_links.php'); //FIXME - see 'FIXME' in sc_admin_navigation
|
||||
|
||||
if (!defined('ADMIN_WIDTH'))
|
||||
if(!defset('e_ADMIN_UI') && !defset('e_PAGETITLE'))
|
||||
{
|
||||
$array_functions = e107::getNav()->adminLinks('legacy'); // replacement see e107_handlers/sitelinks.php
|
||||
foreach($array_functions as $val)
|
||||
{
|
||||
$link = str_replace("../","",$val[0]);
|
||||
if(strpos(e_SELF,$link)!==FALSE)
|
||||
{
|
||||
define('e_PAGETITLE',$val[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
require_once (e_ADMIN.'ad_links.php'); //FIXME - remove??
|
||||
|
||||
if (!defined('ADMIN_WIDTH')) //BC Only
|
||||
{
|
||||
define('ADMIN_WIDTH', "width:100%;");
|
||||
}
|
||||
|
@ -1207,6 +1207,7 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
||||
* Legacy Admin Menu Routine.
|
||||
* Currently Used by Jayya admin.
|
||||
*/
|
||||
/*
|
||||
function sc_admin_alt_nav($parm)
|
||||
{
|
||||
|
||||
@ -1325,15 +1326,15 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
||||
$plugs_text .= $plugin_compile;
|
||||
}
|
||||
}
|
||||
/*
|
||||
if (getperms('Z'))
|
||||
{
|
||||
$pclass_extended = $active_plugs ? 'header' : '';
|
||||
$plugin_text = adnav_main(ADLAN_98, e_ADMIN.'plugin.php', E_16_PLUGMANAGER, FALSE, $pclass_extended);
|
||||
$render_plugins = TRUE;
|
||||
}*/
|
||||
|
||||
if ($render_plugins)
|
||||
|
||||
// if (getperms('Z'))
|
||||
// {
|
||||
// $pclass_extended = $active_plugs ? 'header' : '';
|
||||
// $plugin_text = adnav_main(ADLAN_98, e_ADMIN.'plugin.php', E_16_PLUGMANAGER, FALSE, $pclass_extended);
|
||||
// $render_plugins = TRUE;
|
||||
// }
|
||||
|
||||
if ($render_plugins)
|
||||
{
|
||||
$text .= adnav_cat(ADLAN_CL_7, '', E_16_CAT_PLUG, 'plugMenu');
|
||||
$text .= "<div id='plugMenu' class='menu' onmouseover=\"menuMouseover(event)\">";
|
||||
@ -1393,7 +1394,8 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
||||
return $text;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* New Admin Navigation Routine.
|
||||
*/
|
||||
|
@ -1985,7 +1985,7 @@ class eRouter
|
||||
# Modify params if required
|
||||
if($params)
|
||||
{
|
||||
if($config['mapVars'])
|
||||
if(varset($config['mapVars']))
|
||||
{
|
||||
foreach ($config['mapVars'] as $srcKey => $dstKey)
|
||||
{
|
||||
@ -1998,7 +1998,7 @@ class eRouter
|
||||
}
|
||||
|
||||
// false means - no vars are allowed, nothing to preserve here
|
||||
if($config['allowVars'] === false) $params = array();
|
||||
if(varset($config['allowVars']) === false) $params = array();
|
||||
// default empty array value - try to guess what's allowed - mapVars is the best possible candidate
|
||||
elseif(empty($config['allowVars']) && !empty($config['mapVars'])) $params = array_unique(array_values($config['mapVars']));
|
||||
// disallow everything but valid URL parameters
|
||||
|
@ -1150,7 +1150,7 @@ class e_userperms
|
||||
|
||||
function __construct()
|
||||
{
|
||||
require_once(e_ADMIN."ad_links.php");
|
||||
// require_once(e_ADMIN."ad_links.php");
|
||||
$this->core_perms = array(
|
||||
|
||||
// In the same order as admin navigation!
|
||||
|
@ -1,632 +0,0 @@
|
||||
/* E107 CORE CSS *********************************************************************************************/
|
||||
.searchhighlight{text-decoration: underline; color:#FF0000; font-weight:bold; }
|
||||
|
||||
/*
|
||||
* e107 v0.800 - new class definitions
|
||||
*/
|
||||
|
||||
/* Core Formatting */
|
||||
.left { text-align: left }
|
||||
.right { text-align: right }
|
||||
.center { text-align: center }
|
||||
.f-left { float: left }
|
||||
.f-right { float: right }
|
||||
.top { vertical-align: top }
|
||||
.middle { vertical-align: middle }
|
||||
.bottom { vertical-align: bottom }
|
||||
.clear { clear: both }
|
||||
.clear-l { clear: right }
|
||||
.clear-r { clear: left }
|
||||
.smalltext { font-size: 11px; }
|
||||
.nowrap { white-space:nowrap; }
|
||||
|
||||
/* Core Icons & Image Buttons */
|
||||
img.icon { border: 0px; vertical-align: middle; }
|
||||
img.icon.list,
|
||||
input.action { margin: 0px 3px }
|
||||
img.icon.action,
|
||||
input.action { }
|
||||
img.S16 { width: 16px; height: 16px }
|
||||
img.S32 { width: 32px; height: 32px }
|
||||
img.S64 { width: 64px; height: 64px }
|
||||
img.S128 { width: 128px; height: 128px }
|
||||
img.edit,
|
||||
img.delete,
|
||||
input.delete { }
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
/* RESET CSS *********************************************************************************************/
|
||||
/* Global */
|
||||
* { margin:0; padding:0; }
|
||||
body { font:12px/1.5em Arial, Helvetica, sans-serif; }
|
||||
img { border:0; vertical-align:top; }
|
||||
a { text-decoration:underline; color: #13394E; }
|
||||
a:hover { text-decoration:underline; color: #CB0000; }
|
||||
a img { border:0; }
|
||||
:focus { outline:0; }
|
||||
|
||||
/* Headings */
|
||||
h1 { font-size:20px; font-weight:normal; line-height:1.3; }
|
||||
h2 { font-size:18px; font-weight:normal; line-height:1.34; }
|
||||
h3 { font-size:16px; font-weight:bold; line-height:1.375; }
|
||||
h4 { font-size:14px; font-weight:bold; }
|
||||
h5 { font-size:12px; font-weight:bold; }
|
||||
h6 { font-size:11px; font-weight:bold; }
|
||||
|
||||
/* Forms */
|
||||
form { display:inline; }
|
||||
fieldset { border: 0; margin-bottom: 10px; }
|
||||
input, select{ vertical-align:middle; }
|
||||
textarea { overflow:auto; }
|
||||
|
||||
/* Table */
|
||||
table { border:0; border-spacing:0; empty-cells:show; font-size:100%; width: 100%; }
|
||||
th { vertical-align:top; text-align:left; font-weight:normal; }
|
||||
td { vertical-align:top; }
|
||||
|
||||
/* Content */
|
||||
address { font-style:normal; }
|
||||
cite { font-style:normal; }
|
||||
q,
|
||||
blockquote { quotes:none; }
|
||||
q:before,
|
||||
q:after { content:''; }
|
||||
small,big { font-size:1em; }
|
||||
sup { font-size:1em; vertical-align:top; }
|
||||
|
||||
/* Lists */
|
||||
ul,ol { list-style:none; }
|
||||
|
||||
/* Tools */
|
||||
/*.no-display { display:none; }*/
|
||||
.no-margin { margin:0 !important; }
|
||||
.no-padding { padding:0 !important; }
|
||||
.no-bg { background:none !important; }
|
||||
.clear { clear: both; }
|
||||
|
||||
pre {
|
||||
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
|
||||
white-space: pre-wrap; /* css-3 */
|
||||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
/* width: 99%; */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
||||
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
/* E107 CORE ADMIN CSS *********************************************************************************************/
|
||||
|
||||
|
||||
/******** Decorate JS */
|
||||
/* Admin List Table */
|
||||
.adminlist { width:100%; border:1px solid #ddd;}
|
||||
.adminlist th { padding: 5px; border-bottom:1px solid #ddd; border-right: 1px solid #ddd; font-weight: bold; vertical-align: middle; }
|
||||
.adminlist td { padding: 5px; border-bottom:1px solid #ddd; border-right: 1px solid #ddd; vertical-align: middle; }
|
||||
.adminlist th.last,
|
||||
.adminlist td.last { border-right: 0px solid;}
|
||||
.adminlist tr.last td{ border-bottom: 0px solid;}
|
||||
.adminlist thead { background-color:#f2f2f2; }
|
||||
|
||||
.adminlist tbody {}
|
||||
.adminlist tfoot {}
|
||||
.adminlist tr.first {}
|
||||
.adminlist tr.last {}
|
||||
.adminlist tr.odd {}
|
||||
.adminlist tr.even { background-color:#f6f6f6; }
|
||||
|
||||
.adminlist .col-selection-cont { position: relative; float:right; }
|
||||
.col-selection-cont .col-selection { text-align:left; background-color: #FCFDFF; border: 1px outset black; width:200px; margin-right:0px; overflow:visible; position: absolute; z-index:101; right:0px;}
|
||||
.col-selection .col-selection-body { padding: 5px; clear: both; }
|
||||
|
||||
/* Form elements */
|
||||
input.input-text,
|
||||
textarea,
|
||||
select, .tbox {
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
|
||||
background:#fff;
|
||||
font:12px arial, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.helpbox {
|
||||
border: 0px;
|
||||
font: 12px arial, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
input[disabled='disabled'],
|
||||
textarea[disabled='disabled'],
|
||||
select[disabled='disabled'],
|
||||
.tbox.disabled,
|
||||
.disabled {
|
||||
background-color:#EFEFEF;
|
||||
color:#000;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
option { padding-left: 10px;}
|
||||
input.input-text, textarea, .tbox, .helpbox { padding:2px; }
|
||||
|
||||
select.tbox { min-height:17px; padding: 0px; /* setting the height of empty selects */ }
|
||||
.select.order { width: 40px !important; }
|
||||
.select.time-offset { width: 60px !important; }
|
||||
input.radio { margin-right: 3px; }
|
||||
label { cursor: pointer; }
|
||||
.checkbox { margin-right: 5px; }
|
||||
|
||||
/* BBcode textareas */
|
||||
div.bbarea.large, .tbox.large, .helpbox.large { width: 95% !important; }
|
||||
div.bbarea.medium, .tbox.medium, .helpbox.medium { width: 60% !important; }
|
||||
div.bbarea.small, .tbox.small, .helpbox.small { width: 250px !important; }
|
||||
|
||||
.check-block { /* see administration newspost.php */
|
||||
padding: 2px 0px;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
|
||||
background:#fff;
|
||||
font:12px arial, helvetica, sans-serif;
|
||||
overflow:auto
|
||||
}
|
||||
.check-block .checkbox { margin-left: 2px }
|
||||
.check-block .separator { clear: both; border-bottom: 1px solid #aaa; margin-bottom: 4px; height: 4px }
|
||||
|
||||
|
||||
.field-help { width: 280px; line-height: 1.4em; padding-top: 3px; color:#333333; font-size: 11px; }
|
||||
.label-note { font-style: italic; }
|
||||
.form-note { font-style: italic; }
|
||||
.field-spacer.strong { font-weight: bold }
|
||||
.required-label { font-weight: bold }
|
||||
|
||||
/* Related JS functionality - .autocheck together with .auto-toggle-area (see admin/image.php) */
|
||||
.auto-toggle-area { width: 280px; cursor: pointer; }
|
||||
|
||||
/* form used for settings */
|
||||
.col-label { width: 250px; }
|
||||
.col-control {}
|
||||
.col-selection { padding:5px; text-align:left; background-color: #FCFDFF; border: 1px outset black; width:200px; margin-right:0px;overflow:visible; position:absolute; z-index:101; right:0px;}
|
||||
|
||||
|
||||
/* TODO - rename it to adminprefs */
|
||||
.adminform { width:100%; border:1px solid #ddd;}
|
||||
|
||||
.adminform th { padding: 5px; font-weight: bold; white-space:nowrap; }
|
||||
.adminform td { padding: 5px; }
|
||||
|
||||
|
||||
.adminform td { padding: 5px; text-align: left}
|
||||
.adminform td div.field-spacer { margin-bottom: 3px; } /* multi-fields per row separator */
|
||||
.adminform td div.field-section { clear: both; margin-bottom: 10px; } /* multi-field sections per row - wrapper */
|
||||
|
||||
.adminform td .check-block { width:95%; height:60px; }
|
||||
|
||||
.adminform .select { width: 280px;}
|
||||
.adminform .input-text { width: 274px;}
|
||||
.adminform td.control textarea { width: 274px;}
|
||||
|
||||
.adminform td.label { }
|
||||
.adminform td.control { }
|
||||
|
||||
|
||||
/* form used for content edit */
|
||||
.adminedit { width:100%; border:1px solid #ddd;}
|
||||
.adminedit.options { } /* form used for content item options */
|
||||
.adminedit td { padding: 5px; text-align: left}
|
||||
.adminedit td div.field-spacer { clear: both; margin-bottom: 3px; } /* multi-fields per row - wrapper */
|
||||
.adminedit td div.field-section { clear: both; margin-bottom: 10px; } /* multi-field sections per row - wrapper */
|
||||
.adminedit .select { width: 280px; }
|
||||
.adminedit .input-text { width: 274px;}
|
||||
.adminedit td.control textarea { width: 274px;}
|
||||
.adminedit td.control textarea.large { width: 400px; }
|
||||
|
||||
.adminedit td .check-block { width:95%; height:60px; }
|
||||
|
||||
.adminedit td.label {}
|
||||
.adminedit td.control {}
|
||||
|
||||
|
||||
/* Admin Info Table TODO - box model (div) */
|
||||
.admininfo { width:100%; border:1px solid #ddd;}
|
||||
.admininfo td { padding: 1px 5px; text-align: left}
|
||||
|
||||
|
||||
.info-bar { padding: 5px 0px; }
|
||||
|
||||
/* Images and avatars */
|
||||
.image-box {border:1px solid #ddd; margin-right: 10px; position: relative; margin-bottom: 10px; }
|
||||
.image-box .spacer { }
|
||||
.image-box .image-name { padding: 5px; }
|
||||
.image-box .image-delete { position: absolute ; bottom: 10px; text-align: center; width: 100%}
|
||||
.image-box .image-users {padding: 5px;}
|
||||
.image-box .image-preview {padding: 5px;}
|
||||
|
||||
/******** Prepare for Image Preview JS */
|
||||
.image-preview {}
|
||||
|
||||
/******** Tabs JS */
|
||||
.admintabs ul.e-tabs { border-bottom: 1px solid #DDDDDD; height: 31px; }
|
||||
.admintabs ul.e-tabs li { border: 1px solid #DDDDDD; display: block; float: left; line-height: 30px; padding: 0px 7px; margin-right: 3px; background-color: #F9F9F9 }
|
||||
.admintabs fieldset { clear: both ; border: 1px solid #DDDDDD; padding: 10px; border-top: 0px none; }
|
||||
.admintabs fieldset legend { border: 1px solid #DDDDDD; }
|
||||
.admintabs ul.e-tabs li.active { border-bottom: 1px solid #FFFFFF; background-color: #FFFFFF}
|
||||
|
||||
/******** SyS Messages / Message text formatting */
|
||||
/* message boxes */
|
||||
.s-message { }
|
||||
|
||||
.s-message div.info,
|
||||
.s-message div.error,
|
||||
.s-message div.success,
|
||||
.s-message div.debug,
|
||||
.s-message div.warning { padding: 5px; margin-bottom: 10px; }
|
||||
|
||||
|
||||
.s-message div.info { background-color:#C1E0FF; border: 1px solid #3399FF; }
|
||||
.s-message div.error { background-color:#FFCECE; border: 1px solid #CC0000; }
|
||||
.s-message div.success { background-color:#DFFFDF; border: 1px solid #009900; }
|
||||
.s-message div.warning { background-color:#FFFFD5; border: 1px solid #FFCC00; }
|
||||
.s-message div.debug { background-color:#FFFFFF; border: 1px solid #EAEAEA; }
|
||||
|
||||
.s-message .s-message-title { height: 32px; background: 0 50% no-repeat; padding-left: 42px; font-size: 14px; font-weight: bold; line-height: 32px; }
|
||||
|
||||
.s-message div.info .s-message-title { background-image: url(images/messagebox_info.png); }
|
||||
.s-message div.error .s-message-title { background-image: url(images/messagebox_critical.png); }
|
||||
.s-message div.success .s-message-title { background-image: url(images/ok.png); }
|
||||
.s-message div.warning .s-message-title { background-image: url(images/messagebox_warning.png); }
|
||||
.s-message div.debug .s-message-title { background-image: url(images/messagebox_info.png); }
|
||||
|
||||
.s-message-body { padding-left: 42px; }
|
||||
.s-message-item {}
|
||||
|
||||
/* validate result inline message */
|
||||
.validate-result {}
|
||||
|
||||
/* message text (overall) */
|
||||
.warning { color: #FF6600 }
|
||||
.success { color: green; }
|
||||
.error { color: #FF0000 }
|
||||
.info {}
|
||||
.required { color:red }
|
||||
|
||||
/******** Tooltip info */
|
||||
.e-info {}
|
||||
|
||||
/******** Admin Buttons */
|
||||
button {
|
||||
border:0;
|
||||
cursor:pointer;
|
||||
font:bold 12px arial, helvetica, sans-serif;
|
||||
padding:0 10px 0 0;
|
||||
text-align:center;
|
||||
color:#0b333c;
|
||||
}
|
||||
button span {
|
||||
position:relative;
|
||||
display:block;
|
||||
white-space:nowrap;
|
||||
padding:0 0 0 13px;
|
||||
height:22px; line-height:22px; color:#0b333c;
|
||||
}
|
||||
|
||||
/*blue buttons*/
|
||||
button { background:url(images/btn_right.gif) right no-repeat; }
|
||||
button span { background:url(images/btn_left.gif) left no-repeat; }
|
||||
|
||||
button:hover,
|
||||
button:focus { background:url(images/btn_over_right.gif) right no-repeat; }
|
||||
button:hover span,
|
||||
button:focus span { background:url(images/btn_over_left.gif) left no-repeat; }
|
||||
|
||||
|
||||
button:active { background:url(images/btn_active_right.gif) right no-repeat; }
|
||||
button:active span { background:url(images/btn_active_left.gif) left no-repeat; }
|
||||
|
||||
button::-moz-focus-inner { border: none; } /*To all who have a problem with 1px spans offset in firefox, the following sentence will solve this problem: */
|
||||
|
||||
button.delete span { padding-left: 30px; }
|
||||
button.delete span { background-image:url(images/btn_remove_left.gif); }
|
||||
button.delete:hover span,
|
||||
button.delete:focus span { background-image:url(images/btn_remove_over_left.gif) }
|
||||
button.delete:active span { background-image:url(images/btn_remove_active_left.gif)}
|
||||
|
||||
/*default submit*/
|
||||
button.submit span {}
|
||||
button.submit span {}
|
||||
button.submit:hover span,
|
||||
button.submit:focus span {}
|
||||
button.submit:active span {}
|
||||
|
||||
|
||||
button.update span { padding-left: 30px; }
|
||||
button.update span { background-image:url(images/btn_update_left.gif); }
|
||||
button.update:hover span,
|
||||
button.update:focus span { background-image:url(images/btn_update_over_left.gif)}
|
||||
button.update:active span { background-image:url(images/btn_update_active_left.gif)}
|
||||
|
||||
button.create span { padding-left: 30px; }
|
||||
button.create span {}
|
||||
button.create:hover span,
|
||||
button.create:focus span {}
|
||||
button.create:active span {}
|
||||
|
||||
button.edit span { padding-left: 30px; }
|
||||
button.edit span {}
|
||||
button.edit:hover span,
|
||||
button.edit:focus span {}
|
||||
button.edit:active span {}
|
||||
|
||||
button.cancel span {}
|
||||
button.cancel span {}
|
||||
button.cancel:hover span,
|
||||
button.cancel:focus span {}
|
||||
button.cancel:active span {}
|
||||
|
||||
|
||||
.buttons-bar { padding: 10px 0px; }
|
||||
.buttons-bar button { margin-right: 10px; }
|
||||
.buttons-bar button.f-right { margin-right: 0px; }
|
||||
.buttons-bar .options { margin-bottom: 10px; }
|
||||
|
||||
/* Actions (adminlist) - input type image */
|
||||
input.action { vertical-align: middle; } /* default */
|
||||
input.action.delete {}
|
||||
input.action.edit {}
|
||||
|
||||
/********** Page Loading Status default style */
|
||||
#loading-mask { color: #556B2F; font-size: 1.2em; font-weight:bold; position:absolute; text-align: center; padding: 0; margin: 0; background-color: transparent; }
|
||||
#loading-mask .loader { position: fixed; top: 40%; left: 50%; width: 200px; text-align: center; background: #F0F9E3 none repeat scroll 0 0; border: 2px solid #556B2F; font-weight: bold; padding: 10px 5px; margin-left: -100px; margin-top: 0; }
|
||||
#loading-mask img { margin: 10px auto; }
|
||||
|
||||
/********** Element Loading Status default style */
|
||||
.element-loading-mask { background-repeat: no-repeat; background-position: 50% 50%; background-color: #f5f5f5; }
|
||||
|
||||
/********** Auto complete default style */
|
||||
div.e-autocomplete {
|
||||
position:absolute;
|
||||
width:250px;
|
||||
background-color:white;
|
||||
border:1px solid #c0c0c0;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
div.e-autocomplete ul {
|
||||
list-style-type:none;
|
||||
margin:0;
|
||||
padding:0;
|
||||
font-weight: bold; font-size: 11px
|
||||
}
|
||||
div.e-autocomplete ul li.selected { background-color: #f5f5f5;}
|
||||
div.e-autocomplete ul li {
|
||||
list-style-type:none;
|
||||
display:block;
|
||||
margin:0;
|
||||
padding: 5px;
|
||||
cursor:pointer;
|
||||
|
||||
}
|
||||
div.e-autocomplete ul li span.informal { font-weight: normal; font-size: 9px}
|
||||
|
||||
/********** Docs */
|
||||
#docs-list { padding: 10px; margin-bottom: 15px; border: 1px solid #f5f5f5; }
|
||||
#docs-list .qitem { margin: 3px 0; padding-left: 10px; }
|
||||
.docs-item { padding: 10px; margin: 15px 0; border: 1px solid #f5f5f5; }
|
||||
|
||||
.docs-item .qitem,
|
||||
.docs-item .aitem,
|
||||
.docs-item .gotop { margin: 3px 0; padding-left: 10px; }
|
||||
|
||||
.docs-item .qitem { font-weight: bold; }
|
||||
.docs-item .aitem { margin-bottom: 10px; }
|
||||
|
||||
.docs-item h4,
|
||||
#docs-list h4 { margin-bottom: 8px; }
|
||||
|
||||
#docs-bottom-nav { height: 800px; }
|
||||
|
||||
/********** Misc */
|
||||
.e-pointer { cursor: pointer; } /* Pointer Hand */
|
||||
.expand-container { padding: 10px; } /* Block with expandable items */
|
||||
.nextprev-bar { clear: both; padding: 5px; font-size: 14px; margin: 5px; border:1px solid #ddd; } /* Page NextPrev navigation block */
|
||||
.imgselector-container { clear: both; } /* ImageSelector.sc */
|
||||
|
||||
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
|
||||
/* THEME SPECIFIC CSS *********************************************************************************************/
|
||||
/******** Page Base */
|
||||
.admin-wrapper { width: 100%; }
|
||||
.admin-header { padding: 20px 15px 0; }
|
||||
.admin-header-content { border: 1px solid #DDDDDD; }
|
||||
.admin-page-body { padding: 20px 15px 0; }
|
||||
.admin-footer {}
|
||||
legend { font-size: 14px; font-weight: bold; padding: 5px; }
|
||||
|
||||
/******** Layout */
|
||||
.main-table { width: 100%; border: 0 none; }
|
||||
.col-left { width: 220px;}
|
||||
.col-right { width: 220px;}
|
||||
.col-main { padding: 0 15px 0 0;}
|
||||
.inner-wrapper { }
|
||||
|
||||
/******** Horizontal navigation ADMIN_NAV_ALT */
|
||||
.admin-navigation { border: 1px solid #DDDDDD;}
|
||||
|
||||
/******** Side Navigation
|
||||
- Admin Navigation
|
||||
- Plugin Navigation
|
||||
*/
|
||||
ul.plugin-navigation { }
|
||||
ul.plugin-navigation a { text-decoration: none; }
|
||||
|
||||
ul.plugin-navigation li { padding: 0px 10px 0px; }
|
||||
ul.plugin-navigation a.link {}
|
||||
ul.plugin-navigation a.link-active {font-weight: bold;}
|
||||
|
||||
ul.plugin-navigation ul.plugin-navigation-sub {}
|
||||
ul.plugin-navigation ul.plugin-navigation-sub li { padding: 0px 10px 0px; }
|
||||
ul.plugin-navigation ul.plugin-navigation-sub a.link {}
|
||||
ul.plugin-navigation ul.plugin-navigation-sub a.link-active {font-weight: bold;}
|
||||
|
||||
|
||||
/******** Block Elements */
|
||||
.block { border: 1px solid #DDDDDD; margin-bottom: 10px;}
|
||||
.block-text { padding: 10px 10px 10px; }
|
||||
.block h2.caption, .block h4.caption { padding: 5px 10px 5px; border-bottom: 1px solid #DDDDDD; }
|
||||
.page-info { border: 1px solid #DDDDDD; margin-bottom: 10px; }
|
||||
.page-info p { padding: 10px; }
|
||||
|
||||
|
||||
|
||||
/***** Admin Info Panel Buttons **/
|
||||
|
||||
.core-mainpanel-block { text-align:center; width:100px; float:left; height:48px; display:block;margin:15px; }
|
||||
.core-mainpanel-link-text { font-weight:bold; text-decoration: none; padding:3px }
|
||||
|
||||
/*****************************/
|
||||
|
||||
#core-banlist-times .textarea { width: 98%; }
|
||||
|
||||
#core-emoticon-configure input.input-text { width: 300px; }
|
||||
#core-links-edit textarea { width: 390px !important; }
|
||||
#core-links-edit .helpbox { width: 390px !important; margin: 5px 0px; }
|
||||
#core-links-edit .field-help { width: 390px; }
|
||||
|
||||
#core-admin-log-config legend { font-weight: bold; }
|
||||
|
||||
#core-admin-log-maintenance .select { width: 60px; }
|
||||
#core-admin-log-maintenance button { margin-left: 10px; }
|
||||
|
||||
#core-frontpage-edit-home { width: 50%; float: left; }
|
||||
#core-frontpage-edit-post-login { width: 50%; float: left; }
|
||||
#core-frontpage-edit-home .adminlist { width: 99%; }
|
||||
#core-frontpage-edit-post-login .adminlist { width: 99%; float: right; }
|
||||
#core-frontpage-edit .tbox { width: 80%;}
|
||||
#core-frontpage-edit select.tbox { width: 50%;}
|
||||
#core-frontpage-edit .buttons-bar select.tbox { width: 140px; }
|
||||
#core-frontpage-edit .buttons-bar { clear: both; }
|
||||
|
||||
/******** Core Block IDs */
|
||||
/* admin_log.php */
|
||||
#core-admin-log-config {}
|
||||
#core-admin-log-options {}
|
||||
#core-admin-log-maintenance {}
|
||||
#core-admin-log-filter {}
|
||||
#core-admin-log-list {}
|
||||
#core-admin-log-confirm-delete {}
|
||||
|
||||
/* administrator.php */
|
||||
#core-administrator-list {} /* List current administrators - Default front page */
|
||||
#core-administrator-edit {} /* Edit administrators permissions */
|
||||
|
||||
/* banlist.php */
|
||||
#core-banlist-options {}
|
||||
#core-banlist-options-ban {}
|
||||
#core-banlist-times {}
|
||||
#core-banlist-edit {}
|
||||
#core-banlist-transfer-export {}
|
||||
#core-banlist-transfer-import {}
|
||||
|
||||
/* banner.php */
|
||||
#core-banner-list {}
|
||||
#core-banner-edit {}
|
||||
#core-banner-menu {}
|
||||
|
||||
/* cache.php */
|
||||
#core-cache-settings {} /* General cache settings - Default front page */
|
||||
|
||||
/* cpage */
|
||||
#core-cpage-list {}
|
||||
#core-cpage-create {}
|
||||
#core-cpage-create-general {}
|
||||
#core-cpage-create-options {}
|
||||
#core-cpage-options {}
|
||||
|
||||
/* emoticon.php */
|
||||
#core-emoticon-activate {} /* Emote activation - Default front page */
|
||||
#core-emoticon-packages {} /* Installed packs - Default front page */
|
||||
#core-emoticon-configure {} /* Configure an individual emote pack */
|
||||
|
||||
/* eurl.php */
|
||||
#core-eurl-core {}
|
||||
#core-eurl-plugin {}
|
||||
|
||||
/* frontpage.php */
|
||||
#core-frontpage-settings {} /* Display list of current settings - Default front page */
|
||||
#core-frontpage-edit {} /* Add / Edit existing rule - form */
|
||||
#core-frontpage-edit-home {} /* Add / Edit existing rule for home page */
|
||||
#core-frontpage-edit-post-login {} /* Add / Edit existing rule for post-login page */
|
||||
|
||||
/* image.php */
|
||||
#core-image-check-avatar {} /* Check avatar sizes table */
|
||||
#core-image-settings {} /* General image settings - Default front page */
|
||||
|
||||
/* lancheck.php */
|
||||
#core-lancheck-edit {} /* Edid language file */
|
||||
|
||||
/* language.php */
|
||||
#core-language-settings {} /* Language Preferences - Default front page */
|
||||
#core-language-list {} /* Multi-language DB tables list */
|
||||
#core-language-edit {} /* Edit Multi-language DB tables */
|
||||
#core-language-lancheck {} /* Language Tools - Verify/Edit Language Files */
|
||||
#core-language-package {} /* Language Tools - Create Language-Pack (zip) */
|
||||
|
||||
/* links.php */
|
||||
#core-links-list-1 {} /* Display list of current links - Links Front Page */
|
||||
#core-links-list-2 {} /* Display list of current links - Links Front Page */
|
||||
#core-links-list-3 {} /* Display list of current links - Links Front Page */
|
||||
#core-links-list-4 {} /* Display list of current links - Links Front Page */
|
||||
#core-links-create {} /* Create or edit link - Create New Link*/
|
||||
#core-links-options {} /* Links general settins - Options */
|
||||
#core-links-generator {} /* Sublink Generator */
|
||||
|
||||
/* meta.php */
|
||||
#dataform {} /* Form tag ID - Default front page - old core definition */
|
||||
#core-meta-settings {} /* General meta settings - Default front page */
|
||||
|
||||
/* newspost.php */
|
||||
#core-newspost-list {}
|
||||
#core-newspost-edit {}
|
||||
#core-newspost-edit-options {}
|
||||
#core-newspost-cat-edit {}
|
||||
#core-newspost-cat-list {}
|
||||
#core-newspost-settings {}
|
||||
#core-newspost-sn-list {}
|
||||
|
||||
|
||||
/* prefs.php */
|
||||
#core-prefs {} /* Main continer - contains all block lemenst from bewlow */
|
||||
#core-prefs-main {} /* Settings section - Site Information */
|
||||
#core-prefs-display {} /* Settings section - Display Information */
|
||||
#core-prefs-admindisp {} /* Settings section - Admin Display Options */
|
||||
#core-prefs-date {} /* Settings section - Date display options */
|
||||
#core-prefs-registration {} /* Settings section - User registration-posting */
|
||||
#core-prefs-signup {} /* Settings section - Signup Page Options */
|
||||
#core-prefs-textpost {} /* Settings section - Text rendering */
|
||||
#core-prefs-security {} /* Settings section - Security & Protection */
|
||||
#core-prefs-comments {} /* Settings section - Comments */
|
||||
#core-prefs-advanced {} /* Settings section - Advanced Features */
|
||||
|
||||
/* search.php */
|
||||
#core-search-configuration-main {} /* Search Configuration for Searchable Areas - Default front page */
|
||||
#core-search-configuration-comm {} /* Search Configuration for Searchable Comments Areas - Default front page */
|
||||
#core-search-edit {} /* Edit search settings for specific area */
|
||||
#core-search-settings {} /* General search settings */
|
||||
|
||||
/* ugflag.php */
|
||||
#core-ugflag {}
|
||||
|
||||
/* updateadmin.php */
|
||||
#core-updateadmin {}
|
||||
|
||||
/* upload.php */
|
||||
#core-upload-filetypes {}
|
||||
#core-upload-options {}
|
||||
#core-upload-list {}
|
||||
|
||||
/* wmessage.php */
|
||||
#core-wmessage-list {}
|
||||
#core-wmessage-create {}
|
||||
#core-wmessage-settings {}
|
@ -1,586 +0,0 @@
|
||||
/* E107 CORE CSS *********************************************************************************************/
|
||||
.searchhighlight{text-decoration: underline; color:#FF0000; font-weight:bold; }
|
||||
|
||||
/*
|
||||
* e107 v0.800 - new class definitions
|
||||
*/
|
||||
|
||||
/* Core Formatting */
|
||||
.left { text-align: left }
|
||||
.right { text-align: right }
|
||||
.center { text-align: center }
|
||||
.f-left { float: left }
|
||||
.f-right { float: right }
|
||||
.top { vertical-align: top }
|
||||
.middle { vertical-align: middle }
|
||||
.bottom { vertical-align: bottom }
|
||||
.clear { clear: both }
|
||||
.clear-l { clear: right }
|
||||
.clear-r { clear: left }
|
||||
.smalltext { font-size: 11px; }
|
||||
.nowrap { white-space:nowrap; }
|
||||
|
||||
/* Core Icons */
|
||||
img.icon { border: 0 }
|
||||
img.icon.list { margin: 0px 5px 5px 0px }
|
||||
img.icon.action { vertical-align: middle }
|
||||
img.S16 { width: 16px; height: 16px }
|
||||
img.S32 { width: 32px; height: 32px }
|
||||
img.S64 { width: 64px; height: 64px }
|
||||
img.S128 { width: 128px; height: 128px }
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
/* RESET CSS *********************************************************************************************/
|
||||
/* Global */
|
||||
* { margin:0; padding:0; }
|
||||
body { font:12px/1.5em Arial, Helvetica, sans-serif; color:white; background-color:black; }
|
||||
|
||||
|
||||
img { border:0; vertical-align:top; }
|
||||
a { text-decoration:underline; color: #13394E; }
|
||||
a:hover { text-decoration:underline; color: #CB0000; }
|
||||
a img { border:0; }
|
||||
:focus { outline:0; }
|
||||
|
||||
/* Headings */
|
||||
h1 { font-size:20px; font-weight:normal; line-height:1.3; }
|
||||
h2 { font-size:18px; font-weight:normal; line-height:1.34; }
|
||||
h3 { font-size:16px; font-weight:bold; line-height:1.375; }
|
||||
h4 { font-size:14px; font-weight:bold; }
|
||||
h5 { font-size:12px; font-weight:bold; }
|
||||
h6 { font-size:11px; font-weight:bold; }
|
||||
|
||||
/* Forms */
|
||||
form { display:inline; }
|
||||
fieldset { border: 0; margin-bottom: 10px; }
|
||||
input, select{ vertical-align:middle; }
|
||||
textarea { overflow:auto; }
|
||||
|
||||
/* Table */
|
||||
table { border:0; border-spacing:0; empty-cells:show; font-size:100%; width: 100%; }
|
||||
th { vertical-align:top; text-align:left; font-weight:normal; }
|
||||
td { vertical-align:top; }
|
||||
|
||||
/* Content */
|
||||
address { font-style:normal; }
|
||||
cite { font-style:normal; }
|
||||
q,
|
||||
blockquote { quotes:none; }
|
||||
q:before,
|
||||
q:after { content:''; }
|
||||
small,big { font-size:1em; }
|
||||
sup { font-size:1em; vertical-align:top; }
|
||||
|
||||
/* Lists */
|
||||
ul,ol { list-style:none; }
|
||||
|
||||
/* Tools */
|
||||
.no-display { display:none; }
|
||||
.no-margin { margin:0 !important; }
|
||||
.no-padding { padding:0 !important; }
|
||||
.no-bg { background:none !important; }
|
||||
.clear { clear: both; }
|
||||
|
||||
pre {
|
||||
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
|
||||
white-space: pre-wrap; /* css-3 */
|
||||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
/* width: 99%; */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
||||
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
/* E107 CORE ADMIN CSS *********************************************************************************************/
|
||||
|
||||
|
||||
/******** Decorate JS */
|
||||
/* Admin List Table */
|
||||
.adminlist { width:100%; border:1px solid #ddd;}
|
||||
.adminlist th { padding: 5px; border-bottom:1px solid #ddd; border-right: 1px solid #ddd; font-weight: bold }
|
||||
.adminlist td { padding: 5px; border-bottom:1px solid #ddd; border-right: 1px solid #ddd; }
|
||||
.adminlist th.last,
|
||||
.adminlist td.last { border-right: 0px solid;}
|
||||
.adminlist tr.last td{ border-bottom: 0px solid;}
|
||||
.adminlist thead { background-color:#f2f2f2; }
|
||||
|
||||
.adminlist tbody {}
|
||||
.adminlist tfoot {}
|
||||
.adminlist tr.first {}
|
||||
.adminlist tr.last {}
|
||||
.adminlist tr.odd {}
|
||||
.adminlist tr.even { background-color:#f6f6f6; }
|
||||
|
||||
/* Form elements */
|
||||
input.input-text,
|
||||
textarea,
|
||||
select, .tbox, .helpbox {
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
|
||||
background:#fff;
|
||||
font:12px arial, helvetica, sans-serif;
|
||||
}
|
||||
option { padding-right: 10px;}
|
||||
input.input-text, textarea, .tbox, .helpbox { padding:2px; }
|
||||
.tbox.large { width: 95% !important; }
|
||||
select.tbox { min-height:17px; padding: 0px; /* setting the height of empty selects */ }
|
||||
.select.order { width: 40px !important; }
|
||||
.select.time-offset { width: 60px !important; }
|
||||
input.radio { margin-right: 3px; }
|
||||
label { cursor: pointer; }
|
||||
.checkbox { margin-right: 5px; }
|
||||
|
||||
.check-block { /* see administration newspost.php */
|
||||
padding: 2px 0px;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
|
||||
background:#fff;
|
||||
font:12px arial, helvetica, sans-serif;
|
||||
overflow:auto
|
||||
}
|
||||
.check-block .checkbox { margin-left: 2px }
|
||||
.check-block .separator { clear: both; border-bottom: 1px solid #aaa; margin-bottom: 4px; height: 4px }
|
||||
|
||||
|
||||
.field-help { width: 280px; line-height: 1.4em; padding-top: 3px; color:#333333; font-size: 11px; }
|
||||
.label-note { font-style: italic; }
|
||||
.form-note { font-style: italic; }
|
||||
.field-spacer.strong { font-weight: bold }
|
||||
|
||||
/* Related JS functionality - .autocheck together with .auto-toggle-area (see admin/image.php) */
|
||||
.auto-toggle-area { width: 280px; cursor: pointer; }
|
||||
|
||||
/* form used for settings */
|
||||
.col-label { width: 250px; background-color:#696969 }
|
||||
.col-control {background-color: #C0C0C0}
|
||||
.col-selection { padding:5px; text-align:left; background-color: #FCFDFF; border: 1px outset black; width:200px; margin-right:0px;overflow:visible; position:absolute; z-index:101; right:0px;}
|
||||
|
||||
|
||||
|
||||
.adminform { width:100%; border:1px solid #ddd;}
|
||||
|
||||
.adminform th { padding: 5px; font-weight: bold; white-space:nowrap; }
|
||||
.adminform td { padding: 5px; }
|
||||
|
||||
|
||||
.adminform td { padding: 5px; text-align: left}
|
||||
.adminform td div.field-spacer { margin-bottom: 3px; } /* multi-fields per row separator */
|
||||
.adminform td div.field-section { clear: both; margin-bottom: 10px; } /* multi-field sections per row - wrapper */
|
||||
|
||||
.adminform td .check-block { width:95%; height:60px; }
|
||||
|
||||
.adminform .select { width: 280px;}
|
||||
.adminform .input-text { width: 274px;}
|
||||
.adminform td.control textarea { width: 274px;}
|
||||
|
||||
.adminform td.label { }
|
||||
.adminform td.control { }
|
||||
|
||||
|
||||
/* form used for content edit */
|
||||
.adminedit { width:100%; border:1px solid #ddd;}
|
||||
.adminedit.options { } /* form used for content item options */
|
||||
.adminedit td { padding: 5px; text-align: left}
|
||||
.adminedit td div.field-spacer { clear: both; margin-bottom: 3px; } /* multi-fields per row - wrapper */
|
||||
.adminedit td div.field-section { clear: both; margin-bottom: 10px; } /* multi-field sections per row - wrapper */
|
||||
.adminedit .select { width: 280px; }
|
||||
.adminedit .input-text { width: 274px;}
|
||||
.adminedit td.control textarea { width: 274px;}
|
||||
.adminedit td.control textarea.large { width: 400px; }
|
||||
|
||||
.adminedit td .check-block { width:95%; height:60px; }
|
||||
|
||||
.adminedit td.label {}
|
||||
.adminedit td.control {}
|
||||
|
||||
|
||||
/* Admin Info Table */
|
||||
.admininfo { width:100%; border:1px solid #ddd;}
|
||||
.admininfo td { padding: 1px 5px; text-align: left}
|
||||
|
||||
|
||||
.info-bar { padding: 5px 0px; }
|
||||
|
||||
/* Images and avatars */
|
||||
.image-box {border:1px solid #ddd; margin-right: 10px; position: relative; margin-bottom: 10px; }
|
||||
.image-box .spacer { }
|
||||
.image-box .image-name { padding: 5px; }
|
||||
.image-box .image-delete { position: absolute ; bottom: 10px; text-align: center; width: 100%}
|
||||
.image-box .image-users {padding: 5px;}
|
||||
.image-box .image-preview {padding: 5px;}
|
||||
|
||||
/******** Prepare for Image Preview JS */
|
||||
.image-preview {}
|
||||
|
||||
/******** Tabs JS */
|
||||
.admintabs ul.e-tabs { border-bottom: 1px solid #DDDDDD; height: 31px; }
|
||||
.admintabs ul.e-tabs li { border: 1px solid #DDDDDD; display: block; float: left; line-height: 30px; padding: 0px 7px; margin-right: 3px; background-color: #F9F9F9 }
|
||||
.admintabs fieldset { clear: both ; border: 1px solid #DDDDDD; padding: 10px; border-top: 0px none; }
|
||||
.admintabs fieldset legend { border: 1px solid #DDDDDD; }
|
||||
.admintabs ul.e-tabs li.active { border-bottom: 1px solid #FFFFFF; background-color: #FFFFFF}
|
||||
|
||||
/******** SyS Messages / Message text formatting */
|
||||
/* message boxes */
|
||||
.s-message { }
|
||||
|
||||
.s-message div.info,
|
||||
.s-message div.error,
|
||||
.s-message div.success,
|
||||
.s-message div.debug,
|
||||
.s-message div.warning { padding: 5px; margin-bottom: 10px; }
|
||||
|
||||
|
||||
.s-message div.info { background-color:#C1E0FF; border: 1px solid #3399FF; }
|
||||
.s-message div.error { background-color:#FFCECE; border: 1px solid #CC0000; }
|
||||
.s-message div.success { background-color:#DFFFDF; border: 1px solid #009900; }
|
||||
.s-message div.warning { background-color:#FFFFD5; border: 1px solid #FFCC00; }
|
||||
.s-message div.debug { background-color:#FFFFFF; border: 1px solid #EAEAEA; }
|
||||
|
||||
.s-message .s-message-title { height: 32px; background: 0 50% no-repeat; padding-left: 42px; font-size: 14px; font-weight: bold; line-height: 32px; }
|
||||
|
||||
.s-message div.info .s-message-title { background-image: url(images/messagebox_info.png); }
|
||||
.s-message div.error .s-message-title { background-image: url(images/messagebox_critical.png); }
|
||||
.s-message div.success .s-message-title { background-image: url(images/ok.png); }
|
||||
.s-message div.warning .s-message-title { background-image: url(images/messagebox_warning.png); }
|
||||
.s-message div.debug .s-message-title { background-image: url(images/messagebox_info.png); }
|
||||
|
||||
.s-message-body { padding-left: 42px; }
|
||||
.s-message-item {}
|
||||
|
||||
/* validate result inline message */
|
||||
.validate-result {}
|
||||
|
||||
/* message text (overall) */
|
||||
.warning { color: #FF6600 }
|
||||
.success { color: green; }
|
||||
.error { color: #FF0000 }
|
||||
.info {}
|
||||
|
||||
/******** Tooltip info */
|
||||
.e-info {}
|
||||
|
||||
/******** Admin Buttons */
|
||||
button {
|
||||
border:0;
|
||||
cursor:pointer;
|
||||
font:bold 12px arial, helvetica, sans-serif;
|
||||
padding:0 10px 0 0;
|
||||
text-align:center;
|
||||
color:#0b333c;
|
||||
}
|
||||
button span {
|
||||
position:relative;
|
||||
display:block;
|
||||
white-space:nowrap;
|
||||
padding:0 0 0 13px;
|
||||
height:22px; line-height:22px; color:#0b333c;
|
||||
}
|
||||
|
||||
/*blue buttons*/
|
||||
button { background:url(images/btn_right.gif) right no-repeat; }
|
||||
button span { background:url(images/btn_left.gif) left no-repeat; }
|
||||
|
||||
button:hover,
|
||||
button:focus { background:url(images/btn_over_right.gif) right no-repeat; }
|
||||
button:hover span,
|
||||
button:focus span { background:url(images/btn_over_left.gif) left no-repeat; }
|
||||
|
||||
|
||||
button:active { background:url(images/btn_active_right.gif) right no-repeat; }
|
||||
button:active span { background:url(images/btn_active_left.gif) left no-repeat; }
|
||||
|
||||
button::-moz-focus-inner { border: none; } /*To all who have a problem with 1px spans offset in firefox, the following sentence will solve this problem: */
|
||||
|
||||
button.delete span { padding-left: 30px; }
|
||||
button.delete span { background-image:url(images/btn_remove_left.gif); }
|
||||
button.delete:hover span,
|
||||
button.delete:focus span { background-image:url(images/btn_remove_over_left.gif) }
|
||||
button.delete:active span { background-image:url(images/btn_remove_active_left.gif)}
|
||||
|
||||
/*default submit*/
|
||||
button.submit span {}
|
||||
button.submit span {}
|
||||
button.submit:hover span,
|
||||
button.submit:focus span {}
|
||||
button.submit:active span {}
|
||||
|
||||
|
||||
button.update span { padding-left: 30px; }
|
||||
button.update span { background-image:url(images/btn_update_left.gif); }
|
||||
button.update:hover span,
|
||||
button.update:focus span { background-image:url(images/btn_update_over_left.gif)}
|
||||
button.update:active span { background-image:url(images/btn_update_active_left.gif)}
|
||||
|
||||
button.create span { padding-left: 30px; }
|
||||
button.create span {}
|
||||
button.create:hover span,
|
||||
button.create:focus span {}
|
||||
button.create:active span {}
|
||||
|
||||
button.edit span { padding-left: 30px; }
|
||||
button.edit span {}
|
||||
button.edit:hover span,
|
||||
button.edit:focus span {}
|
||||
button.edit:active span {}
|
||||
|
||||
button.cancel span {}
|
||||
button.cancel span {}
|
||||
button.cancel:hover span,
|
||||
button.cancel:focus span {}
|
||||
button.cancel:active span {}
|
||||
|
||||
|
||||
.buttons-bar { padding: 10px 0px; }
|
||||
.buttons-bar button { margin-right: 10px; }
|
||||
.buttons-bar button.f-right { margin-right: 0px; }
|
||||
|
||||
div.buttons-bar {
|
||||
background-color:#DCDCDC;
|
||||
}
|
||||
|
||||
|
||||
legend {
|
||||
background-color:black;color:white;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Actions (adminlist) - input type image */
|
||||
input.action { vertical-align: middle; } /* default */
|
||||
input.action.delete {}
|
||||
input.action.edit {}
|
||||
|
||||
/********** Page Loading Status default style */
|
||||
#loading-mask { color: #556B2F; font-size: 1.2em; font-weight:bold; position:absolute; text-align: center; padding: 0; margin: 0; background-color: transparent; }
|
||||
#loading-mask .loader { position: fixed; top: 40%; left: 50%; width: 200px; text-align: center; background: #F0F9E3 none repeat scroll 0 0; border: 2px solid #556B2F; font-weight: bold; padding: 10px 5px; margin-left: -100px; margin-top: 0; }
|
||||
#loading-mask img { margin: 10px auto; }
|
||||
|
||||
/********** Element Loading Status default style */
|
||||
.element-loading-mask { background-repeat: no-repeat; background-position: 50% 50%; background-color: #f5f5f5; }
|
||||
|
||||
/********** Docs */
|
||||
#docs-list { padding: 10px; margin-bottom: 15px; border: 1px solid #f5f5f5; }
|
||||
#docs-list .qitem { margin: 3px 0; padding-left: 10px; }
|
||||
.docs-item { padding: 10px; margin: 15px 0; border: 1px solid #f5f5f5; }
|
||||
|
||||
.docs-item .qitem,
|
||||
.docs-item .aitem,
|
||||
.docs-item .gotop { margin: 3px 0; padding-left: 10px; }
|
||||
|
||||
.docs-item .qitem { font-weight: bold; }
|
||||
.docs-item .aitem { margin-bottom: 10px; }
|
||||
|
||||
.docs-item h4,
|
||||
#docs-list h4 { margin-bottom: 8px; }
|
||||
|
||||
#docs-bottom-nav { height: 800px; }
|
||||
|
||||
/********** Misc */
|
||||
.e-pointer { cursor: pointer; } /* Pointer Hand */
|
||||
.expand-container { padding: 10px; } /* Block with expandable items */
|
||||
.nextprev-bar { clear: both; padding: 5px; font-size: 14px; margin: 5px; border:1px solid #ddd; } /* Page NextPrev nabigation block */
|
||||
.imgselector-container { clear: both; } /* ImageSelector.sc */
|
||||
|
||||
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
|
||||
/* THEME SPECIFIC CSS *********************************************************************************************/
|
||||
/******** Page Base */
|
||||
.admin-wrapper { width: 100%; }
|
||||
.admin-header { padding: 20px 15px 0; }
|
||||
.admin-header-content { border: 1px solid #DDDDDD; }
|
||||
.admin-page-body { padding: 20px 15px 0; }
|
||||
.admin-footer {}
|
||||
legend { font-size: 14px; font-weight: bold; padding: 5px; }
|
||||
|
||||
/******** Layout */
|
||||
.main-table { width: 100%; border: 0 none; }
|
||||
.col-left { width: 220px;}
|
||||
.col-right { width: 220px;}
|
||||
.col-main { padding: 0 15px 0 0;}
|
||||
.inner-wrapper { }
|
||||
|
||||
/******** Horizontal navigation ADMIN_NAV_ALT */
|
||||
.admin-navigation { border: 1px solid #DDDDDD;}
|
||||
|
||||
/******** Side Navigation
|
||||
- Admin Navigation
|
||||
- Plugin Navigation
|
||||
*/
|
||||
ul.plugin-navigation { }
|
||||
ul.plugin-navigation a { text-decoration: none; }
|
||||
|
||||
ul.plugin-navigation li { padding: 0px 10px 0px; }
|
||||
ul.plugin-navigation a.link {}
|
||||
ul.plugin-navigation a.link-active {font-weight: bold;}
|
||||
|
||||
ul.plugin-navigation ul.plugin-navigation-sub {}
|
||||
ul.plugin-navigation ul.plugin-navigation-sub li { padding: 0px 10px 0px; }
|
||||
ul.plugin-navigation ul.plugin-navigation-sub a.link {}
|
||||
ul.plugin-navigation ul.plugin-navigation-sub a.link-active {font-weight: bold;}
|
||||
|
||||
|
||||
/******** Block Elements */
|
||||
.block { border: 1px solid #DDDDDD; margin-bottom: 10px;}
|
||||
.block-text { padding: 10px 10px 10px; }
|
||||
.block h2.caption, .block h4.caption { padding: 5px 10px 5px; border-bottom: 1px solid #DDDDDD; }
|
||||
.page-info { border: 1px solid #DDDDDD; margin-bottom: 10px; }
|
||||
.page-info p { padding: 10px; }
|
||||
|
||||
|
||||
|
||||
/***** Admin Info Panel Buttons **/
|
||||
|
||||
.core-mainpanel-block { text-align:center; width:100px; float:left; height:48px; display:block;margin:15px; }
|
||||
.core-mainpanel-link-text { font-weight:bold; text-decoration: none; padding:3px }
|
||||
|
||||
/*****************************/
|
||||
|
||||
#core-banlist-times .textarea { width: 98%; }
|
||||
|
||||
#core-emoticon-configure input.input-text { width: 300px; }
|
||||
#core-links-edit textarea { width: 390px !important; }
|
||||
#core-links-edit .helpbox { width: 390px !important; margin: 5px 0px; }
|
||||
#core-links-edit .field-help { width: 390px; }
|
||||
|
||||
#core-admin-log-config legend { font-weight: bold; }
|
||||
|
||||
#core-admin-log-maintenance .select { width: 60px; }
|
||||
#core-admin-log-maintenance button { margin-left: 10px; }
|
||||
|
||||
#core-frontpage-edit-home { width: 50%; float: left; }
|
||||
#core-frontpage-edit-post-login { width: 50%; float: left; }
|
||||
#core-frontpage-edit-home .adminlist { width: 99%; }
|
||||
#core-frontpage-edit-post-login .adminlist { width: 99%; float: right; }
|
||||
#core-frontpage-edit .tbox { width: 80%;}
|
||||
#core-frontpage-edit select.tbox { width: 50%;}
|
||||
#core-frontpage-edit .buttons-bar select.tbox { width: 140px; }
|
||||
#core-frontpage-edit .buttons-bar { clear: both; }
|
||||
|
||||
/******** Core Block IDs */
|
||||
/* admin_log.php */
|
||||
#core-admin-log-config {}
|
||||
#core-admin-log-options {}
|
||||
#core-admin-log-maintenance {}
|
||||
#core-admin-log-filter {}
|
||||
#core-admin-log-list {}
|
||||
#core-admin-log-confirm-delete {}
|
||||
|
||||
/* administrator.php */
|
||||
#core-administrator-list {} /* List current administrators - Default front page */
|
||||
#core-administrator-edit {} /* Edit administrators permissions */
|
||||
|
||||
/* banlist.php */
|
||||
#core-banlist-options {}
|
||||
#core-banlist-options-ban {}
|
||||
#core-banlist-times {}
|
||||
#core-banlist-edit {}
|
||||
#core-banlist-transfer-export {}
|
||||
#core-banlist-transfer-import {}
|
||||
|
||||
/* banner.php */
|
||||
#core-banner-list {}
|
||||
#core-banner-edit {}
|
||||
#core-banner-menu {}
|
||||
|
||||
/* cache.php */
|
||||
#core-cache-settings {} /* General cache settings - Default front page */
|
||||
|
||||
/* cpage */
|
||||
#core-cpage-list {}
|
||||
#core-cpage-create {}
|
||||
#core-cpage-create-general {}
|
||||
#core-cpage-create-options {}
|
||||
#core-cpage-options {}
|
||||
|
||||
/* emoticon.php */
|
||||
#core-emoticon-activate {} /* Emote activation - Default front page */
|
||||
#core-emoticon-packages {} /* Installed packs - Default front page */
|
||||
#core-emoticon-configure {} /* Configure an individual emote pack */
|
||||
|
||||
/* eurl.php */
|
||||
#core-eurl-core {}
|
||||
#core-eurl-plugin {}
|
||||
|
||||
/* frontpage.php */
|
||||
#core-frontpage-settings {} /* Display list of current settings - Default front page */
|
||||
#core-frontpage-edit {} /* Add / Edit existing rule - form */
|
||||
#core-frontpage-edit-home {} /* Add / Edit existing rule for home page */
|
||||
#core-frontpage-edit-post-login {} /* Add / Edit existing rule for post-login page */
|
||||
|
||||
/* image.php */
|
||||
#core-image-check-avatar {} /* Check avatar sizes table */
|
||||
#core-image-settings {} /* General image settings - Default front page */
|
||||
|
||||
/* lancheck.php */
|
||||
#core-lancheck-edit {} /* Edid language file */
|
||||
|
||||
/* language.php */
|
||||
#core-language-settings {} /* Language Preferences - Default front page */
|
||||
#core-language-list {} /* Multi-language DB tables list */
|
||||
#core-language-edit {} /* Edit Multi-language DB tables */
|
||||
#core-language-lancheck {} /* Language Tools - Verify/Edit Language Files */
|
||||
#core-language-package {} /* Language Tools - Create Language-Pack (zip) */
|
||||
|
||||
/* links.php */
|
||||
#core-links-list-1 {} /* Display list of current links - Links Front Page */
|
||||
#core-links-list-2 {} /* Display list of current links - Links Front Page */
|
||||
#core-links-list-3 {} /* Display list of current links - Links Front Page */
|
||||
#core-links-list-4 {} /* Display list of current links - Links Front Page */
|
||||
#core-links-create {} /* Create or edit link - Create New Link*/
|
||||
#core-links-options {} /* Links general settins - Options */
|
||||
#core-links-generator {} /* Sublink Generator */
|
||||
|
||||
/* meta.php */
|
||||
#dataform {} /* Form tag ID - Default front page - old core definition */
|
||||
#core-meta-settings {} /* General meta settings - Default front page */
|
||||
|
||||
/* newspost.php */
|
||||
#core-newspost-list {}
|
||||
#core-newspost-edit {}
|
||||
#core-newspost-edit-options {}
|
||||
#core-newspost-cat-edit {}
|
||||
#core-newspost-cat-list {}
|
||||
#core-newspost-settings {}
|
||||
#core-newspost-sn-list {}
|
||||
|
||||
|
||||
/* prefs.php */
|
||||
#core-prefs {} /* Main continer - contains all block lemenst from bewlow */
|
||||
#core-prefs-main {} /* Settings section - Site Information */
|
||||
#core-prefs-display {} /* Settings section - Display Information */
|
||||
#core-prefs-admindisp {} /* Settings section - Admin Display Options */
|
||||
#core-prefs-date {} /* Settings section - Date display options */
|
||||
#core-prefs-registration {} /* Settings section - User registration-posting */
|
||||
#core-prefs-signup {} /* Settings section - Signup Page Options */
|
||||
#core-prefs-textpost {} /* Settings section - Text rendering */
|
||||
#core-prefs-security {} /* Settings section - Security & Protection */
|
||||
#core-prefs-comments {} /* Settings section - Comments */
|
||||
#core-prefs-advanced {} /* Settings section - Advanced Features */
|
||||
|
||||
/* search.php */
|
||||
#core-search-configuration-main {} /* Search Configuration for Searchable Areas - Default front page */
|
||||
#core-search-configuration-comm {} /* Search Configuration for Searchable Comments Areas - Default front page */
|
||||
#core-search-edit {} /* Edit search settings for specific area */
|
||||
#core-search-settings {} /* General search settings */
|
||||
|
||||
/* ugflag.php */
|
||||
#core-ugflag {}
|
||||
|
||||
/* updateadmin.php */
|
||||
#core-updateadmin {}
|
||||
|
||||
/* upload.php */
|
||||
#core-upload-filetypes {}
|
||||
#core-upload-options {}
|
||||
#core-upload-list {}
|
||||
|
||||
/* wmessage.php */
|
||||
#core-wmessage-list {}
|
||||
#core-wmessage-create {}
|
||||
#core-wmessage-settings {}
|
@ -1,209 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
* Admin template - _blank theme
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_themes/_blank/admin_template.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit(); }
|
||||
|
||||
define("ADLINK_COLS",5);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
include_lan(e_THEME."_blank/languages/".e_LANGUAGE.".php");
|
||||
|
||||
|
||||
$ADMIN_LOGIN = "<div class='admin-wrapper'>Something</div>"; // TODO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//{FS_ADMIN_ALT_NAV}
|
||||
$ADMIN_HEADER = "
|
||||
<div class='admin-wrapper'>
|
||||
<div class='admin-header'>
|
||||
<div class='admin-header-content'>
|
||||
<div class='f-right'><!-- -->{ADMIN_LANG=nobutton&nomenu}</div>
|
||||
{ADMIN_LOGO}
|
||||
{ADMIN_LOGGED}
|
||||
{ADMIN_SEL_LAN}
|
||||
|
||||
</div>
|
||||
<div style='height: 20px;'><!-- --></div>
|
||||
<div class='admin-navigation'>
|
||||
<div id='nav'>{ADMIN_NAVIGATION}</div>
|
||||
<div class='clear'><!-- --></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='admin-page-body'>
|
||||
<table class='main-table'>
|
||||
<tr>
|
||||
|
||||
<td class='col-left'>
|
||||
|
||||
{SETSTYLE=admin_menu}
|
||||
{ADMIN_MENU}
|
||||
{ADMIN_MENUMANAGER}
|
||||
{ADMIN_PRESET}
|
||||
{ADMIN_LANG}
|
||||
{SETSTYLE=none}
|
||||
{ADMIN_PWORD}
|
||||
{ADMIN_STATUS=request}
|
||||
{ADMIN_LATEST=request}
|
||||
{ADMIN_LOG=request}
|
||||
{ADMIN_MSG}
|
||||
{ADMIN_PLUGINS}
|
||||
{ADMIN_UPDATE}
|
||||
|
||||
{SETSTYLE=site_info}
|
||||
{ADMIN_SITEINFO}
|
||||
{ADMIN_HELP}
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<div class='col-main'>
|
||||
<div class='inner-wrapper'>
|
||||
{SETSTYLE=admin_content}
|
||||
";
|
||||
/*
|
||||
{SETSTYLE=admin_menu}
|
||||
<!--
|
||||
{ADMIN_NAV}
|
||||
-->
|
||||
{ADMIN_LANG}
|
||||
|
||||
{ADMIN_SITEINFO}
|
||||
|
||||
{ADMIN_DOCS}
|
||||
*/
|
||||
$ADMIN_FOOTER = "
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<!--
|
||||
<td class='col-right'>
|
||||
<div class='col-right'>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class='admin-footer'>
|
||||
<!-- -->
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
/* NEW ADMIN MENU TEMPLATE
|
||||
* see function e107::getNav()->admin() in e107_admin/header.php
|
||||
*/
|
||||
$E_ADMIN_MENU['start'] = '
|
||||
<ul class="plugin-navigation">
|
||||
';
|
||||
|
||||
$E_ADMIN_MENU['button'] = '
|
||||
<li>
|
||||
<a class="link{LINK_CLASS}" href="{LINK_URL}"{ID}{ONCLICK}>» {LINK_TEXT}</a>
|
||||
{SUB_MENU}
|
||||
</li>
|
||||
';
|
||||
$E_ADMIN_MENU['button_active'] = '
|
||||
<li>
|
||||
<a class="link-active{LINK_CLASS}" href="{LINK_URL}"{ID}{ONCLICK}>» {LINK_TEXT}</a>
|
||||
{SUB_MENU}
|
||||
</li>
|
||||
';
|
||||
|
||||
$E_ADMIN_MENU['start_sub'] = '
|
||||
<ul class="plugin-navigation-sub{SUB_CLASS}"{SUB_ID}>
|
||||
';
|
||||
|
||||
$E_ADMIN_MENU['button_sub'] = '
|
||||
<li>
|
||||
<a class="link" href="{LINK_URL}">» {LINK_TEXT}</a>
|
||||
{SUB_MENU}
|
||||
</li>
|
||||
';
|
||||
$E_ADMIN_MENU['button_active_sub'] = '
|
||||
<li>
|
||||
<a class="link-active" href="{LINK_URL}">» {LINK_TEXT}</a>
|
||||
{SUB_MENU}
|
||||
</li>
|
||||
';
|
||||
|
||||
$E_ADMIN_MENU['end_sub'] = '
|
||||
</ul>
|
||||
';
|
||||
|
||||
$E_ADMIN_MENU['end'] = '
|
||||
</ul>
|
||||
';
|
||||
|
||||
/* NEW ADMIN SLIDE DOWN MENU TEMPLATE
|
||||
* see function admin_navigation() in e107_files/shortcodes/admin_navigation.php
|
||||
* TODO move it together with menu.css/menu.js to the theme templates/e107_files folder (default menu render)
|
||||
*/
|
||||
$E_ADMIN_NAVIGATION['start'] = '
|
||||
<ul id="nav-links">
|
||||
';
|
||||
|
||||
$E_ADMIN_NAVIGATION['button'] = '
|
||||
<li>
|
||||
<a class="menuButton" href="{LINK_URL}"{ONCLICK}>{LINK_IMAGE}{LINK_TEXT}</a>
|
||||
{SUB_MENU}
|
||||
</li>
|
||||
';
|
||||
$E_ADMIN_NAVIGATION['button_active'] = '
|
||||
<li>
|
||||
<a class="menuButton active" href="{LINK_URL}"{ONCLICK}>{LINK_IMAGE}{LINK_TEXT}</a>
|
||||
{SUB_MENU}
|
||||
</li>
|
||||
';
|
||||
|
||||
$E_ADMIN_NAVIGATION['start_sub'] = '
|
||||
<ul class="menu"{SUB_ID}>
|
||||
';
|
||||
|
||||
$E_ADMIN_NAVIGATION['button_sub'] = '
|
||||
<li>
|
||||
<a class="menuItem{SUB_CLASS}" href="{LINK_URL}"{ONCLICK}>{LINK_IMAGE}{LINK_TEXT}</a>
|
||||
{SUB_MENU}
|
||||
</li>
|
||||
';
|
||||
$E_ADMIN_NAVIGATION['button_active_sub'] = '
|
||||
<li>
|
||||
<a class="menuItem{SUB_CLASS}" href="{LINK_URL}"{ONCLICK}>{LINK_IMAGE}{LINK_TEXT}</a>
|
||||
{SUB_MENU}
|
||||
</li>
|
||||
';
|
||||
|
||||
$E_ADMIN_NAVIGATION['end_sub'] = '
|
||||
</ul>
|
||||
';
|
||||
|
||||
$E_ADMIN_NAVIGATION['end'] = '
|
||||
</ul>
|
||||
';
|
||||
?>
|
@ -1,193 +0,0 @@
|
||||
<?php
|
||||
if ( ! defined('e107_INIT')) { exit(); }
|
||||
|
||||
define('STANDARDS_MODE', TRUE);
|
||||
|
||||
include_lan(e_THEME."_blank/languages/".e_LANGUAGE.".php");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$register_sc[]='FS_ADMIN_ALT_NAV';
|
||||
$no_core_css = TRUE;
|
||||
|
||||
|
||||
|
||||
define("ADMIN_TRUE_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/true_32.png' alt='' />");
|
||||
define("ADMIN_TRUE_ICON_PATH", e_IMAGE."admin_images/true_32.png");
|
||||
|
||||
|
||||
|
||||
define("ADMIN_FALSE_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/false_32.png' alt='' />");
|
||||
define("ADMIN_FALSE_ICON_PATH", e_IMAGE."admin_images/false_32.png");
|
||||
|
||||
|
||||
|
||||
define("ADMIN_EDIT_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/edit_32.png' alt='' title='".LAN_EDIT."' />");
|
||||
define("ADMIN_EDIT_ICON_PATH", e_IMAGE."admin_images/edit_32.png");
|
||||
|
||||
|
||||
|
||||
define("ADMIN_DELETE_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/delete_32.png' alt='' title='".LAN_DELETE."' />");
|
||||
define("ADMIN_DELETE_ICON_PATH", e_IMAGE."admin_images/delete_32.png");
|
||||
|
||||
|
||||
define("ADMIN_WARNING_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/warning_32.png' alt='' />");
|
||||
define("ADMIN_WARNING_ICON_PATH", e_IMAGE."admin_images/warning_32.png");
|
||||
|
||||
define("ADMIN_ADD_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/add_32.png' alt='' />");
|
||||
define("ADMIN_ADD_ICON_PATH", e_IMAGE."admin_images/add_32.png");
|
||||
|
||||
define("ADMIN_INFO_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/info_32.png' alt='' />");
|
||||
define("ADMIN_INFO_ICON_PATH", e_IMAGE."admin_images/info_32.png");
|
||||
|
||||
define("ADMIN_CONFIGURE_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/configure_32.png' alt='' />");
|
||||
define("ADMIN_CONFIGURE_ICON_PATH", e_IMAGE."admin_images/configure_32.png");
|
||||
|
||||
define("ADMIN_VIEW_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/search_32.png' alt='' />");
|
||||
define("ADMIN_VIEW_ICON_PATH", e_IMAGE."admin_images/admin_images/search_32.png");
|
||||
|
||||
define("ADMIN_URL_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/forums_32.png' alt='' />");
|
||||
define("ADMIN_URL_ICON_PATH", e_IMAGE."admin_images/forums_32.png");
|
||||
|
||||
define("ADMIN_INSTALLPLUGIN_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/plugin_install_32.png' alt='' />");
|
||||
define("ADMIN_INSTALLPLUGIN_ICON_PATH", e_IMAGE."admin_images/plugin_install_32.png");
|
||||
|
||||
define("ADMIN_UNINSTALLPLUGIN_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/plugin_uninstall_32.png' alt='' />");
|
||||
define("ADMIN_UNINSTALLPLUGIN_ICON_PATH", e_IMAGE."admin_images/plugin_unstall_32.png");
|
||||
|
||||
define("ADMIN_UPGRADEPLUGIN_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/up_32.png' alt='' />");
|
||||
define("ADMIN_UPGRADEPLUGIN_ICON_PATH", e_IMAGE."admin_images/up_32.png");
|
||||
|
||||
define("ADMIN_UP_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/up_32.png' alt='' title='".LAN_DELETE."' />");
|
||||
define("ADMIN_UP_ICON_PATH", e_IMAGE."admin_images/up_32.png");
|
||||
|
||||
define("ADMIN_DOWN_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/down_32.png' alt='' title='".LAN_DELETE."' />");
|
||||
define("ADMIN_DOWN_ICON_PATH", e_IMAGE."admin_images/down_32.png");
|
||||
|
||||
define("ADMIN_EXECUTE_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/execute_32.png' alt='' title='".LAN_EXECUTE."' />");
|
||||
define("ADMIN_EXECUTE_ICON_PATH", e_IMAGE."admin_images/execute_32.png");
|
||||
|
||||
define("ADMIN_SORT_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/sort_32.png' alt='' title='Re-Sort' />");
|
||||
define("ADMIN_SORT_ICON_PATH", e_IMAGE."admin_images/sort_32.png");
|
||||
|
||||
|
||||
function theme_head() {
|
||||
$ret = '';
|
||||
if(defined('TEXTDIRECTION') && file_exists(THEME.'/menu/menu_'.strtolower(TEXTDIRECTION).'.css'))
|
||||
{
|
||||
$ret .= '
|
||||
<link rel="stylesheet" href="'.THEME_ABS.'menu/menu_'.strtolower(TEXTDIRECTION).'.css" type="text/css" media="all" />';
|
||||
}
|
||||
else
|
||||
{
|
||||
$ret .= '
|
||||
<link rel="stylesheet" href="'.THEME_ABS.'menu/menu.css" type="text/css" media="all" />';
|
||||
}
|
||||
|
||||
$ret .= '
|
||||
<!--[if IE]>
|
||||
<link rel="stylesheet" href="'.THEME_ABS.'ie_all.css" type="text/css" media="all" />
|
||||
<![endif]-->
|
||||
<!--[if lte IE 7]>
|
||||
<script type="text/javascript" src="'.THEME_ABS.'menu/menu.js"></script>
|
||||
<![endif]-->
|
||||
';
|
||||
return $ret;
|
||||
}
|
||||
|
||||
function tablestyle($caption, $text, $mod) {
|
||||
global $style;
|
||||
$class = '';
|
||||
if(is_string($mod) && $mod == 'admin_help') $class = ' '.str_replace('_', '-', $mod);
|
||||
|
||||
switch(varset($style, 'admin_content')) {
|
||||
|
||||
case 'admin_menu' :
|
||||
echo '
|
||||
<div class="block">
|
||||
<h4 class="caption">'.$caption.'</h4>
|
||||
'.$text.'
|
||||
</div>
|
||||
';
|
||||
break;
|
||||
|
||||
case 'site_info' :
|
||||
echo '
|
||||
<div class="block'.$class.'">
|
||||
<h4 class="caption">'.$caption.'</h4>
|
||||
<div class="block-text">
|
||||
'.$text.'
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
break;
|
||||
|
||||
case 'admin_content':
|
||||
echo '
|
||||
<div class="block">
|
||||
<h2 class="caption">'.$caption.'</h2>
|
||||
<div class="block-text">
|
||||
'.$text.'
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
break;
|
||||
|
||||
default:
|
||||
echo '
|
||||
<div class="block">
|
||||
<h4>'.$caption.'</h4>
|
||||
<div class="block-text">
|
||||
'.$text.'
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$HEADER = '';
|
||||
$FOOTER = '';
|
||||
|
||||
define('ICONMAIL', 'email_16.png');
|
||||
define('ICONPRINT', 'print_16.png');
|
||||
define('ICONSTYLE', 'border: 0px');
|
||||
define('COMMENTLINK', LAN_THEME_2);
|
||||
define('COMMENTOFFSTRING', LAN_THEME_1);
|
||||
define('PRE_EXTENDEDSTRING', '<br /><br />');
|
||||
define('EXTENDEDSTRING', LAN_THEME_3);
|
||||
define('POST_EXTENDEDSTRING', '<br />');
|
||||
define('TRACKBACKSTRING', LAN_THEME_4);
|
||||
define('TRACKBACKBEFORESTRING', ' | ');
|
||||
|
||||
$sc_style['NEWSIMAGE']['pre'] = '<div style="float: left; margin-right: 15px">';
|
||||
$sc_style['NEWSIMAGE']['post'] = '</div>';
|
||||
$sc_style['NEWSICON']['pre'] = '<div style="float: left; margin-right: 15px">';
|
||||
$sc_style['NEWSICON']['post'] = '</div>';
|
||||
|
||||
$NEWSSTYLE = '
|
||||
<div class="newsItem clear">
|
||||
<h4>{NEWSTITLE}</h4>
|
||||
<span class="newsAuthor">{NEWSAUTHOR}</span>
|
||||
<span class="newsDate">{NEWSDATE}</span>
|
||||
<div style="clear: both; margin-bottom: 5px;"><!-- --></div>
|
||||
{NEWSIMAGE}
|
||||
{NEWSBODY}
|
||||
{EXTENDED}
|
||||
{TRACKBACK}
|
||||
<div style="clear: both; margin-bottom: 5px;"><!-- --></div>
|
||||
<table class="newsComments" cellpadding="0" cellspacing="0" style="border: 0px none; width: 100%" >
|
||||
<tr>
|
||||
<td valign="middle" style="text-align: left">
|
||||
{NEWSCOMMENTS}
|
||||
</td>
|
||||
<td valign="middle" style="text-align: right">
|
||||
{ADMINOPTIONS}{EMAILICON}{PRINTICON}{PDFICON}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
';
|
||||
?>
|
@ -1,193 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
if (!ADMIN) return '';
|
||||
|
||||
global $sql, $pref, $tp;
|
||||
parse_str($parm);
|
||||
require(e_ADMIN.'ad_links.php');
|
||||
require_once(e_HANDLER.'admin_handler.php');
|
||||
function adnav_cat_fs($cat_title, $cat_link, $cat_img, $cat_id=FALSE) {
|
||||
$cat_link = ($cat_link ? $cat_link : "javascript:void(0);");
|
||||
$text = '<a class="menuButton" href="'.$cat_link.'" style="background-image: url('.$cat_img.'); background-repeat: no-repeat; background-position: 10px 50%" ';
|
||||
if ($cat_id) {
|
||||
//$text .= 'onclick="return buttonClick(event, \''.$cat_id.'\');" onmouseover="buttonMouseover(event, \''.$cat_id.'\');"';
|
||||
}
|
||||
$text .= '>'.$cat_title.'</a>';
|
||||
return $text;
|
||||
}
|
||||
|
||||
function adnav_main_fs($cat_title, $cat_link, $cat_img, $cat_id=FALSE, $cat_highlight='') {
|
||||
$text = "<a class='menuItem ".$cat_highlight."' href='".$cat_link."' ";
|
||||
if ($cat_id) {
|
||||
//$text .= "onclick=\"return false;\" onmouseover=\"menuItemMouseover(event, '".$cat_id."');\"";
|
||||
}
|
||||
$text .= ">".$cat_img.$cat_title;
|
||||
if ($cat_id) {
|
||||
$text .= "";
|
||||
}
|
||||
|
||||
$text .= "</a>";
|
||||
return $text;
|
||||
}
|
||||
/* if (file_exists(THEME.'nav_menu.js')) {
|
||||
$text = "<script type='text/javascript' src='".THEME_ABS."nav_menu.js'></script>";
|
||||
} else {
|
||||
$text = "<script type='text/javascript' src='".e_FILE_ABS."nav_menu.js'></script>";
|
||||
} */
|
||||
/*
|
||||
$text .= "<div style='width: 100%'><table border='0' cellspacing='0' cellpadding='0' style='width: 100%'>
|
||||
<tr><td>
|
||||
<div class='menuBar' style='width: 100%'>";
|
||||
*/
|
||||
|
||||
$text .= '
|
||||
<div id="nav">
|
||||
';
|
||||
if ($exit != 'off') {
|
||||
$text .= '<ul style="float: right"><li>'.adnav_cat_fs(ADLAN_53, e_BASE.'index.php', E_16_NAV_LEAV).'</li>';
|
||||
$text .= '<li>'.adnav_cat_fs(ADLAN_46, e_ADMIN.'admin.php?logout', E_16_NAV_LGOT).'</li></ul>';
|
||||
}
|
||||
|
||||
$text .= '
|
||||
<ul class="level1" id="nav-links">
|
||||
';
|
||||
|
||||
if (defined('FS_ADMIN_START_SEPARATOR') && FS_ADMIN_START_SEPARATOR != false) {
|
||||
$text .= "
|
||||
<li class='fs-linkSep'>".FS_ADMIN_START_SEPARATOR."</li>";
|
||||
}
|
||||
|
||||
$text .= '
|
||||
<li>'.adnav_cat_fs(ADLAN_151, e_ADMIN."admin.php", E_16_NAV_MAIN).'</li>
|
||||
';
|
||||
|
||||
if (defined('FS_ADMIN_LINK_SEPARATOR')) {
|
||||
$text .= "
|
||||
<li class='fs-linkSep'>".FS_ADMIN_LINK_SEPARATOR."</li>";
|
||||
}
|
||||
|
||||
$sepBr = 1;
|
||||
for ($i = 1; $i < 5; $i++) {
|
||||
$ad_tmpi = 0;
|
||||
$ad_links_array = asortbyindex($array_functions, 1);
|
||||
$text .= '<li>';
|
||||
$nav_main = adnav_cat_fs($admin_cat['title'][$i], '', $admin_cat['img'][$i], $admin_cat['id'][$i]);
|
||||
$ad_texti = '<ul id="'.$admin_cat["id"][$i].'" class="menu">';
|
||||
while(list($key, $nav_extract) = each($ad_links_array))
|
||||
{
|
||||
if($nav_extract[4]==$i)
|
||||
{
|
||||
if(getperms($nav_extract[3]))
|
||||
{
|
||||
$ad_texti .= '<li>'.adnav_main_fs($nav_extract[1], $nav_extract[0], $nav_extract[5]).'</li>';
|
||||
$ad_tmpi = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
$ad_texti .= '</ul>';
|
||||
if ($ad_tmpi == 1)
|
||||
{
|
||||
$text .= $nav_main;
|
||||
$text .= $ad_texti;
|
||||
}
|
||||
$text .='</li>';
|
||||
|
||||
if (defined('FS_ADMIN_LINK_SEPARATOR')) {
|
||||
if ($sepBr < 4 ) {
|
||||
$text .= "
|
||||
<li class='fs-linkSep'>".FS_ADMIN_LINK_SEPARATOR."</li>";
|
||||
}
|
||||
}
|
||||
$sepBr++;
|
||||
}
|
||||
|
||||
$render_plugins = FALSE;
|
||||
include_once(e_HANDLER.'plugin_class.php');
|
||||
$plug = new e107plugin;
|
||||
if($sql -> db_Select("plugin", "*", "plugin_installflag=1 ORDER BY plugin_path"))
|
||||
{
|
||||
while($row = $sql -> db_Fetch())
|
||||
{
|
||||
if(getperms('P'.$row['plugin_id']))
|
||||
{
|
||||
if($plug->parse_plugin($row['plugin_path']))
|
||||
{
|
||||
$plug_vars = $plug->plug_vars;
|
||||
loadLanFiles($row['plugin_path'], 'admin');
|
||||
if($plug_vars['administration']['configFile'])
|
||||
{
|
||||
$plug_vars['@attributes']['name'] = $tp->toHTML($plug_vars['@attributes']['name'], FALSE, "defs");
|
||||
$icon_src = (isset($plug_vars['plugin_php']) ? e_PLUGIN_ABS : e_PLUGIN_ABS.$row['plugin_path'].'/') .$plug_vars['administration']['iconSmall'];
|
||||
$plugin_icon = $plug_vars['administration']['iconSmall'] ? "<img src='{$icon_src}' alt='".$plug_vars['administration']['caption']."' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />" : E_16_PLUGIN;
|
||||
$plugin_array[ucfirst($plug_vars['@attributes']['name'])] = adnav_main_fs($plug_vars['@attributes']['name'], e_PLUGIN.$row['plugin_path']."/".$plug_vars['administration']['configFile'], $plugin_icon);
|
||||
}
|
||||
$render_plugins = TRUE;
|
||||
$active_plugs = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
ksort($plugin_array, SORT_STRING);
|
||||
$plugs_text = '';
|
||||
foreach ($plugin_array as $plugin_compile)
|
||||
{
|
||||
$plugs_text .= $plugin_compile;
|
||||
}
|
||||
}
|
||||
|
||||
if (getperms('Z'))
|
||||
{
|
||||
$pclass_extended = $active_plugs ? 'header' : '';
|
||||
$plugin_text = adnav_main_fs(ADLAN_98, e_ADMIN.'plugin.php', E_16_PLUGMANAGER, FALSE, $pclass_extended);
|
||||
$render_plugins = TRUE;
|
||||
}
|
||||
|
||||
if ($render_plugins) {
|
||||
|
||||
if (defined('FS_ADMIN_LINK_SEPARATOR')) {
|
||||
$text .= "
|
||||
<li class='fs-linkSep'>".FS_ADMIN_LINK_SEPARATOR."</li>";
|
||||
}
|
||||
|
||||
$text .= '<li>';
|
||||
$text .= adnav_cat_fs(ADLAN_CL_7, '', E_16_CAT_PLUG, 'plugMenu');
|
||||
$text .= "<ul id='plugMenu' class='menu'>";
|
||||
$text .= '<li>'.$plugin_text.$plugs_text.'</li>';
|
||||
$text .= "</ul>";
|
||||
$text .='</li>';
|
||||
}
|
||||
|
||||
if (defined('FS_ADMIN_LINK_SEPARATOR')) {
|
||||
$text .= "
|
||||
<li class='fs-linkSep'>".FS_ADMIN_LINK_SEPARATOR."</li>";
|
||||
}
|
||||
|
||||
$text .= '<li>';
|
||||
$text .= adnav_cat_fs(ADLAN_CL_8, '', E_16_CAT_ABOUT, 'docsMenu'); //E_16_NAV_DOCS
|
||||
$text .= "<ul id='docsMenu' class='menu'>";
|
||||
if (!$handle=opendir(e_DOCS.e_LANGUAGE."/"))
|
||||
{
|
||||
$handle=opendir(e_DOCS."English/");
|
||||
}
|
||||
$i=1;
|
||||
while ($file = readdir($handle))
|
||||
{
|
||||
if ($file != "." && $file != ".." && $file != "CVS")
|
||||
{
|
||||
$text .= '<li>'.adnav_main_fs(str_replace("_", " ", $file), e_ADMIN."docs.php?".$i, E_16_DOCS).'</li>';
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
$text .= "</ul>";
|
||||
$text .='</li>
|
||||
</ul>
|
||||
';
|
||||
$text .= '
|
||||
</div>
|
||||
<div class="clear"><!-- --></div>
|
||||
';
|
||||
|
||||
return $text;
|
Loading…
x
Reference in New Issue
Block a user