Administration Area changes - work in progress
299
e107_themes/_blank/admin_style.css
Normal file
@@ -0,0 +1,299 @@
|
||||
/* 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; }
|
||||
|
||||
/* Core Icons */
|
||||
.icon { border: 0 }
|
||||
.icon.action { vertical-align: middle }
|
||||
.S16 { width: 16px; height: 16px }
|
||||
.S32 { width: 32px; height: 32px }
|
||||
.S64 { width: 64px; height: 64px }
|
||||
.S128 { width: 128px; height: 128px }
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
/* 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; }
|
||||
a:hover { text-decoration:underline; }
|
||||
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; }
|
||||
input, select{ vertical-align:middle; }
|
||||
textarea { overflow:auto; }
|
||||
|
||||
/* Table */
|
||||
table { border:0; border-spacing:0; empty-cells:show; font-size: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; }
|
||||
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
/* E107 CORE ADMIN CSS *********************************************************************************************/
|
||||
|
||||
|
||||
/******** Decorate JS */
|
||||
/* Admin List Table */
|
||||
.adminlist-table {} /* fieldset */
|
||||
.adminlist { width:100%; border:1px solid #ddd;}
|
||||
.adminlist th { padding: 5px; border-bottom:1px solid #ddd; border-right: 1px solid #ddd; font-weight: bold; white-space:nowrap; }
|
||||
.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 {
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
|
||||
background:#fff;
|
||||
font:12px arial, helvetica, sans-serif;
|
||||
}
|
||||
select { min-height:17px; /* to set the height for empty selects */ }
|
||||
input.input-text, textarea { padding:2px; }
|
||||
|
||||
/* custom fields CSS */
|
||||
#image-settings-form input.input-text { width: 300px; }
|
||||
|
||||
|
||||
.inline-help { width: 280px; }
|
||||
|
||||
/* form used for settings */
|
||||
.adminform { width:100%; border:1px solid #ddd;}
|
||||
.adminform col.label { width: 250px; }
|
||||
|
||||
.adminform td { padding: 5px; text-align: left}
|
||||
|
||||
.adminform .select { width: 280px;}
|
||||
.adminform .input-text { width: 274px;}
|
||||
.adminform td.control textarea { width: 274px;}
|
||||
|
||||
.adminform td.label { }
|
||||
.adminform td.control { }
|
||||
|
||||
.field-help { width: 280px; }
|
||||
.label-note { font-style: italic; }
|
||||
|
||||
/* form used for content edit */
|
||||
.adminedit { width:100%; border:1px solid #ddd;}
|
||||
.adminedit td { padding: 5px; text-align: left}
|
||||
|
||||
.adminedit .select { width: 280px; }
|
||||
.adminedit .input-text { width: 274px;}
|
||||
.adminedit td.control textarea { width: 274px;}
|
||||
|
||||
.adminedit td.label {}
|
||||
.adminedit td.control {}
|
||||
|
||||
|
||||
/* Admin Info Table */
|
||||
.admininfo { width:100%; border:1px solid #ddd;}
|
||||
.admininfo td { padding: 1px 5px; text-align: left}
|
||||
|
||||
.admininfo td.label { border-right:1px solid #ddd; }
|
||||
.admininfo td.control {}
|
||||
|
||||
.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 ul.e-tabs li.active { border-bottom: 1px solid #FFFFFF; background-color: #FFFFFF}
|
||||
|
||||
/******** SyS Messages / Message text formatting */
|
||||
.s-message {}
|
||||
.s-message .error-box {}
|
||||
.warning { color: #FF6600}
|
||||
.success {}
|
||||
.error { color: #FF0000}
|
||||
.info {}
|
||||
.validate-result {} /* validate result inline message */
|
||||
|
||||
/******** Tooltip info */
|
||||
.e-info {}
|
||||
|
||||
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 11px;
|
||||
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)}
|
||||
|
||||
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 {}
|
||||
|
||||
|
||||
.buttons-bar { padding: 10px 0px; }
|
||||
.buttons-bar button { margin-right: 10px; }
|
||||
.buttons-bar button.f-right { margin-right: 0px; }
|
||||
|
||||
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
|
||||
/* THEME SPECIFIC CSS *********************************************************************************************/
|
||||
/******** Page Base */
|
||||
.admin-wrapper { min-width: 950px; }
|
||||
.admin-header { padding: 20px 15px 0; }
|
||||
.admin-header-content {border: 1px solid #DDDDDD;}
|
||||
.admin-page-body { padding: 20px 15px 0; }
|
||||
.admin-footer {}
|
||||
|
||||
/******** Layout */
|
||||
.col-left { float:left; width: 220px;}
|
||||
.col-main { margin-left: 220px; padding: 0 0 0 20px;}
|
||||
.inner-wrapper { float:left; width:100%; }
|
||||
|
||||
/******** 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.sub-nav {}
|
||||
ul.plugin-navigation ul.sub-nav li { padding: 0px 10px 0px; }
|
||||
ul.plugin-navigation ul.sub-nav a.link {}
|
||||
ul.plugin-navigation ul.sub-nav a.link-active {font-weight: bold;}
|
||||
|
||||
|
||||
/******** Block Elements */
|
||||
.block { border: 1px solid #DDDDDD; margin-bottom: 10px;}
|
||||
.block-text { padding: 10px 10px 10px; }
|
||||
.block h4 { padding: 5px 10px 5px; border-bottom: 1px solid #DDDDDD; }
|
||||
.page-info { border: 1px solid #DDDDDD; margin-bottom: 10px; }
|
||||
.page-info p { padding: 10px; }
|
||||
|
125
e107_themes/_blank/admin_template.php
Normal file
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
|
|
||||
| <20>Steve Dunstan 2001-2002
|
||||
| http://e107.org
|
||||
| jalist@e107.org
|
||||
|
|
||||
| Released under the terms and conditions of the
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_themes/_blank/admin_template.php,v $
|
||||
| $Revision: 1.1 $
|
||||
| $Date: 2008-12-09 15:19:03 $
|
||||
| $Author: secretr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
define("ADLINK_COLS",5);
|
||||
|
||||
|
||||
$ADMIN_HEADER = "
|
||||
<div class='admin-wrapper'>
|
||||
<div class='admin-header'>
|
||||
<div class='admin-header-content'>
|
||||
{ADMIN_LOGO}
|
||||
{ADMIN_LOGGED}
|
||||
{ADMIN_SEL_LAN}
|
||||
{ADMIN_USERLAN}
|
||||
</div>
|
||||
<div style='height: 20px;'><!-- --></div>
|
||||
<div class='admin-navigation'>
|
||||
{FS_ADMIN_ALT_NAV}
|
||||
<div class='clear'><!-- --></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='admin-page-body'>
|
||||
<div class='col-2-left'>
|
||||
<div class='col-left'>
|
||||
{ADMIN_LANG}
|
||||
{SETSTYLE=admin_menu}
|
||||
{ADMIN_NAV}
|
||||
{ADMIN_MENU}
|
||||
{SETSTYLE=bla}
|
||||
{ADMIN_PWORD}
|
||||
{ADMIN_STATUS=request}
|
||||
{ADMIN_LATEST=request}
|
||||
{ADMIN_LOG=request}
|
||||
{ADMIN_MSG}
|
||||
{ADMIN_PLUGINS}
|
||||
|
||||
{ADMIN_PRESET}
|
||||
{ADMIN_UPDATE}
|
||||
{SETSTYLE=site_info}
|
||||
|
||||
{ADMIN_HELP}
|
||||
{ADMIN_SITEINFO}
|
||||
{ADMIN_DOCS}
|
||||
{SETSTYLE=bla}
|
||||
</div>
|
||||
<div class='col-main'>
|
||||
<div class='inner-wrapper'>
|
||||
";
|
||||
|
||||
$ADMIN_FOOTER = "
|
||||
</div>
|
||||
</div>
|
||||
<div class='clear'><!-- --></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='admin-footer'>
|
||||
{ADMIN_CREDITS}
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
/* REEDIT
|
||||
|
||||
* function show_admin_menu() in e107_admin/header.php
|
||||
|
||||
*/
|
||||
|
||||
$BUTTONS_START = '
|
||||
<ul class="plugin-navigation">
|
||||
';
|
||||
$BUTTON = '
|
||||
<li>
|
||||
<a class="link" {ONCLICK}>» {LINK_TEXT}</a>
|
||||
</li>
|
||||
';
|
||||
$BUTTON_OVER = '
|
||||
<li>
|
||||
<a class="link-active" {ONCLICK}>» {LINK_TEXT}</a>
|
||||
</li>
|
||||
';
|
||||
$SUB_BUTTONS_START = '
|
||||
<ul class="plugin-navigation">
|
||||
<li>
|
||||
<a class="link" onclick="expandit(\'{SUB_HEAD_ID}\');" >» {SUB_HEAD}</a>
|
||||
<ul class="sub-nav" id="{SUB_HEAD_ID}" style="display: none">
|
||||
';
|
||||
$SUB_BUTTON = '
|
||||
<li>
|
||||
<a class="link" href="{LINK_URL}">» {LINK_TEXT}</a>
|
||||
</li>
|
||||
';
|
||||
$SUB_BUTTON_OVER = '
|
||||
<li>
|
||||
<a class="link-active" href="{LINK_URL}">» {LINK_TEXT}</a>
|
||||
</li>
|
||||
';
|
||||
$SUB_BUTTONS_END = '
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
';
|
||||
$BUTTONS_END = '
|
||||
</ul>
|
||||
';
|
||||
|
||||
|
||||
?>
|
170
e107_themes/_blank/fs_admin_alt_nav.sc
Normal file
@@ -0,0 +1,170 @@
|
||||
if (ADMIN) {
|
||||
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;
|
||||
}
|
||||
|
||||
/*
|
||||
$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">
|
||||
<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;
|
||||
if($sql -> db_Select("plugin", "*", "plugin_installflag=1 ORDER BY plugin_path")){
|
||||
while($row = $sql -> db_Fetch()){
|
||||
if(getperms('P'.$row['plugin_id'])){
|
||||
include_once(e_PLUGIN.$row['plugin_path']."/plugin.php");
|
||||
if($eplug_conffile){
|
||||
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs");
|
||||
$plugin_icon = $eplug_icon_small ? "<img src='".e_PLUGIN_ABS.$eplug_icon_small."' alt='".$eplug_caption."' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />" : E_16_PLUGIN;
|
||||
$plugin_array[ucfirst($eplug_name)] = adnav_main_fs($eplug_name, e_PLUGIN.$row['plugin_path']."/".$eplug_conffile, $plugin_icon);
|
||||
}
|
||||
unset($eplug_conffile, $eplug_name, $eplug_caption, $eplug_icon_small);
|
||||
$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_NAV_DOCS, 'docsMenu');
|
||||
$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>';
|
||||
/*
|
||||
if ($exit != 'off') {
|
||||
$text .= '<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>';
|
||||
}
|
||||
*/
|
||||
$text .= '
|
||||
</ul>
|
||||
</div>
|
||||
';
|
||||
|
||||
return $text;
|
||||
}
|
14
e107_themes/_blank/ie_all.css
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
.col-main { zoom: 1 }
|
||||
button { width:auto; margin-left:5px; overflow:visible; }
|
||||
|
||||
input.checkbox,
|
||||
input.radio { width:13px; height:13px; }
|
||||
|
||||
button {
|
||||
width:auto;
|
||||
overflow:visible;
|
||||
}
|
||||
button span {
|
||||
margin-top:1px;
|
||||
}
|
BIN
e107_themes/_blank/images/btn_active_left.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
e107_themes/_blank/images/btn_active_right.gif
Normal file
After Width: | Height: | Size: 425 B |
BIN
e107_themes/_blank/images/btn_left.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
e107_themes/_blank/images/btn_over_left.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
e107_themes/_blank/images/btn_over_right.gif
Normal file
After Width: | Height: | Size: 417 B |
BIN
e107_themes/_blank/images/btn_remove_active_left.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
e107_themes/_blank/images/btn_remove_left.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
e107_themes/_blank/images/btn_remove_over_left.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
e107_themes/_blank/images/btn_remove_right.gif
Normal file
After Width: | Height: | Size: 488 B |
BIN
e107_themes/_blank/images/btn_right.gif
Normal file
After Width: | Height: | Size: 413 B |
BIN
e107_themes/_blank/images/btn_update_active_left.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
e107_themes/_blank/images/btn_update_left.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
e107_themes/_blank/images/btn_update_over_left.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
116
e107_themes/_blank/menu/menu.css
Normal file
@@ -0,0 +1,116 @@
|
||||
#nav li.fs-linkSep { width: 2px; margin: 0px; height: 38px; background: url(../images/a01_bar-Sep.png) 0 0 no-repeat; }
|
||||
|
||||
#nav, #nav ul { /* all lists */
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
list-style: none;
|
||||
line-height: 38px;
|
||||
padding: 0px 0px;
|
||||
}
|
||||
|
||||
|
||||
#nav a {
|
||||
padding: 0px 15px 0px 36px;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: #13394E;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
|
||||
#nav a:hover {
|
||||
/* background-position: 0 -44px; */
|
||||
color: #CB0000;
|
||||
}
|
||||
|
||||
#nav li.sub a:hover,
|
||||
#nav li.sub.sfhover a,
|
||||
#nav li.sub:hover a {
|
||||
|
||||
/* background-position: 0 -88px; */
|
||||
}
|
||||
|
||||
#nav li { /* all list items */
|
||||
float: left;
|
||||
/* width: 158px; width needed or else Opera goes nuts */
|
||||
}
|
||||
ul.sub {border-top: 1px solid #CCCCCC;}
|
||||
#nav li ul { /* second-level lists */
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
width: 180px;
|
||||
|
||||
left: -9999px; /* using left instead of display to hide menus because display: none isn't read by screen readers */
|
||||
}
|
||||
|
||||
#nav li li a,
|
||||
#nav li:hover li a,
|
||||
#nav li.sfhover li a {
|
||||
text-align: left;
|
||||
background-image: none;
|
||||
background-color: #FBFEF1;
|
||||
line-height: 28px;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
padding-left: 10px;
|
||||
padding-right: 0px;
|
||||
border-left: 1px solid #B8DF30;
|
||||
border-right: 1px solid #B8DF30;
|
||||
border-bottom: 1px solid #B8DF30;
|
||||
width: 188px;
|
||||
w\idth : 188px;
|
||||
text-transform: none;
|
||||
color: #13394E;
|
||||
}
|
||||
|
||||
#nav .menuItem img { width: 16px; height: 16px; padding: 6px 0px; margin-right: 10px; }
|
||||
#nav li li a.sub,
|
||||
#nav li:hover li a.sub,
|
||||
#nav li.sfhover li a.sub {
|
||||
/* background-image: url(../images/1008-links_sub.gif) !important ; background-repeat: no-repeat; background-position:95% 50%; */
|
||||
}
|
||||
#nav li li a.sub:hover,
|
||||
#nav li:hover li a.sub:hover,
|
||||
#nav li.sfhover li a.sub:hover {
|
||||
/* background-image: url(../images/0708_link_sub_over.png) !important ; background-repeat: no-repeat; background-position: 100% 50%; */
|
||||
}
|
||||
|
||||
|
||||
#nav li li a:hover{
|
||||
background-color: #DDF098;
|
||||
color: #990000
|
||||
}
|
||||
|
||||
|
||||
|
||||
#nav li ul ul { /* third-and-above-level lists */
|
||||
margin: -29px 0 0 180px;
|
||||
}
|
||||
|
||||
#nav li:hover ul ul,
|
||||
#nav li:hover ul ul ul,
|
||||
#nav li:hover ul ul ul ul,
|
||||
#nav li:hover ul ul ul ul ul,
|
||||
#nav li.sfhover ul ul,
|
||||
#nav li.sfhover ul ul ul,
|
||||
#nav li.sfhover ul ul ul ul,
|
||||
#nav li.sfhover ul ul ul ul ul {
|
||||
left: -999em;
|
||||
}
|
||||
|
||||
#nav li:hover ul,
|
||||
#nav li li:hover ul,
|
||||
#nav li li li:hover ul,
|
||||
#nav li li li li:hover ul,
|
||||
#nav li li li li li:hover ul,
|
||||
#nav li.sfhover ul,
|
||||
#nav li li.sfhover ul,
|
||||
#nav li li li.sfhover ul,
|
||||
#nav li li li li.sfhover ul,
|
||||
#nav li li li li li.sfhover ul { /* lists nested under hovered list items */
|
||||
left: auto;
|
||||
}
|
16
e107_themes/_blank/menu/menu.js
Normal file
@@ -0,0 +1,16 @@
|
||||
sfHover = function() {
|
||||
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
|
||||
for (var i=0; i<sfEls.length; i++) {
|
||||
sfEls[i].onmouseover=function() {
|
||||
if(this.className != 'fs-linkSep')
|
||||
this.className+=" sfhover";
|
||||
}
|
||||
sfEls[i].onmouseout=function() {
|
||||
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
|
||||
}
|
||||
}
|
||||
}
|
||||
if (window.attachEvent) window.attachEvent("onload", sfHover);
|
||||
|
||||
|
||||
|
2
e107_themes/_blank/style.css
Normal file
@@ -0,0 +1,2 @@
|
||||
/* CSS Document */
|
||||
|
82
e107_themes/_blank/theme.php
Normal file
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
|
||||
$THEME_CORE_JSLIB = array(
|
||||
'jslib/core/decorate.js' => 'all',
|
||||
'jslib/core/tabs.js' => 'admin'
|
||||
);
|
||||
|
||||
$register_sc[]='FS_ADMIN_ALT_NAV';
|
||||
$no_core_css = TRUE;
|
||||
|
||||
function theme_head() {
|
||||
$ret = '';
|
||||
$ret .= '
|
||||
<link rel="stylesheet" href="'.THEME_ABS.'menu/menu.css" type="text/css" media="all" />
|
||||
<!--[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]-->
|
||||
';
|
||||
|
||||
$ret .= "
|
||||
<script type='text/javascript'>
|
||||
/**
|
||||
* Decorate all tables having e-list class
|
||||
* TODO: add 'e-list' class to all list core tables, allow theme decorate.
|
||||
*/
|
||||
e107.runOnLoad( function() {
|
||||
\$\$('table.adminlist').each(function(element) {
|
||||
e107Utils.Decorate.table(element, {tr_td: 'first last'});
|
||||
});
|
||||
\$\$('div.admintabs').each(function(element) {
|
||||
new e107Widgets.Tabs(element);
|
||||
});
|
||||
|
||||
}, document, true);
|
||||
|
||||
</script>";
|
||||
return $ret;
|
||||
}
|
||||
|
||||
function tablestyle($caption, $text){
|
||||
global $style;
|
||||
switch($style) {
|
||||
|
||||
case 'admin_menu' :
|
||||
echo '
|
||||
<div class="block">
|
||||
<h4>'.$caption.'</h4>
|
||||
'.$text.'
|
||||
</div>
|
||||
';
|
||||
break;
|
||||
|
||||
case 'site_info' :
|
||||
echo '
|
||||
<div class="block">
|
||||
<h4>'.$caption.'</h4>
|
||||
<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 = '';
|
||||
|
||||
?>
|
22
e107_themes/_blank/theme.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<e107Theme name="blank" version="0.1" date="2008-12-01" compatibility="0.8">
|
||||
<author name ="Desislav Yosifov [SonicE]" email="support@free-source.net" url="http://free-source.net"/>
|
||||
<description>Blank e107 admin theme</description>
|
||||
<compliance xhtml="true" css="true"/>
|
||||
<layouts>
|
||||
<layout name='3_column' title='3 Columns' preview='preview.jpg' previewFull='preview_full.png' requiredPlugins='chatbox' default='true' >
|
||||
<menuPresets>
|
||||
<area id='1' >
|
||||
<menu name='login' />
|
||||
<menu name='compliance' />
|
||||
</area>
|
||||
<area id='2'>
|
||||
<menu name='online' userclass='E_UC_ADMIN' />
|
||||
<menu name='powered_by' />
|
||||
<menu name='sitebutton' />
|
||||
</area>
|
||||
</menuPresets>
|
||||
</layout>
|
||||
<layout name='2_column' title='2 Columns' preview='preview.jpg' previewFull='preview_full.png' />
|
||||
</layouts>
|
||||
</e107Theme>
|