mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Core template path changes.
This commit is contained in:
@@ -556,7 +556,7 @@ if(isset($pref['trackbackEnabled']) && $pref['trackbackEnabled'] && $table == 'n
|
||||
}
|
||||
else
|
||||
{
|
||||
require_once(e_THEME."templates/trackback_template.php");
|
||||
require_once(e_CORE."templates/trackback_template.php");
|
||||
}
|
||||
|
||||
$text = "";
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
/*
|
||||
if (file_exists(THEME.'admin_images/admin_images.php')) {
|
||||
e107_require_once(THEME.'admin_images/admin_images.php');
|
||||
}
|
||||
@@ -82,11 +82,14 @@ if (!defined('E_32_CAT_ABOUT')) {
|
||||
if (!defined('E_16_NAV_MAIN')) {
|
||||
define('E_16_NAV_MAIN', e_IMAGE.'admin_images/main_16.png');
|
||||
}
|
||||
* */
|
||||
/*
|
||||
if (!defined('E_16_NAV_DOCS')) {
|
||||
define('E_16_NAV_DOCS', e_IMAGE.'admin_images/docs_16.png');
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
if (!defined('E_16_NAV_LEAV')) {
|
||||
define('E_16_NAV_LEAV', e_IMAGE.'admin_images/leave_16.png');
|
||||
}
|
||||
@@ -316,9 +319,12 @@ if (!defined('E_32_CRON')) {
|
||||
if (!defined('E_32_CUST')) {
|
||||
define('E_32_CUST', "<img class='icon S32' src='".e_IMAGE."admin_images/custom_32.png' alt='' />");
|
||||
}
|
||||
* */
|
||||
/*if (!defined('E_32_CUSTOMFIELD')) {
|
||||
define('E_32_CUSTOMFIELD', "<img class='icon S16' src='".e_IMAGE."admin_images/custom_field_32.png' alt='' />");
|
||||
}*/
|
||||
|
||||
/*
|
||||
if (!defined('E_32_DATAB')) {
|
||||
define('E_32_DATAB', "<img class='icon S32' src='".e_IMAGE."admin_images/database_32.png' alt='' />");
|
||||
}
|
||||
@@ -448,51 +454,10 @@ if (!defined('E_32_SYSINFO')) {
|
||||
|
||||
define("E_16_E107", "<img class='icon S16' src='".e_IMAGE."e107_icon_16.png' alt='' />");
|
||||
define("E_32_E107", "<img class='icon S32' src='".e_IMAGE."e107_icon_32.png' alt='' />");
|
||||
|
||||
*/
|
||||
//XXX Move to e_navigation ?
|
||||
|
||||
$e_icon_array = array(
|
||||
'main' => E_32_MAIN,
|
||||
'admin' => E_32_ADMIN,
|
||||
'admin_pass' => E_32_ADPASS,
|
||||
'banlist' => E_32_BANLIST,
|
||||
'cache' => E_32_CACHE,
|
||||
'comment' => E_32_COMMENT,
|
||||
'credits' => E_32_CREDITS,
|
||||
'cron' => E_32_CRON,
|
||||
'custom' => E_32_CUST,
|
||||
// 'custom_field' => E_32_CUSTOMFIELD,
|
||||
'database' => E_32_DATAB,
|
||||
'docs' => E_32_DOCS,
|
||||
//'download' => E_32_DOWNL,
|
||||
'emoticon' => E_32_EMOTE,
|
||||
'filemanage' => E_32_FILE,
|
||||
'fileinspector' => E_32_INSPECT,
|
||||
'frontpage' => E_32_FRONT,
|
||||
'image' => E_32_IMAGES,
|
||||
'language' => E_32_LANGUAGE,
|
||||
'links' => E_32_LINKS,
|
||||
'mail' => E_32_MAIL,
|
||||
'maintain' => E_32_MAINTAIN,
|
||||
'menus' => E_32_MENUS,
|
||||
'meta' => E_32_META,
|
||||
'newsfeed' => E_32_NEWSFEED,
|
||||
'news' => E_32_NEWS,
|
||||
'notify' => E_32_NOTIFY,
|
||||
'phpinfo' => E_32_PHP,
|
||||
'plug_manage' => E_32_PLUGMANAGER,
|
||||
'poll' => E_32_POLLS,
|
||||
'prefs' => E_32_PREFS,
|
||||
'search' => E_32_SEARCH,
|
||||
'syslogs' => E_32_ADMINLOG,
|
||||
'theme_manage' => E_32_THEMEMANAGER,
|
||||
'maintain' => E_32_MAINTAIN,
|
||||
'upload' => E_32_UPLOADS,
|
||||
'eurl' => E_32_EURL,
|
||||
'userclass' => E_32_USERCLASS,
|
||||
'user_extended' => E_32_USER_EXTENDED,
|
||||
'users' => E_32_USER,
|
||||
'wmessage' => E_32_WELCOME );
|
||||
|
||||
|
||||
//FIXME array structure - see shortcodes/admin_navigation.php
|
||||
// Moved to sitelinks_class.php - e_navigation;
|
||||
|
@@ -15,9 +15,9 @@
|
||||
*/
|
||||
|
||||
require_once('../class2.php');
|
||||
include_once(e107::coreTemplatePath('admin_icons')); // Needs to be loaded before infopanel AND in boot.php
|
||||
|
||||
|
||||
//TODO - marj prepare language reorganisation
|
||||
//include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
|
||||
|
||||
if(vartrue($_GET['iframe']) == 1)
|
||||
{
|
||||
|
@@ -32,7 +32,7 @@ if (defined('THEME') && file_exists(THEME.'admin_template.php'))
|
||||
}
|
||||
else
|
||||
{
|
||||
require_once (e_BASE.$e107->getFolder('themes').'templates/admin_template.php');
|
||||
require_once (e_CORE.'templates/admin_template.php');
|
||||
}
|
||||
|
||||
|
||||
|
@@ -99,6 +99,9 @@ class admin_shortcodes
|
||||
if (ADMIN)
|
||||
{
|
||||
global $e_sub_cat, $e_icon_array, $PLUGINS_DIRECTORY;
|
||||
|
||||
$e_icon_array = e107::getNav()->getIconArray();
|
||||
|
||||
if (e_CURRENT_PLUGIN)
|
||||
{
|
||||
$eplug_icon = '';
|
||||
|
@@ -1,12 +1,17 @@
|
||||
//<?
|
||||
global $sql,$sysprefs,$SEARCH_SHORTCODE;
|
||||
|
||||
include_lan(e_PLUGIN."search_menu/languages/".e_LANGUAGE.".php");
|
||||
$text = "";
|
||||
if (!isset($SEARCH_SHORTCODE)) {
|
||||
if (file_exists(THEME."search_template.php")) {
|
||||
if (!isset($SEARCH_SHORTCODE))
|
||||
{
|
||||
if (file_exists(THEME."search_template.php"))
|
||||
{
|
||||
include(THEME."search_template.php");
|
||||
} else {
|
||||
include(e_THEME."templates/search_template.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
include(e_CORE."templates/search_template.php");
|
||||
}
|
||||
}
|
||||
$ref['all'] = 'all';
|
||||
|
@@ -112,7 +112,7 @@ class e107MailTemplate
|
||||
{
|
||||
$fileList[] = $extraFile;
|
||||
}
|
||||
$fileList[] = e_THEME.'templates/email_template.php';
|
||||
$fileList[] = e_CORE.'templates/email_template.php';
|
||||
foreach ($fileList as $templateFileName ) // Override file, optional plugin file then defaults
|
||||
{
|
||||
|
||||
|
@@ -1800,7 +1800,7 @@ class mailoutAdminClass extends e107MailManager
|
||||
public function getEmailTemplateNames($sel = 'all')
|
||||
{
|
||||
$ret = array();
|
||||
foreach (array(e_THEME.'templates/email_template.php', THEME.'templates/email_template.php') as $templateFileName ) // Override file then defaults
|
||||
foreach (array(e_CORE.'templates/email_template.php', THEME.'templates/email_template.php') as $templateFileName ) // Override file then defaults
|
||||
if (is_readable($templateFileName))
|
||||
{
|
||||
require($templateFileName);
|
||||
|
@@ -57,7 +57,7 @@ function display_help($tagid="helpb", $mode = 1, $addtextfunc = "addtext", $help
|
||||
}
|
||||
else
|
||||
{
|
||||
include(e_THEME."templates/bbcode_template.php");
|
||||
include(e_CORE."templates/bbcode_template.php");
|
||||
}
|
||||
|
||||
if($mode != 2 && $mode != "forum")
|
||||
|
@@ -554,17 +554,56 @@ class e_navigation
|
||||
*/
|
||||
var $admin_cat = array();
|
||||
|
||||
/**
|
||||
* Structure: $data[category][parentId] = array(Link Data)
|
||||
* @var array DB data
|
||||
*/
|
||||
// var $data = null;
|
||||
|
||||
/**
|
||||
* Structure: $indeces[flat][link_id] = link_parent; $indeces[ordered][link_id] = link_order
|
||||
* @var array
|
||||
*/
|
||||
// var $indeces = null;
|
||||
var $iconArray = array(
|
||||
'main' => E_32_MAIN,
|
||||
'admin' => E_32_ADMIN,
|
||||
'admin_pass' => E_32_ADPASS,
|
||||
'banlist' => E_32_BANLIST,
|
||||
'cache' => E_32_CACHE,
|
||||
'comment' => E_32_COMMENT,
|
||||
'credits' => E_32_CREDITS,
|
||||
'cron' => E_32_CRON,
|
||||
'custom' => E_32_CUST,
|
||||
// 'custom_field' => E_32_CUSTOMFIELD,
|
||||
'database' => E_32_DATAB,
|
||||
'docs' => E_32_DOCS,
|
||||
//'download' => E_32_DOWNL,
|
||||
'emoticon' => E_32_EMOTE,
|
||||
'filemanage' => E_32_FILE,
|
||||
'fileinspector' => E_32_INSPECT,
|
||||
'frontpage' => E_32_FRONT,
|
||||
'image' => E_32_IMAGES,
|
||||
'language' => E_32_LANGUAGE,
|
||||
'links' => E_32_LINKS,
|
||||
'mail' => E_32_MAIL,
|
||||
'maintain' => E_32_MAINTAIN,
|
||||
'menus' => E_32_MENUS,
|
||||
'meta' => E_32_META,
|
||||
'newsfeed' => E_32_NEWSFEED,
|
||||
'news' => E_32_NEWS,
|
||||
'notify' => E_32_NOTIFY,
|
||||
'phpinfo' => E_32_PHP,
|
||||
'plug_manage' => E_32_PLUGMANAGER,
|
||||
'poll' => E_32_POLLS,
|
||||
'prefs' => E_32_PREFS,
|
||||
'search' => E_32_SEARCH,
|
||||
'syslogs' => E_32_ADMINLOG,
|
||||
'theme_manage' => E_32_THEMEMANAGER,
|
||||
'maintain' => E_32_MAINTAIN,
|
||||
'upload' => E_32_UPLOADS,
|
||||
'eurl' => E_32_EURL,
|
||||
'userclass' => E_32_USERCLASS,
|
||||
'user_extended' => E_32_USER_EXTENDED,
|
||||
'users' => E_32_USER,
|
||||
'wmessage' => E_32_WELCOME
|
||||
);
|
||||
|
||||
function getIconArray()
|
||||
{
|
||||
return $this->iconArray;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Structure $this->_md5cache[$category] = md5HASH
|
||||
|
@@ -48,459 +48,6 @@ else
|
||||
$no_core_css = TRUE;
|
||||
|
||||
|
||||
if (!defined('E_32_ADMIN')) {
|
||||
define('E_32_ADMIN', "<i class='S32 e-admins-32'></i>");
|
||||
}
|
||||
if (!defined('E_32_ADPASS')) {
|
||||
define('E_32_ADPASS', "<i class='S32 e-adminpass-32'></i>");
|
||||
}
|
||||
if (!defined('E_32_BANLIST')) {
|
||||
define('E_32_BANLIST', "<i class='S32 e-banlist-32'></i>");
|
||||
}
|
||||
|
||||
|
||||
if (!defined('E_32_CACHE')) {
|
||||
define('E_32_CACHE', "<i class='S32 e-cache-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CREDITS')) {
|
||||
define('E_32_CREDITS', "<i class='S32 e-e107_icon-32.png'></i>");
|
||||
}
|
||||
if (!defined('E_32_CRON')) {
|
||||
define('E_32_CRON', "<i class='S32 e-cron-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CUST')) {
|
||||
define('E_32_CUST', "<i class='S32 e-custom-32'></i> ");
|
||||
}
|
||||
//if (!defined('E_32_CUSTOMFIELD')) {
|
||||
// define('E_32_CUSTOMFIELD', "<img class='icon S16' src='".e_IMAGE."admin_images/custom_field_32.png' alt='' />");
|
||||
//}
|
||||
if (!defined('E_32_DATAB')) {
|
||||
define('E_32_DATAB', "<i class='S32 e-database-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_DOCS')) {
|
||||
define('E_32_DOCS', "<i class='S32 e-docs-32'></i> ");
|
||||
}
|
||||
|
||||
if (!defined('E_32_EMOTE')) {
|
||||
define('E_32_EMOTE', "<i class='S32 e-emoticons-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_FILE')) {
|
||||
define('E_32_FILE', "<i class='S32 e-filemanager-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_FORUM')) {
|
||||
define('E_32_FORUM', "<i class='S32 e-forums-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_FRONT')) {
|
||||
define('E_32_FRONT', "<i class='S32 e-frontpage-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_IMAGES')) {
|
||||
define('E_32_IMAGES', "<i class='S32 e-images-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_INSPECT')) {
|
||||
define('E_32_INSPECT', "<i class='S32 e-fileinspector-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_LINKS')) {
|
||||
define('E_32_LINKS', "<i class='S32 e-links-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_WELCOME')) {
|
||||
define('E_32_WELCOME', "<i class='S32 e-welcome-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MAIL')) {
|
||||
define('E_32_MAIL', "<i class='S32 e-mail-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MAINTAIN')) {
|
||||
define('E_32_MAINTAIN', "<i class='S32 e-maintain-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MENUS')) {
|
||||
define('E_32_MENUS', "<i class='S32 e-menus-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_META')) {
|
||||
define('E_32_META', "<i class='S32 e-meta-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NEWS')) {
|
||||
define('E_32_NEWS', "<i class='S32 e-news-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NEWSFEED')) {
|
||||
define('E_32_NEWSFEED', "<i class='S32 e-newsfeeds-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NOTIFY')) {
|
||||
define('E_32_NOTIFY', "<i class='S32 e-notify-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_PHP')) {
|
||||
define('E_32_PHP', "<i class='S32 e-phpinfo-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_POLLS')) {
|
||||
define('E_32_POLLS', "<i class='S32 e-polls-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_PREFS')) {
|
||||
define('E_32_PREFS', "<i class='S32 e-prefs-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_SEARCH')) {
|
||||
define('E_32_SEARCH', "<i class='S32 e-search-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_UPLOADS')) {
|
||||
define('E_32_UPLOADS', "<i class='S32 e-uploads-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_EURL')) {
|
||||
define('E_32_EURL', "<i class='S32 e-eurl-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_USER')) {
|
||||
define('E_32_USER', "<i class='S32 e-users-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_USER_EXTENDED')) {
|
||||
define('E_32_USER_EXTENDED', "<i class='S32 e-extended-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_USERCLASS')) {
|
||||
define('E_32_USERCLASS', "<i class='S32 e-userclass-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_LANGUAGE')) {
|
||||
define('E_32_LANGUAGE', "<i class='S32 e-language-32'></i> ");
|
||||
}
|
||||
|
||||
// Large Admin Other Link Images
|
||||
if (!defined('E_32_PLUGIN')) {
|
||||
define('E_32_PLUGIN', "<i class='S32 e-plugins-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_PLUGMANAGER')) {
|
||||
define('E_32_PLUGMANAGER', "<i class='S32 e-plugmanager-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_DOCS')) {
|
||||
define('E_32_DOCS', "<i class='S32 e-docs-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MAIN')) {
|
||||
define('E_32_MAIN', "<i class='S32 e-main-32'></i> ");
|
||||
}
|
||||
|
||||
if (!defined('E_32_THEMEMANAGER')) {
|
||||
define('E_32_THEMEMANAGER', "<i class='S32 e-themes-32'></i> ");
|
||||
}
|
||||
|
||||
// Large Admin Other Images
|
||||
if (!defined('E_32_COMMENT')) {
|
||||
define('E_32_COMMENT', "<i class='S32 e-comments-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_ADMINLOG')) {
|
||||
define('E_32_ADMINLOG', "<i class='S32 e-adminlogs-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_LOGOUT')) {
|
||||
define('E_32_LOGOUT', "<i class='S32 e-logout-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MANAGE')) {
|
||||
define('E_32_MANAGE', "<i class='S32 e-manage-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CREATE')) {
|
||||
define('E_32_CREATE', "<i class='S32 e-add-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_SETTINGS')) {
|
||||
define('E_32_SETTINGS', "<i class='S32 e-settings-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_SYSINFO')) {
|
||||
define('E_32_SYSINFO', "<i class='S32 e-sysinfo-32'></i> ");
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Small Category Images
|
||||
if (!defined('E_16_CAT_SETT')) {
|
||||
define('E_16_CAT_SETT', e_IMAGE.'admin_images/cat_settings_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_USER')) {
|
||||
define('E_16_CAT_USER', e_IMAGE.'admin_images/cat_users_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_CONT')) {
|
||||
define('E_16_CAT_CONT', e_IMAGE.'admin_images/cat_content_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_FILE')) {
|
||||
define('E_16_CAT_FILE', e_IMAGE.'admin_images/cat_files_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_TOOL')) {
|
||||
define('E_16_CAT_TOOL', e_IMAGE.'admin_images/cat_tools_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_PLUG')) {
|
||||
define('E_16_CAT_PLUG', e_IMAGE.'admin_images/cat_plugins_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_MANAGE')) {
|
||||
define('E_16_CAT_MANAGE', e_IMAGE.'admin_images/manage_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_MISC')) {
|
||||
define('E_16_CAT_MISC', e_IMAGE.'admin_images/settings_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_ABOUT')) {
|
||||
define('E_16_CAT_ABOUT', e_IMAGE.'admin_images/info_16.png');
|
||||
}
|
||||
|
||||
// Large Category Images
|
||||
if (!defined('E_32_CAT_SETT')) {
|
||||
define('E_32_CAT_SETT', "<i class='S32 e-cat_settings-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_USER')) {
|
||||
define('E_32_CAT_USER', "<i class='S32 e-cat_users-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_CONT')) {
|
||||
define('E_32_CAT_CONT', "<i class='S32 e-cat_content-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_FILE')) {
|
||||
define('E_32_CAT_FILE', "<i class='S32 e-cat_files-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_TOOL')) {
|
||||
define('E_32_CAT_TOOL', "<i class='S32 e-cat_tools-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_PLUG')) {
|
||||
define('E_32_CAT_PLUG', "<i class='S32 e-cat_plugins-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_MANAGE')) {
|
||||
define('E_32_CAT_MANAGE', "<i class='S32 e-manage-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_MISC')) {
|
||||
define('E_32_CAT_MISC', "<i class='S32 e-settings-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_ABOUT')) {
|
||||
define('E_32_CAT_ABOUT', "<i class='S32 e-info-32'></i> ");
|
||||
}
|
||||
|
||||
// Small Nav Images
|
||||
if (!defined('E_16_NAV_MAIN')) {
|
||||
define('E_16_NAV_MAIN', e_IMAGE.'admin_images/main_16.png');
|
||||
}
|
||||
// if (!defined('E_16_NAV_DOCS')) {
|
||||
// define('E_16_NAV_DOCS', e_IMAGE.'admin_images/docs_16.png');
|
||||
// }
|
||||
|
||||
if (!defined('E_16_NAV_LEAV')) {
|
||||
define('E_16_NAV_LEAV', e_IMAGE.'admin_images/leave_16.png');
|
||||
}
|
||||
if (!defined('E_16_NAV_LGOT')) {
|
||||
define('E_16_NAV_LGOT', e_IMAGE.'admin_images/logout_16.png');
|
||||
}
|
||||
if (!defined('E_16_NAV_ARROW')) {
|
||||
define('E_16_NAV_ARROW', e_IMAGE.'admin_images/arrow_16.png');
|
||||
}
|
||||
if (!defined('E_16_NAV_ARROW_OVER')) {
|
||||
define('E_16_NAV_ARROW_OVER', e_IMAGE.'admin_images/arrow_over_16.png');
|
||||
}
|
||||
|
||||
// Large Nav Images
|
||||
if (!defined('E_32_NAV_MAIN')) {
|
||||
define('E_32_NAV_MAIN', "<i class='S32 e-main-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_DOCS')) {
|
||||
define('E_32_NAV_DOCS', "<i class='S32 e-docs-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_LEAV')) {
|
||||
define('E_32_NAV_LEAV', "<i class='S32 e-leave-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_LGOT')) {
|
||||
define('E_32_NAV_LGOT', "<i class='S32 e-logout-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_ARROW')) {
|
||||
define('E_32_NAV_ARROW', "<i class='S32 e-arrow-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_ARROW_OVER')) {
|
||||
define('E_32_NAV_ARROW_OVER', "<i class='S32 e-arrow_over-32'></i> ");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Small Admin Main Link Images
|
||||
if (!defined('E_16_ADMIN')) {
|
||||
define('E_16_ADMIN', "<i class='S16 e-admins-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_ADPASS')) {
|
||||
define('E_16_ADPASS', "<i class='S16 e-adminpass-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_BANLIST')) {
|
||||
define('E_16_BANLIST', "<i class='S16 e-banlist-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_CACHE')) {
|
||||
define('E_16_CACHE', "<i class='S16 e-cache-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_COMMENT')) {
|
||||
define('E_16_COMMENT', "<i class='S16 e-comments-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_CREDITS')) {
|
||||
define('E_16_CREDITS', "<i class='S16 e-e107_icon-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_CRON')) {
|
||||
define('E_16_CRON', "<i class='S16 e-cron-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_CUST')) {
|
||||
define('E_16_CUST', "<i class='S16 e-custom-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_CUSTOMFIELD')) {
|
||||
define('E_16_CUSTOMFIELD', "<i class='S16 e-custom_field-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_DATAB')) {
|
||||
define('E_16_DATAB', "<i class='S16 e-database-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_DOCS')) {
|
||||
define('E_16_DOCS', "<i class='S16 e-docs-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_EMOTE')) {
|
||||
define('E_16_EMOTE', "<i class='S16 e-emoticons-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_FILE')) {
|
||||
define('E_16_FILE', "<i class='S16 e-filemanager-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_FORUM')) {
|
||||
define('E_16_FORUM', "<i class='S16 e-forums-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_FRONT')) {
|
||||
define('E_16_FRONT', "<i class='S16 e-frontpage-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_IMAGES')) {
|
||||
define('E_16_IMAGES', "<i class='S16 e-images-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_INSPECT')) {
|
||||
define('E_16_INSPECT', "<i class='S16 e-fileinspector-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_LINKS')) {
|
||||
define('E_16_LINKS', "<i class='S16 e-links-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_WELCOME')) {
|
||||
define('E_16_WELCOME', "<i class='S16 e-welcome-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_MAIL')) {
|
||||
define('E_16_MAIL', "<i class='S16 e-mail-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_MAINTAIN')) {
|
||||
define('E_16_MAINTAIN', "<i class='S16 e-maintain-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_MENUS')) {
|
||||
define('E_16_MENUS', "<i class='icon S16 e-menus-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_META')) {
|
||||
define('E_16_META', "<i class='icon S16 e-meta-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_NEWS')) {
|
||||
define('E_16_NEWS', "<i class='icon S16 e-news-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_NEWSFEED')) {
|
||||
define('E_16_NEWSFEED', "<i class='S16 e-newsfeeds-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_NOTIFY')) {
|
||||
define('E_16_NOTIFY', "<i class='S16 e-notify-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_PHP')) {
|
||||
define('E_16_PHP', "<i class='S16 e-phpinfo-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_POLLS')) {
|
||||
define('E_16_POLLS', "<i class='S16 e-polls-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_PREFS')) {
|
||||
define('E_16_PREFS', "<i class='S16 e-prefs-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_SEARCH')) {
|
||||
define('E_16_SEARCH', "<i class='S16 e-search-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_UPLOADS')) {
|
||||
define('E_16_UPLOADS', "<i class='S16 e-uploads-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_EURL')) {
|
||||
define('E_16_EURL', "<i class='S16 e-eurl-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_USER')) {
|
||||
define('E_16_USER', "<i class='S16 e-users-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_USER_EXTENDED')) {
|
||||
define('E_16_USER_EXTENDED', "<i class='S16 e-extended-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_USERCLASS')) {
|
||||
define('E_16_USERCLASS', "<i class='S16 e-userclass-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_LANGUAGE')) {
|
||||
define('E_16_LANGUAGE', "<i class='S16 e-language-16'></i>");
|
||||
}
|
||||
|
||||
// Small Admin Other Link Images
|
||||
if (!defined('E_16_PLUGIN')) {
|
||||
define('E_16_PLUGIN', "<i class='S16 e-plugins-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_PLUGMANAGER')) {
|
||||
define('E_16_PLUGMANAGER', "<i class='S16 e-plugmanager-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_DOCS')) {
|
||||
define('E_16_DOCS', "<i class='S16 e-docs-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_THEMEMANAGER')) {
|
||||
define('E_16_THEMEMANAGER', "<i class='S16 e-themes-16'></i>");
|
||||
}
|
||||
|
||||
// Small Admin Other Images
|
||||
if (!defined('E_16_COMMENT')) {
|
||||
define('E_16_COMMENT', "<i class='S16 e-comments-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_ADMINLOG')) {
|
||||
define('E_16_ADMINLOG', "<i class='S16 e-adminlogs-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_MANAGE')) {
|
||||
define('E_16_MANAGE', "<i class='S16 e-manage-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_CREATE')) {
|
||||
define('E_16_CREATE', "<i class='S16 e-add-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_SETTINGS')) {
|
||||
define('E_16_SETTINGS', "<i class='S16 e-settings-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_SYSINFO')) {
|
||||
define('E_16_SYSINFO', "<i class='S16 e-sysinfo-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_FAILEDLOGIN')) {
|
||||
define('E_16_FAILEDLOGIN', "<i class='S16 e-failedlogin-16'></i>");
|
||||
}
|
||||
|
||||
|
||||
define("E_32_TRUE", "<i class='S32 e-true-32'></i>");
|
||||
|
||||
|
||||
|
||||
define("ADMIN_TRUE_ICON", "<i class='S16 e-true-16'></i>");
|
||||
define("ADMIN_FALSE_ICON", "<i class='S16 e-false-16'></i>");
|
||||
|
||||
define("ADMIN_EDIT_ICON", "<i class='S32 e-edit-32'></i>");
|
||||
define("ADMIN_DELETE_ICON", "<i class='S32 e-delete-32'></i>");
|
||||
define("ADMIN_WARNING_ICON", "<i class='S32 e-warning-32'></i>");
|
||||
define("ADMIN_ADD_ICON", "<i class='S32 e-add-32'></i>");
|
||||
define("ADMIN_INFO_ICON", "<i class='S16 e-info-16'></i>");
|
||||
define("ADMIN_CONFIGURE_ICON", "<i class='S32 e-configure-32'></i>");
|
||||
define("ADMIN_VIEW_ICON", "<i class='S32 e-search-32'></i>");
|
||||
define("ADMIN_URL_ICON", "<i class='S16 e-forums-16'></i>");
|
||||
define("ADMIN_INSTALLPLUGIN_ICON", "<i class='S32 e-plugin_install-32'></i>");
|
||||
define("ADMIN_UNINSTALLPLUGIN_ICON", "<i class='S32 e-plugin_uninstall-32'></i>");
|
||||
define("ADMIN_UPGRADEPLUGIN_ICON", "<i class='S32 e-up-32'></i>");
|
||||
define("ADMIN_UP_ICON", "<i class='S32 e-up-32'></i>");
|
||||
define("ADMIN_DOWN_ICON", "<i class='S32 e-down-32'></i>");
|
||||
define("ADMIN_SORT_ICON", "<i class='S32 e-sort-32'></i>");
|
||||
define("ADMIN_EXECUTE_ICON", "<i class='S32 e-execute-32'></i>");
|
||||
|
||||
|
||||
// FOR BC
|
||||
|
||||
define("ADMIN_EDIT_ICON_PATH", e_IMAGE_ABS."admin_images/edit_32.png");
|
||||
define("ADMIN_DELETE_ICON_PATH", e_IMAGE_ABS."admin_images/delete_32.png");
|
||||
define("ADMIN_WARNING_ICON_PATH", e_IMAGE_ABS."admin_images/warning_32.png");
|
||||
define("ADMIN_ADD_ICON_PATH", e_IMAGE_ABS."admin_images/add_32.png");
|
||||
define("ADMIN_INFO_ICON_PATH", e_IMAGE_ABS."admin_images/info_32.png");
|
||||
define("ADMIN_CONFIGURE_ICON_PATH", e_IMAGE_ABS."admin_images/configure_32.png");
|
||||
define("ADMIN_VIEW_ICON_PATH", e_IMAGE_ABS."admin_images/admin_images/search_32.png");
|
||||
define("ADMIN_URL_ICON_PATH", e_IMAGE_ABS."admin_images/forums_32.png");
|
||||
define("ADMIN_INSTALLPLUGIN_ICON_PATH", e_IMAGE_ABS."admin_images/plugin_install_32.png");
|
||||
define("ADMIN_UNINSTALLPLUGIN_ICON_PATH", e_IMAGE_ABS."admin_images/plugin_unstall_32.png");
|
||||
define("ADMIN_UPGRADEPLUGIN_ICON_PATH", e_IMAGE_ABS."admin_images/up_32.png");
|
||||
define("ADMIN_UP_ICON_PATH", e_IMAGE_ABS."admin_images/up_32.png");
|
||||
define("ADMIN_DOWN_ICON_PATH", e_IMAGE_ABS."admin_images/down_32.png");
|
||||
define("ADMIN_EXECUTE_ICON_PATH", e_IMAGE_ABS."admin_images/execute_32.png");
|
||||
define("ADMIN_SORT_ICON_PATH", e_IMAGE_ABS."admin_images/sort_32.png");
|
||||
|
||||
|
||||
function theme_head() {
|
||||
|
||||
|
@@ -8,10 +8,6 @@
|
||||
*
|
||||
* Administration Icons, should handle all icons in the future (somehow)
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_themes/templates/admin_icons_template.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
*/
|
||||
/*
|
||||
define("ADMIN_TRUE_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/true_16.png' alt='' />");
|
||||
@@ -73,6 +69,481 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (!defined('E_16_FACEBOOK')) {
|
||||
define('E_16_FACEBOOK', "<img class='icon S16' src='".e_IMAGE."admin_images/facebook_16.png' alt='' />");
|
||||
}
|
||||
|
||||
if (!defined('E_16_TWITTER')) {
|
||||
define('E_16_TWITTER', "<img class='icon S16' src='".e_IMAGE."admin_images/twitter_16.png' alt='' />");
|
||||
}
|
||||
|
||||
if (!defined('E_16_GITHUB')) {
|
||||
define('E_16_GITHUB', "<img class='icon S16' src='".e_IMAGE."admin_images/github_16.png' alt='' />");
|
||||
}
|
||||
define("E_16_E107", "<img class='icon S16' src='".e_IMAGE."e107_icon_16.png' alt='' />");
|
||||
define("E_32_E107", "<img class='icon S32' src='".e_IMAGE."e107_icon_32.png' alt='' />");
|
||||
|
||||
|
||||
|
||||
if (!defined('E_32_ADMIN')) {
|
||||
define('E_32_ADMIN', "<i class='S32 e-admins-32'></i>");
|
||||
}
|
||||
if (!defined('E_32_ADPASS')) {
|
||||
define('E_32_ADPASS', "<i class='S32 e-adminpass-32'></i>");
|
||||
}
|
||||
if (!defined('E_32_BANLIST')) {
|
||||
define('E_32_BANLIST', "<i class='S32 e-banlist-32'></i>");
|
||||
}
|
||||
|
||||
|
||||
if (!defined('E_32_CACHE')) {
|
||||
define('E_32_CACHE', "<i class='S32 e-cache-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CREDITS')) {
|
||||
define('E_32_CREDITS', "<i class='S32 e-e107_icon-32.png'></i>");
|
||||
}
|
||||
if (!defined('E_32_CRON')) {
|
||||
define('E_32_CRON', "<i class='S32 e-cron-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CUST')) {
|
||||
define('E_32_CUST', "<i class='S32 e-custom-32'></i> ");
|
||||
}
|
||||
//if (!defined('E_32_CUSTOMFIELD')) {
|
||||
// define('E_32_CUSTOMFIELD', "<img class='icon S16' src='".e_IMAGE."admin_images/custom_field_32.png' alt='' />");
|
||||
//}
|
||||
if (!defined('E_32_DATAB')) {
|
||||
define('E_32_DATAB', "<i class='S32 e-database-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_DOCS')) {
|
||||
define('E_32_DOCS', "<i class='S32 e-docs-32'></i> ");
|
||||
}
|
||||
|
||||
if (!defined('E_32_EMOTE')) {
|
||||
define('E_32_EMOTE', "<i class='S32 e-emoticons-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_FILE')) {
|
||||
define('E_32_FILE', "<i class='S32 e-filemanager-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_FORUM')) {
|
||||
define('E_32_FORUM', "<i class='S32 e-forums-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_FRONT')) {
|
||||
define('E_32_FRONT', "<i class='S32 e-frontpage-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_IMAGES')) {
|
||||
define('E_32_IMAGES', "<i class='S32 e-images-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_INSPECT')) {
|
||||
define('E_32_INSPECT', "<i class='S32 e-fileinspector-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_LINKS')) {
|
||||
define('E_32_LINKS', "<i class='S32 e-links-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_WELCOME')) {
|
||||
define('E_32_WELCOME', "<i class='S32 e-welcome-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MAIL')) {
|
||||
define('E_32_MAIL', "<i class='S32 e-mail-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MAINTAIN')) {
|
||||
define('E_32_MAINTAIN', "<i class='S32 e-maintain-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MENUS')) {
|
||||
define('E_32_MENUS', "<i class='S32 e-menus-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_META')) {
|
||||
define('E_32_META', "<i class='S32 e-meta-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NEWS')) {
|
||||
define('E_32_NEWS', "<i class='S32 e-news-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NEWSFEED')) {
|
||||
define('E_32_NEWSFEED', "<i class='S32 e-newsfeeds-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NOTIFY')) {
|
||||
define('E_32_NOTIFY', "<i class='S32 e-notify-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_PHP')) {
|
||||
define('E_32_PHP', "<i class='S32 e-phpinfo-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_POLLS')) {
|
||||
define('E_32_POLLS', "<i class='S32 e-polls-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_PREFS')) {
|
||||
define('E_32_PREFS', "<i class='S32 e-prefs-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_SEARCH')) {
|
||||
define('E_32_SEARCH', "<i class='S32 e-search-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_UPLOADS')) {
|
||||
define('E_32_UPLOADS', "<i class='S32 e-uploads-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_EURL')) {
|
||||
define('E_32_EURL', "<i class='S32 e-eurl-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_USER')) {
|
||||
define('E_32_USER', "<i class='S32 e-users-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_USER_EXTENDED')) {
|
||||
define('E_32_USER_EXTENDED', "<i class='S32 e-extended-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_USERCLASS')) {
|
||||
define('E_32_USERCLASS', "<i class='S32 e-userclass-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_LANGUAGE')) {
|
||||
define('E_32_LANGUAGE', "<i class='S32 e-language-32'></i> ");
|
||||
}
|
||||
|
||||
// Large Admin Other Link Images
|
||||
if (!defined('E_32_PLUGIN')) {
|
||||
define('E_32_PLUGIN', "<i class='S32 e-plugins-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_PLUGMANAGER')) {
|
||||
define('E_32_PLUGMANAGER', "<i class='S32 e-plugmanager-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_DOCS')) {
|
||||
define('E_32_DOCS', "<i class='S32 e-docs-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MAIN')) {
|
||||
define('E_32_MAIN', "<i class='S32 e-main-32'></i> ");
|
||||
}
|
||||
|
||||
if (!defined('E_32_THEMEMANAGER')) {
|
||||
define('E_32_THEMEMANAGER', "<i class='S32 e-themes-32'></i> ");
|
||||
}
|
||||
|
||||
// Large Admin Other Images
|
||||
if (!defined('E_32_COMMENT')) {
|
||||
define('E_32_COMMENT', "<i class='S32 e-comments-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_ADMINLOG')) {
|
||||
define('E_32_ADMINLOG', "<i class='S32 e-adminlogs-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_LOGOUT')) {
|
||||
define('E_32_LOGOUT', "<i class='S32 e-logout-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_MANAGE')) {
|
||||
define('E_32_MANAGE', "<i class='S32 e-manage-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CREATE')) {
|
||||
define('E_32_CREATE', "<i class='S32 e-add-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_SETTINGS')) {
|
||||
define('E_32_SETTINGS', "<i class='S32 e-settings-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_SYSINFO')) {
|
||||
define('E_32_SYSINFO', "<i class='S32 e-sysinfo-32'></i> ");
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Small Category Images
|
||||
if (!defined('E_16_CAT_SETT')) {
|
||||
define('E_16_CAT_SETT', e_IMAGE.'admin_images/cat_settings_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_USER')) {
|
||||
define('E_16_CAT_USER', e_IMAGE.'admin_images/cat_users_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_CONT')) {
|
||||
define('E_16_CAT_CONT', e_IMAGE.'admin_images/cat_content_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_FILE')) {
|
||||
define('E_16_CAT_FILE', e_IMAGE.'admin_images/cat_files_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_TOOL')) {
|
||||
define('E_16_CAT_TOOL', e_IMAGE.'admin_images/cat_tools_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_PLUG')) {
|
||||
define('E_16_CAT_PLUG', e_IMAGE.'admin_images/cat_plugins_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_MANAGE')) {
|
||||
define('E_16_CAT_MANAGE', e_IMAGE.'admin_images/manage_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_MISC')) {
|
||||
define('E_16_CAT_MISC', e_IMAGE.'admin_images/settings_16.png');
|
||||
}
|
||||
if (!defined('E_16_CAT_ABOUT')) {
|
||||
define('E_16_CAT_ABOUT', e_IMAGE.'admin_images/info_16.png');
|
||||
}
|
||||
|
||||
// Large Category Images
|
||||
if (!defined('E_32_CAT_SETT')) {
|
||||
define('E_32_CAT_SETT', "<i class='S32 e-cat_settings-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_USER')) {
|
||||
define('E_32_CAT_USER', "<i class='S32 e-cat_users-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_CONT')) {
|
||||
define('E_32_CAT_CONT', "<i class='S32 e-cat_content-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_FILE')) {
|
||||
define('E_32_CAT_FILE', "<i class='S32 e-cat_files-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_TOOL')) {
|
||||
define('E_32_CAT_TOOL', "<i class='S32 e-cat_tools-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_PLUG')) {
|
||||
define('E_32_CAT_PLUG', "<i class='S32 e-cat_plugins-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_MANAGE')) {
|
||||
define('E_32_CAT_MANAGE', "<i class='S32 e-manage-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_MISC')) {
|
||||
define('E_32_CAT_MISC', "<i class='S32 e-settings-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_CAT_ABOUT')) {
|
||||
define('E_32_CAT_ABOUT', "<i class='S32 e-info-32'></i> ");
|
||||
}
|
||||
|
||||
// Small Nav Images
|
||||
if (!defined('E_16_NAV_MAIN')) {
|
||||
define('E_16_NAV_MAIN', e_IMAGE.'admin_images/main_16.png');
|
||||
}
|
||||
// if (!defined('E_16_NAV_DOCS')) {
|
||||
// define('E_16_NAV_DOCS', e_IMAGE.'admin_images/docs_16.png');
|
||||
// }
|
||||
|
||||
if (!defined('E_16_NAV_LEAV')) {
|
||||
define('E_16_NAV_LEAV', e_IMAGE.'admin_images/leave_16.png');
|
||||
}
|
||||
if (!defined('E_16_NAV_LGOT')) {
|
||||
define('E_16_NAV_LGOT', e_IMAGE.'admin_images/logout_16.png');
|
||||
}
|
||||
if (!defined('E_16_NAV_ARROW')) {
|
||||
define('E_16_NAV_ARROW', e_IMAGE.'admin_images/arrow_16.png');
|
||||
}
|
||||
if (!defined('E_16_NAV_ARROW_OVER')) {
|
||||
define('E_16_NAV_ARROW_OVER', e_IMAGE.'admin_images/arrow_over_16.png');
|
||||
}
|
||||
|
||||
// Large Nav Images
|
||||
if (!defined('E_32_NAV_MAIN')) {
|
||||
define('E_32_NAV_MAIN', "<i class='S32 e-main-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_DOCS')) {
|
||||
define('E_32_NAV_DOCS', "<i class='S32 e-docs-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_LEAV')) {
|
||||
define('E_32_NAV_LEAV', "<i class='S32 e-leave-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_LGOT')) {
|
||||
define('E_32_NAV_LGOT', "<i class='S32 e-logout-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_ARROW')) {
|
||||
define('E_32_NAV_ARROW', "<i class='S32 e-arrow-32'></i> ");
|
||||
}
|
||||
if (!defined('E_32_NAV_ARROW_OVER')) {
|
||||
define('E_32_NAV_ARROW_OVER', "<i class='S32 e-arrow_over-32'></i> ");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Small Admin Main Link Images
|
||||
if (!defined('E_16_ADMIN')) {
|
||||
define('E_16_ADMIN', "<i class='S16 e-admins-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_ADPASS')) {
|
||||
define('E_16_ADPASS', "<i class='S16 e-adminpass-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_BANLIST')) {
|
||||
define('E_16_BANLIST', "<i class='S16 e-banlist-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_CACHE')) {
|
||||
define('E_16_CACHE', "<i class='S16 e-cache-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_COMMENT')) {
|
||||
define('E_16_COMMENT', "<i class='S16 e-comments-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_CREDITS')) {
|
||||
define('E_16_CREDITS', "<i class='S16 e-e107_icon-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_CRON')) {
|
||||
define('E_16_CRON', "<i class='S16 e-cron-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_CUST')) {
|
||||
define('E_16_CUST', "<i class='S16 e-custom-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_CUSTOMFIELD')) {
|
||||
define('E_16_CUSTOMFIELD', "<i class='S16 e-custom_field-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_DATAB')) {
|
||||
define('E_16_DATAB', "<i class='S16 e-database-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_DOCS')) {
|
||||
define('E_16_DOCS', "<i class='S16 e-docs-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_EMOTE')) {
|
||||
define('E_16_EMOTE', "<i class='S16 e-emoticons-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_FILE')) {
|
||||
define('E_16_FILE', "<i class='S16 e-filemanager-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_FORUM')) {
|
||||
define('E_16_FORUM', "<i class='S16 e-forums-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_FRONT')) {
|
||||
define('E_16_FRONT', "<i class='S16 e-frontpage-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_IMAGES')) {
|
||||
define('E_16_IMAGES', "<i class='S16 e-images-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_INSPECT')) {
|
||||
define('E_16_INSPECT', "<i class='S16 e-fileinspector-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_LINKS')) {
|
||||
define('E_16_LINKS', "<i class='S16 e-links-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_WELCOME')) {
|
||||
define('E_16_WELCOME', "<i class='S16 e-welcome-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_MAIL')) {
|
||||
define('E_16_MAIL', "<i class='S16 e-mail-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_MAINTAIN')) {
|
||||
define('E_16_MAINTAIN', "<i class='S16 e-maintain-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_MENUS')) {
|
||||
define('E_16_MENUS', "<i class='icon S16 e-menus-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_META')) {
|
||||
define('E_16_META', "<i class='icon S16 e-meta-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_NEWS')) {
|
||||
define('E_16_NEWS', "<i class='icon S16 e-news-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_NEWSFEED')) {
|
||||
define('E_16_NEWSFEED', "<i class='S16 e-newsfeeds-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_NOTIFY')) {
|
||||
define('E_16_NOTIFY', "<i class='S16 e-notify-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_PHP')) {
|
||||
define('E_16_PHP', "<i class='S16 e-phpinfo-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_POLLS')) {
|
||||
define('E_16_POLLS', "<i class='S16 e-polls-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_PREFS')) {
|
||||
define('E_16_PREFS', "<i class='S16 e-prefs-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_SEARCH')) {
|
||||
define('E_16_SEARCH', "<i class='S16 e-search-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_UPLOADS')) {
|
||||
define('E_16_UPLOADS', "<i class='S16 e-uploads-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_EURL')) {
|
||||
define('E_16_EURL', "<i class='S16 e-eurl-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_USER')) {
|
||||
define('E_16_USER', "<i class='S16 e-users-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_USER_EXTENDED')) {
|
||||
define('E_16_USER_EXTENDED', "<i class='S16 e-extended-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_USERCLASS')) {
|
||||
define('E_16_USERCLASS', "<i class='S16 e-userclass-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_LANGUAGE')) {
|
||||
define('E_16_LANGUAGE', "<i class='S16 e-language-16'></i>");
|
||||
}
|
||||
|
||||
// Small Admin Other Link Images
|
||||
if (!defined('E_16_PLUGIN')) {
|
||||
define('E_16_PLUGIN', "<i class='S16 e-plugins-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_PLUGMANAGER')) {
|
||||
define('E_16_PLUGMANAGER', "<i class='S16 e-plugmanager-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_DOCS')) {
|
||||
define('E_16_DOCS', "<i class='S16 e-docs-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_THEMEMANAGER')) {
|
||||
define('E_16_THEMEMANAGER', "<i class='S16 e-themes-16'></i>");
|
||||
}
|
||||
|
||||
// Small Admin Other Images
|
||||
if (!defined('E_16_COMMENT')) {
|
||||
define('E_16_COMMENT', "<i class='S16 e-comments-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_ADMINLOG')) {
|
||||
define('E_16_ADMINLOG', "<i class='S16 e-adminlogs-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_MANAGE')) {
|
||||
define('E_16_MANAGE', "<i class='S16 e-manage-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_CREATE')) {
|
||||
define('E_16_CREATE', "<i class='S16 e-add-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_SETTINGS')) {
|
||||
define('E_16_SETTINGS', "<i class='S16 e-settings-16'></i>");
|
||||
}
|
||||
|
||||
if (!defined('E_16_SYSINFO')) {
|
||||
define('E_16_SYSINFO', "<i class='S16 e-sysinfo-16'></i>");
|
||||
}
|
||||
if (!defined('E_16_FAILEDLOGIN')) {
|
||||
define('E_16_FAILEDLOGIN', "<i class='S16 e-failedlogin-16'></i>");
|
||||
}
|
||||
|
||||
|
||||
define("E_32_TRUE", "<i class='S32 e-true-32'></i>");
|
||||
|
||||
|
||||
|
||||
define("ADMIN_TRUE_ICON", "<i class='S16 e-true-16'></i>");
|
||||
define("ADMIN_FALSE_ICON", "<i class='S16 e-false-16'></i>");
|
||||
|
||||
define("ADMIN_EDIT_ICON", "<i class='S32 e-edit-32'></i>");
|
||||
define("ADMIN_DELETE_ICON", "<i class='S32 e-delete-32'></i>");
|
||||
define("ADMIN_WARNING_ICON", "<i class='S32 e-warning-32'></i>");
|
||||
define("ADMIN_ADD_ICON", "<i class='S32 e-add-32'></i>");
|
||||
define("ADMIN_INFO_ICON", "<i class='S16 e-info-16'></i>");
|
||||
define("ADMIN_CONFIGURE_ICON", "<i class='S32 e-configure-32'></i>");
|
||||
define("ADMIN_VIEW_ICON", "<i class='S32 e-search-32'></i>");
|
||||
define("ADMIN_URL_ICON", "<i class='S16 e-forums-16'></i>");
|
||||
define("ADMIN_INSTALLPLUGIN_ICON", "<i class='S32 e-plugin_install-32'></i>");
|
||||
define("ADMIN_UNINSTALLPLUGIN_ICON", "<i class='S32 e-plugin_uninstall-32'></i>");
|
||||
define("ADMIN_UPGRADEPLUGIN_ICON", "<i class='S32 e-up-32'></i>");
|
||||
define("ADMIN_UP_ICON", "<i class='S32 e-up-32'></i>");
|
||||
define("ADMIN_DOWN_ICON", "<i class='S32 e-down-32'></i>");
|
||||
define("ADMIN_SORT_ICON", "<i class='S32 e-sort-32'></i>");
|
||||
define("ADMIN_EXECUTE_ICON", "<i class='S32 e-execute-32'></i>");
|
||||
|
||||
|
||||
// FOR BC
|
||||
|
||||
define("ADMIN_EDIT_ICON_PATH", e_IMAGE_ABS."admin_images/edit_32.png");
|
||||
define("ADMIN_DELETE_ICON_PATH", e_IMAGE_ABS."admin_images/delete_32.png");
|
||||
define("ADMIN_WARNING_ICON_PATH", e_IMAGE_ABS."admin_images/warning_32.png");
|
||||
define("ADMIN_ADD_ICON_PATH", e_IMAGE_ABS."admin_images/add_32.png");
|
||||
define("ADMIN_INFO_ICON_PATH", e_IMAGE_ABS."admin_images/info_32.png");
|
||||
define("ADMIN_CONFIGURE_ICON_PATH", e_IMAGE_ABS."admin_images/configure_32.png");
|
||||
define("ADMIN_VIEW_ICON_PATH", e_IMAGE_ABS."admin_images/admin_images/search_32.png");
|
||||
define("ADMIN_URL_ICON_PATH", e_IMAGE_ABS."admin_images/forums_32.png");
|
||||
define("ADMIN_INSTALLPLUGIN_ICON_PATH", e_IMAGE_ABS."admin_images/plugin_install_32.png");
|
||||
define("ADMIN_UNINSTALLPLUGIN_ICON_PATH", e_IMAGE_ABS."admin_images/plugin_unstall_32.png");
|
||||
define("ADMIN_UPGRADEPLUGIN_ICON_PATH", e_IMAGE_ABS."admin_images/up_32.png");
|
||||
define("ADMIN_UP_ICON_PATH", e_IMAGE_ABS."admin_images/up_32.png");
|
||||
define("ADMIN_DOWN_ICON_PATH", e_IMAGE_ABS."admin_images/down_32.png");
|
||||
define("ADMIN_EXECUTE_ICON_PATH", e_IMAGE_ABS."admin_images/execute_32.png");
|
||||
define("ADMIN_SORT_ICON_PATH", e_IMAGE_ABS."admin_images/sort_32.png");
|
||||
|
||||
|
||||
|
||||
//XXX Do NOT use 'title' attributes - these should go in the <a>
|
||||
|
||||
|
||||
@@ -102,16 +573,7 @@
|
||||
define("ADMIN_EDIT_ICON_PATH", e_IMAGE_ABS."admin_images/edit_16.png"); //XXX DEPRECATED but used in v1.x
|
||||
define("ADMIN_DELETE_ICON_PATH", e_IMAGE_ABS."admin_images/delete_16.png"); //XXX DEPRECATED but used in v1.x
|
||||
define("ADMIN_WARNING_ICON_PATH", e_IMAGE_ABS."admin_images/warning_16.png"); //XXX DEPRECATED but used in v1.x
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// define("ADMIN_UP_ICON_PATH", e_IMAGE_ABS."admin_images/up_16.png"); //XXX DEPRECATED
|
||||
|
@@ -43,7 +43,7 @@ if (file_exists(THEME."online_template.php"))
|
||||
}
|
||||
else
|
||||
{
|
||||
require_once(e_THEME."templates/online_template.php");
|
||||
require_once(e_CORE."templates/online_template.php");
|
||||
}
|
||||
|
||||
global $listuserson;
|
||||
|
@@ -387,10 +387,13 @@ require_once(HEADERF);
|
||||
// render search config
|
||||
|
||||
if (!isset($SEARCH_TOP_TABLE)) {
|
||||
if (file_exists(THEME."search_template.php")) {
|
||||
if (file_exists(THEME."search_template.php"))
|
||||
{
|
||||
require(THEME."search_template.php");
|
||||
} else {
|
||||
require(e_THEME."templates/search_template.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
require(e_CORE."templates/search_template.php");
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -63,18 +63,7 @@ if ($action == "comments")
|
||||
$user_name = e107::getSystemUser($id, false)->getName(LAN_ANONYMOUS);
|
||||
}
|
||||
|
||||
/*if (!isset($USERPOSTS_TEMPLATE))
|
||||
{
|
||||
if (file_exists(THEME."userposts_template.php"))
|
||||
{
|
||||
require_once(THEME."userposts_template.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
require_once(e_THEME."templates/userposts_template.php");
|
||||
}
|
||||
|
||||
}*/
|
||||
// new template engine - override in THEME/templates/userposts_template.php
|
||||
$USERPOSTS_TEMPLATE = e107::getCoreTemplate('userposts');
|
||||
|
||||
|
Reference in New Issue
Block a user