diff --git a/class2.php b/class2.php
index 92221c703..b565565f2 100644
--- a/class2.php
+++ b/class2.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/class2.php,v $
-| $Revision: 1.3 $
-| $Date: 2006-12-05 09:32:15 $
-| $Author: mrpete $
+| $Revision: 1.4 $
+| $Date: 2006-12-07 15:41:49 $
+| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
//
@@ -797,6 +797,14 @@ if (strpos(e_SELF, $ADMIN_DIRECTORY) !== FALSE || strpos(e_SELF, "admin.php") !=
if(!defined("IMODE")) define("IMODE", "lite");
+if (IMODE == 'lite') {
+ $imode = 'nuvola_light';
+} else if (IMODE == 'dark') {
+ $imode = 'nuvola_dark';
+} else {
+ $imode = IMODE;
+}
+
if ($pref['anon_post'] ? define("ANON", TRUE) : define("ANON", FALSE));
if (Empty($pref['newsposts']) ? define("ITEMVIEW", 15) : define("ITEMVIEW", $pref['newsposts']));
diff --git a/download.php b/download.php
index 60d9bd86d..54a7e2d63 100644
--- a/download.php
+++ b/download.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/download.php,v $
-| $Revision: 1.2 $ - with modifications
-| $Date: 2006-12-07 12:48:42 $
-| $Author: mrpete $
+| $Revision: 1.3 $ - with modifications
+| $Date: 2006-12-07 15:41:49 $
+| $Author: sweetas $
|
| Modifications by steved:
| 1. Can display sub-categories which contain sub-sub categories and files
@@ -36,8 +36,8 @@ if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:100%"); }
/* define images */
-define("IMAGE_DOWNLOAD", (file_exists(THEME."images/download.png") ? THEME."images/download.png" : e_IMAGE."generic/".IMODE."/download.png"));
-define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : e_IMAGE."generic/".IMODE."/new.png"));
+define("IMAGE_DOWNLOAD", (file_exists(THEME."images/download.png") ? THEME."images/download.png" : e_IMAGE."packs/".$imode."/generic/download.png"));
+define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : e_IMAGE."packs/".$imode."/generic/new.png"));
/* define image style */
diff --git a/e107_admin/ad_links.php b/e107_admin/ad_links.php
index 41abf641e..b1205b8be 100644
--- a/e107_admin/ad_links.php
+++ b/e107_admin/ad_links.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/ad_links.php,v $
-| $Revision: 1.1.1.1 $
-| $Date: 2006-12-02 04:33:11 $
-| $Author: mcfly_e107 $
+| $Revision: 1.2 $
+| $Date: 2006-12-07 15:41:49 $
+| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
@@ -25,335 +25,335 @@ if (file_exists(THEME.'admin_images/admin_images.php')) {
// Small Category Images
if (!defined('E_16_CAT_SETT')) {
- define('E_16_CAT_SETT', e_IMAGE.'admin_images/cat_settings_16.png');
+ define('E_16_CAT_SETT', e_IMAGE.'packs/'.$imode.'/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');
+ define('E_16_CAT_USER', e_IMAGE.'packs/'.$imode.'/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');
+ define('E_16_CAT_CONT', e_IMAGE.'packs/'.$imode.'/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');
+ define('E_16_CAT_FILE', e_IMAGE.'packs/'.$imode.'/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');
+ define('E_16_CAT_TOOL', e_IMAGE.'packs/'.$imode.'/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');
+ define('E_16_CAT_PLUG', e_IMAGE.'packs/'.$imode.'/admin_images/cat_plugins_16.png');
}
// Large Category Images
if (!defined('E_32_CAT_SETT')) {
- define('E_32_CAT_SETT', "");
+ define('E_32_CAT_SETT', "
");
}
if (!defined('E_32_CAT_USER')) {
- define('E_32_CAT_USER', "
");
+ define('E_32_CAT_USER', "
");
}
if (!defined('E_32_CAT_CONT')) {
- define('E_32_CAT_CONT', "
");
+ define('E_32_CAT_CONT', "
");
}
if (!defined('E_32_CAT_FILE')) {
- define('E_32_CAT_FILE', "
");
+ define('E_32_CAT_FILE', "
");
}
if (!defined('E_32_CAT_TOOL')) {
- define('E_32_CAT_TOOL', "
");
+ define('E_32_CAT_TOOL', "
");
}
if (!defined('E_32_CAT_PLUG')) {
- define('E_32_CAT_PLUG', "
");
+ define('E_32_CAT_PLUG', "
");
}
// Small Nav Images
if (!defined('E_16_NAV_MAIN')) {
- define('E_16_NAV_MAIN', e_IMAGE.'admin_images/main_16.png');
+ define('E_16_NAV_MAIN', e_IMAGE.'packs/'.$imode.'/admin_images/main_16.png');
}
if (!defined('E_16_NAV_DOCS')) {
- define('E_16_NAV_DOCS', e_IMAGE.'admin_images/docs_16.png');
+ define('E_16_NAV_DOCS', e_IMAGE.'packs/'.$imode.'/admin_images/docs_16.png');
}
if (!defined('E_16_NAV_LEAV')) {
- define('E_16_NAV_LEAV', e_IMAGE.'admin_images/leave_16.png');
+ define('E_16_NAV_LEAV', e_IMAGE.'packs/'.$imode.'/admin_images/leave_16.png');
}
if (!defined('E_16_NAV_LGOT')) {
- define('E_16_NAV_LGOT', e_IMAGE.'admin_images/logout_16.png');
+ define('E_16_NAV_LGOT', e_IMAGE.'packs/'.$imode.'/admin_images/logout_16.png');
}
if (!defined('E_16_NAV_ARROW')) {
- define('E_16_NAV_ARROW', e_IMAGE.'admin_images/arrow_16.png');
+ define('E_16_NAV_ARROW', e_IMAGE.'packs/'.$imode.'/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');
+ define('E_16_NAV_ARROW_OVER', e_IMAGE.'packs/'.$imode.'/admin_images/arrow_over_16.png');
}
// Large Nav Images
if (!defined('E_32_NAV_MAIN')) {
- define('E_32_NAV_MAIN', "
");
+ define('E_32_NAV_MAIN', "
");
}
if (!defined('E_32_NAV_DOCS')) {
- define('E_32_NAV_DOCS', "
");
+ define('E_32_NAV_DOCS', "
");
}
if (!defined('E_32_NAV_LEAV')) {
- define('E_32_NAV_LEAV', "
");
+ define('E_32_NAV_LEAV', "
");
}
if (!defined('E_32_NAV_LGOT')) {
- define('E_32_NAV_LGOT', "
");
+ define('E_32_NAV_LGOT', "
");
}
if (!defined('E_32_NAV_ARROW')) {
- define('E_32_NAV_ARROW', "
");
+ define('E_32_NAV_ARROW', "
");
}
if (!defined('E_32_NAV_ARROW_OVER')) {
- define('E_32_NAV_ARROW_OVER', "
");
+ define('E_32_NAV_ARROW_OVER', "
");
}
// Small Admin Main Link Images
if (!defined('E_16_ADMIN')) {
- define('E_16_ADMIN', "
");
+ define('E_16_ADMIN', "
");
}
if (!defined('E_16_ADPASS')) {
- define('E_16_ADPASS', "
");
+ define('E_16_ADPASS', "
");
}
if (!defined('E_16_BANLIST')) {
- define('E_16_BANLIST', "
");
+ define('E_16_BANLIST', "
");
}
if (!defined('E_16_BANNER')) {
- define('E_16_BANNER', "
");
+ define('E_16_BANNER', "
");
}
if (!defined('E_16_CACHE')) {
- define('E_16_CACHE', "
");
+ define('E_16_CACHE', "
");
}
if (!defined('E_16_CREDITS')) {
- define('E_16_CREDITS', "
");
+ define('E_16_CREDITS', "
");
}
if (!defined('E_16_CUST')) {
- define('E_16_CUST', "
");
+ define('E_16_CUST', "
");
}
if (!defined('E_16_DATAB')) {
- define('E_16_DATAB', "
");
+ define('E_16_DATAB', "
");
}
if (!defined('E_16_DOWNL')) {
- define('E_16_DOWNL', "
");
+ define('E_16_DOWNL', "
");
}
if (!defined('E_16_EMOTE')) {
- define('E_16_EMOTE', "
");
+ define('E_16_EMOTE', "
");
}
if (!defined('E_16_FILE')) {
- define('E_16_FILE', "
");
+ define('E_16_FILE', "
");
}
if (!defined('E_16_FORUM')) {
- define('E_16_FORUM', "
");
+ define('E_16_FORUM', "
");
}
if (!defined('E_16_FRONT')) {
- define('E_16_FRONT', "
");
+ define('E_16_FRONT', "
");
}
if (!defined('E_16_IMAGES')) {
- define('E_16_IMAGES', "
");
+ define('E_16_IMAGES', "
");
}
if (!defined('E_16_INSPECT')) {
- define('E_16_INSPECT', "
");
+ define('E_16_INSPECT', "
");
}
if (!defined('E_16_LINKS')) {
- define('E_16_LINKS', "
");
+ define('E_16_LINKS', "
");
}
if (!defined('E_16_WELCOME')) {
- define('E_16_WELCOME', "
");
+ define('E_16_WELCOME', "
");
}
if (!defined('E_16_MAIL')) {
- define('E_16_MAIL', "
");
+ define('E_16_MAIL', "
");
}
if (!defined('E_16_MAINTAIN')) {
- define('E_16_MAINTAIN', "
");
+ define('E_16_MAINTAIN', "
");
}
if (!defined('E_16_MENUS')) {
- define('E_16_MENUS', "
");
+ define('E_16_MENUS', "
");
}
if (!defined('E_16_META')) {
- define('E_16_META', "
");
+ define('E_16_META', "
");
}
if (!defined('E_16_NEWS')) {
- define('E_16_NEWS', "
");
+ define('E_16_NEWS', "
");
}
if (!defined('E_16_NEWSFEED')) {
- define('E_16_NEWSFEED', "
");
+ define('E_16_NEWSFEED', "
");
}
if (!defined('E_16_NOTIFY')) {
- define('E_16_NOTIFY', "
");
+ define('E_16_NOTIFY', "
");
}
if (!defined('E_16_PHP')) {
- define('E_16_PHP', "
");
+ define('E_16_PHP', "
");
}
if (!defined('E_16_POLLS')) {
- define('E_16_POLLS', "
");
+ define('E_16_POLLS', "
");
}
if (!defined('E_16_PREFS')) {
- define('E_16_PREFS', "
");
+ define('E_16_PREFS', "
");
}
if (!defined('E_16_SEARCH')) {
- define('E_16_SEARCH', "
");
+ define('E_16_SEARCH', "
");
}
if (!defined('E_16_UPLOADS')) {
- define('E_16_UPLOADS', "
");
+ define('E_16_UPLOADS', "
");
}
if (!defined('E_16_USER')) {
- define('E_16_USER', "
");
+ define('E_16_USER', "
");
}
if (!defined('E_16_USER_EXTENDED')) {
- define('E_16_USER_EXTENDED', "
");
+ define('E_16_USER_EXTENDED', "
");
}
if (!defined('E_16_USERCLASS')) {
- define('E_16_USERCLASS', "
");
+ define('E_16_USERCLASS', "
");
}
if (!defined('E_16_LANGUAGE')) {
- define('E_16_LANGUAGE', "
");
+ define('E_16_LANGUAGE', "
");
}
// Small Admin Other Link Images
if (!defined('E_16_PLUGIN')) {
- define('E_16_PLUGIN', "
");
+ define('E_16_PLUGIN', "
");
}
if (!defined('E_16_PLUGMANAGER')) {
- define('E_16_PLUGMANAGER', "
");
+ define('E_16_PLUGMANAGER', "
");
}
if (!defined('E_16_DOCS')) {
- define('E_16_DOCS', "
");
+ define('E_16_DOCS', "
");
}
if (!defined('E_16_THEMEMANAGER')) {
- define('E_16_THEMEMANAGER', "
");
+ define('E_16_THEMEMANAGER', "
");
}
// Small Admin Other Images
if (!defined('E_16_COMMENT')) {
- define('E_16_COMMENT', "
");
+ define('E_16_COMMENT', "
");
}
if (!defined('E_16_ADMINLOG')) {
- define('E_16_ADMINLOG', "
");
+ define('E_16_ADMINLOG', "
");
}
// Large Admin Main Link Images
if (!defined('E_32_ADMIN')) {
- define('E_32_ADMIN', "
");
+ define('E_32_ADMIN', "
");
}
if (!defined('E_32_ADPASS')) {
- define('E_32_ADPASS', "
");
+ define('E_32_ADPASS', "
");
}
if (!defined('E_32_BANLIST')) {
- define('E_32_BANLIST', "
");
+ define('E_32_BANLIST', "
");
}
if (!defined('E_32_BANNER')) {
- define('E_32_BANNER', "
");
+ define('E_32_BANNER', "
");
}
if (!defined('E_32_CACHE')) {
- define('E_32_CACHE', "
");
+ define('E_32_CACHE', "
");
}
if (!defined('E_32_CREDITS')) {
- define('E_32_CREDITS', "
");
+ define('E_32_CREDITS', "
");
}
if (!defined('E_32_CUST')) {
- define('E_32_CUST', "
");
+ define('E_32_CUST', "
");
}
if (!defined('E_32_DATAB')) {
- define('E_32_DATAB', "
");
+ define('E_32_DATAB', "
");
}
if (!defined('E_32_DOWNL')) {
- define('E_32_DOWNL', "
");
+ define('E_32_DOWNL', "
");
}
if (!defined('E_32_EMOTE')) {
- define('E_32_EMOTE', "
");
+ define('E_32_EMOTE', "
");
}
if (!defined('E_32_FILE')) {
- define('E_32_FILE', "
");
+ define('E_32_FILE', "
");
}
if (!defined('E_32_FORUM')) {
- define('E_32_FORUM', "
");
+ define('E_32_FORUM', "
");
}
if (!defined('E_32_FRONT')) {
- define('E_32_FRONT', "
");
+ define('E_32_FRONT', "
");
}
if (!defined('E_32_IMAGES')) {
- define('E_32_IMAGES', "
");
+ define('E_32_IMAGES', "
");
}
if (!defined('E_32_INSPECT')) {
- define('E_32_INSPECT', "
");
+ define('E_32_INSPECT', "
");
}
if (!defined('E_32_LINKS')) {
- define('E_32_LINKS', "
");
+ define('E_32_LINKS', "
");
}
if (!defined('E_32_WELCOME')) {
- define('E_32_WELCOME', "
");
+ define('E_32_WELCOME', "
");
}
if (!defined('E_32_MAIL')) {
- define('E_32_MAIL', "
");
+ define('E_32_MAIL', "
");
}
if (!defined('E_32_MAINTAIN')) {
- define('E_32_MAINTAIN', "
");
+ define('E_32_MAINTAIN', "
");
}
if (!defined('E_32_MENUS')) {
- define('E_32_MENUS', "
");
+ define('E_32_MENUS', "
");
}
if (!defined('E_32_META')) {
- define('E_32_META', "
");
+ define('E_32_META', "
");
}
if (!defined('E_32_NEWS')) {
- define('E_32_NEWS', "
");
+ define('E_32_NEWS', "
");
}
if (!defined('E_32_NEWSFEED')) {
- define('E_32_NEWSFEED', "
");
+ define('E_32_NEWSFEED', "
");
}
if (!defined('E_32_NOTIFY')) {
- define('E_32_NOTIFY', "
");
+ define('E_32_NOTIFY', "
");
}
if (!defined('E_32_PHP')) {
- define('E_32_PHP', "
");
+ define('E_32_PHP', "
");
}
if (!defined('E_32_POLLS')) {
- define('E_32_POLLS', "
");
+ define('E_32_POLLS', "
");
}
if (!defined('E_32_PREFS')) {
- define('E_32_PREFS', "
");
+ define('E_32_PREFS', "
");
}
if (!defined('E_32_SEARCH')) {
- define('E_32_SEARCH', "
");
+ define('E_32_SEARCH', "
");
}
if (!defined('E_32_UPLOADS')) {
- define('E_32_UPLOADS', "
");
+ define('E_32_UPLOADS', "
");
}
if (!defined('E_32_USER')) {
- define('E_32_USER', "
");
+ define('E_32_USER', "
");
}
if (!defined('E_32_USER_EXTENDED')) {
- define('E_32_USER_EXTENDED', "
");
+ define('E_32_USER_EXTENDED', "
");
}
if (!defined('E_32_USERCLASS')) {
- define('E_32_USERCLASS', "
");
+ define('E_32_USERCLASS', "
");
}
if (!defined('E_32_LANGUAGE')) {
- define('E_32_LANGUAGE', "
");
+ define('E_32_LANGUAGE', "
");
}
// Large Admin Other Link Images
if (!defined('E_32_PLUGIN')) {
- define('E_32_PLUGIN', "
");
+ define('E_32_PLUGIN', "
");
}
if (!defined('E_32_PLUGMANAGER')) {
- define('E_32_PLUGMANAGER', "
");
+ define('E_32_PLUGMANAGER', "
");
}
if (!defined('E_32_DOCS')) {
- define('E_32_DOCS', "
");
+ define('E_32_DOCS', "
");
}
if (!defined('E_32_MAIN')) {
- define('E_32_MAIN', "
");
+ define('E_32_MAIN', "
");
}
if (!defined('E_32_THEMEMANAGER')) {
- define('E_32_THEMEMANAGER', "
");
+ define('E_32_THEMEMANAGER', "
");
}
// Large Admin Other Images
if (!defined('E_32_COMMENT')) {
- define('E_32_COMMENT', "
");
+ define('E_32_COMMENT', "
");
}
if (!defined('E_32_ADMINLOG')) {
- define('E_32_ADMINLOG', "
");
+ define('E_32_ADMINLOG', "
");
}
if (!defined('E_32_LOGOUT')) {
- define('E_32_LOGOUT', "
");
+ define('E_32_LOGOUT', "
");
}
$e_icon_array = array(
diff --git a/e107_admin/admin_log.php b/e107_admin/admin_log.php
index 9e827a2ea..d196cf0b2 100644
--- a/e107_admin/admin_log.php
+++ b/e107_admin/admin_log.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/admin_log.php,v $
-| $Revision: 1.1.1.1 $
-| $Date: 2006-12-02 04:33:11 $
-| $Author: mcfly_e107 $
+| $Revision: 1.2 $
+| $Date: 2006-12-07 15:41:49 $
+| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@@ -74,21 +74,22 @@ $ns->tablerender(LAN_ADMINLOG_0, $text);
require_once("footer.php");
function get_log_img($log_type) {
+ global $imode;
switch ($log_type) {
case E_LOG_INFORMATIVE:
- return "
";
+ return "
";
break;
case E_LOG_NOTICE:
- return "
";
+ return "
";
break;
case E_LOG_WARNING:
- return "
";
+ return "
";
break;
case E_LOG_FATAL:
- return "
";
+ return "
";
break;
case E_LOG_PLUGIN;
- return "
";
+ return "
";
break;
}
return $log_type;
diff --git a/e107_admin/administrator.php b/e107_admin/administrator.php
index 9168d4e5f..aa85070a0 100644
--- a/e107_admin/administrator.php
+++ b/e107_admin/administrator.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/administrator.php,v $
-| $Revision: 1.1.1.1 $
-| $Date: 2006-12-02 04:33:11 $
-| $Author: mcfly_e107 $
+| $Revision: 1.2 $
+| $Date: 2006-12-07 15:41:49 $
+| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
require_once('../class2.php');
@@ -104,7 +104,7 @@ if($_POST['edit_admin'] || $action == "edit"){
}
function show_admins(){
- global $sql,$tp,$ns,$pref;
+ global $sql, $tp, $ns, $pref, $imode;
$sql->db_Select("user", "*", "user_admin='1'");
@@ -136,8 +136,8 @@ function show_admins(){
if($row['user_id'] != "1")
{
$text .= "
-
- toJS(ADMSLAN_59."? [".$row['user_name']."]")."') \" title='".ADMSLAN_59."' style='border:0px' />";
+
+ toJS(ADMSLAN_59."? [".$row['user_name']."]")."') \" title='".ADMSLAN_59."' style='border:0px' />";
}
$text .= "
diff --git a/e107_admin/docs.php b/e107_admin/docs.php
index 1d5361765..100033340 100644
--- a/e107_admin/docs.php
+++ b/e107_admin/docs.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/docs.php,v $
-| $Revision: 1.1.1.1 $
-| $Date: 2006-12-02 04:33:19 $
-| $Author: mcfly_e107 $
+| $Revision: 1.2 $
+| $Date: 2006-12-07 15:41:49 $
+| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@@ -47,8 +47,8 @@ if (e_QUERY) {
fclose ($fd);
$text = $tp->toHTML($text, TRUE);
- $text = preg_replace("/Q\>(.*?)A>/si", "
\\1A>", $text);
- $text = str_replace("A>", "
", $text);
+ $text = preg_replace("/Q\>(.*?)A>/si", "
\\1A>", $text);
+ $text = str_replace("A>", "
", $text);
$ns->tablerender(str_replace("_", " ", $helplist[e_QUERY]), $text."
");
unset($text);
diff --git a/e107_admin/header.php b/e107_admin/header.php
index 96d9b85a8..86b0b2acf 100644
--- a/e107_admin/header.php
+++ b/e107_admin/header.php
@@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
-| $Revision: 1.3 $
-| $Date: 2006-12-07 12:59:43 $
-| $Author: mrpete $
+| $Revision: 1.4 $
+| $Date: 2006-12-07 15:41:49 $
+| $Author: sweetas $
+---------------------------------------------------------------+
*/
@@ -101,16 +101,16 @@ if (!defined('ADMIN_FALSE_ICON'))
if (!defined('ADMIN_EDIT_ICON'))
{
- define("ADMIN_EDIT_ICON", "");
- define("ADMIN_EDIT_ICON_PATH", e_IMAGE."admin_images/edit_16.png");
+ define("ADMIN_EDIT_ICON", "
");
+ define("ADMIN_EDIT_ICON_PATH", e_IMAGE."packs/".$imode."/admin_images/edit_16.png");
}
if (!defined('ADMIN_DELETE_ICON'))
{
- define("ADMIN_DELETE_ICON", "
");
- define("ADMIN_DELETE_ICON_PATH", e_IMAGE."admin_images/delete_16.png");
+ define("ADMIN_DELETE_ICON", "
");
+ define("ADMIN_DELETE_ICON_PATH", e_IMAGE."packs/".$imode."/admin_images/delete_16.png");
}
//
diff --git a/e107_admin/links.php b/e107_admin/links.php
index 3af69833e..d8a3eb799 100644
--- a/e107_admin/links.php
+++ b/e107_admin/links.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/links.php,v $
-| $Revision: 1.1.1.1 $
-| $Date: 2006-12-02 04:33:24 $
-| $Author: mcfly_e107 $
+| $Revision: 1.2 $
+| $Date: 2006-12-07 15:41:49 $
+| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
@@ -316,7 +316,7 @@ class links
}
function display_row($row2, $indent = FALSE) {
- global $sql, $rs, $ns, $tp, $linkArray,$previous_cat;
+ global $sql, $rs, $ns, $tp, $linkArray, $previous_cat, $imode;
extract($row2);
//
@@ -340,7 +340,7 @@ class links
}
if ($indent) {
- $subimage = "
";
+ $subimage = "
";
$subspacer = ($indent > 1) ? " style='padding-left: ".(($indent - 1) * 16)."px'" : "";
$subindent = "