1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 02:00:14 +02:00

new image pack system imode and admin images updated

This commit is contained in:
sweetas
2006-12-07 15:41:50 +00:00
parent 99111f78db
commit 8cb82b65dc
41 changed files with 334 additions and 309 deletions

View File

@@ -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', "<img src='".e_IMAGE."admin_images/cat_settings_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CAT_SETT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/cat_settings_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CAT_USER')) {
define('E_32_CAT_USER', "<img src='".e_IMAGE."admin_images/cat_users_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CAT_USER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/cat_users_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CAT_CONT')) {
define('E_32_CAT_CONT', "<img src='".e_IMAGE."admin_images/cat_content_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CAT_CONT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/cat_content_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CAT_FILE')) {
define('E_32_CAT_FILE', "<img src='".e_IMAGE."admin_images/cat_files_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CAT_FILE', "<img src='".e_IMAGE."packs/".$imode."/admin_images/cat_files_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CAT_TOOL')) {
define('E_32_CAT_TOOL', "<img src='".e_IMAGE."admin_images/cat_tools_32.png' alt='' style='border:0px; width:32px; height:32px' />");
define('E_32_CAT_TOOL', "<img src='".e_IMAGE."packs/".$imode."/admin_images/cat_tools_32.png' alt='' style='border:0px; width:32px; height:32px' />");
}
if (!defined('E_32_CAT_PLUG')) {
define('E_32_CAT_PLUG', "<img src='".e_IMAGE."admin_images/cat_plugins_32.png' alt='' style='border:0px; width:32px; height:32px' />");
define('E_32_CAT_PLUG', "<img src='".e_IMAGE."packs/".$imode."/admin_images/cat_plugins_32.png' alt='' style='border:0px; width:32px; height:32px' />");
}
// 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', "<img src='".e_IMAGE."'admin_images/main_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_NAV_MAIN', "<img src='".e_IMAGE."packs/".$imode."/admin_images/main_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_NAV_DOCS')) {
define('E_32_NAV_DOCS', "<img src='".e_IMAGE."'admin_images/docs_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_NAV_DOCS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/docs_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_NAV_LEAV')) {
define('E_32_NAV_LEAV', "<img src='".e_IMAGE."'admin_images/leave_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_NAV_LEAV', "<img src='".e_IMAGE."packs/".$imode."/admin_images/leave_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_NAV_LGOT')) {
define('E_32_NAV_LGOT', "<img src='".e_IMAGE."'admin_images/logout_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_NAV_LGOT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/logout_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_NAV_ARROW')) {
define('E_32_NAV_ARROW', "<img src='".e_IMAGE."'admin_images/arrow_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_NAV_ARROW', "<img src='".e_IMAGE."packs/".$imode."/admin_images/arrow_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_NAV_ARROW_OVER')) {
define('E_32_NAV_ARROW_OVER', "<img src='".e_IMAGE."'admin_images/arrow_over_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_NAV_ARROW_OVER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/arrow_over_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
// Small Admin Main Link Images
if (!defined('E_16_ADMIN')) {
define('E_16_ADMIN', "<img src='".e_IMAGE."admin_images/admins_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_ADMIN', "<img src='".e_IMAGE."packs/".$imode."/admin_images/admins_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_ADPASS')) {
define('E_16_ADPASS', "<img src='".e_IMAGE."admin_images/adminpass_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_ADPASS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/adminpass_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_BANLIST')) {
define('E_16_BANLIST', "<img src='".e_IMAGE."admin_images/banlist_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_BANLIST', "<img src='".e_IMAGE."packs/".$imode."/admin_images/banlist_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_BANNER')) {
define('E_16_BANNER', "<img src='".e_IMAGE."admin_images/banners_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_BANNER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/banners_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_CACHE')) {
define('E_16_CACHE', "<img src='".e_IMAGE."admin_images/cache_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_CACHE', "<img src='".e_IMAGE."packs/".$imode."/admin_images/cache_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_CREDITS')) {
define('E_16_CREDITS', "<img src='".e_IMAGE."admin_images/credits_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_CREDITS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/credits_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_CUST')) {
define('E_16_CUST', "<img src='".e_IMAGE."admin_images/custom_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_CUST', "<img src='".e_IMAGE."packs/".$imode."/admin_images/custom_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_DATAB')) {
define('E_16_DATAB', "<img src='".e_IMAGE."admin_images/database_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_DATAB', "<img src='".e_IMAGE."packs/".$imode."/admin_images/database_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_DOWNL')) {
define('E_16_DOWNL', "<img src='".e_IMAGE."admin_images/downloads_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_DOWNL', "<img src='".e_IMAGE."packs/".$imode."/admin_images/downloads_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_EMOTE')) {
define('E_16_EMOTE', "<img src='".e_IMAGE."admin_images/emoticons_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_EMOTE', "<img src='".e_IMAGE."packs/".$imode."/admin_images/emoticons_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_FILE')) {
define('E_16_FILE', "<img src='".e_IMAGE."admin_images/filemanager_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_FILE', "<img src='".e_IMAGE."packs/".$imode."/admin_images/filemanager_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_FORUM')) {
define('E_16_FORUM', "<img src='".e_IMAGE."admin_images/forums_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_FORUM', "<img src='".e_IMAGE."packs/".$imode."/admin_images/forums_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_FRONT')) {
define('E_16_FRONT', "<img src='".e_IMAGE."admin_images/frontpage_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_FRONT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/frontpage_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_IMAGES')) {
define('E_16_IMAGES', "<img src='".e_IMAGE."admin_images/images_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_IMAGES', "<img src='".e_IMAGE."packs/".$imode."/admin_images/images_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_INSPECT')) {
define('E_16_INSPECT', "<img src='".e_IMAGE."admin_images/fileinspector_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_INSPECT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/fileinspector_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_LINKS')) {
define('E_16_LINKS', "<img src='".e_IMAGE."admin_images/links_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_LINKS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/links_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_WELCOME')) {
define('E_16_WELCOME', "<img src='".e_IMAGE."admin_images/welcome_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_WELCOME', "<img src='".e_IMAGE."packs/".$imode."/admin_images/welcome_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_MAIL')) {
define('E_16_MAIL', "<img src='".e_IMAGE."admin_images/mail_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_MAIL', "<img src='".e_IMAGE."packs/".$imode."/admin_images/mail_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_MAINTAIN')) {
define('E_16_MAINTAIN', "<img src='".e_IMAGE."admin_images/maintain_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_MAINTAIN', "<img src='".e_IMAGE."packs/".$imode."/admin_images/maintain_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_MENUS')) {
define('E_16_MENUS', "<img src='".e_IMAGE."admin_images/menus_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_MENUS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/menus_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_META')) {
define('E_16_META', "<img src='".e_IMAGE."admin_images/meta_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_META', "<img src='".e_IMAGE."packs/".$imode."/admin_images/meta_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_NEWS')) {
define('E_16_NEWS', "<img src='".e_IMAGE."admin_images/news_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_NEWS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/news_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_NEWSFEED')) {
define('E_16_NEWSFEED', "<img src='".e_IMAGE."admin_images/newsfeeds_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_NEWSFEED', "<img src='".e_IMAGE."packs/".$imode."/admin_images/newsfeeds_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_NOTIFY')) {
define('E_16_NOTIFY', "<img src='".e_IMAGE."admin_images/notify_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_NOTIFY', "<img src='".e_IMAGE."packs/".$imode."/admin_images/notify_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_PHP')) {
define('E_16_PHP', "<img src='".e_IMAGE."admin_images/phpinfo_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_PHP', "<img src='".e_IMAGE."packs/".$imode."/admin_images/phpinfo_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_POLLS')) {
define('E_16_POLLS', "<img src='".e_IMAGE."admin_images/polls_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_POLLS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/polls_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_PREFS')) {
define('E_16_PREFS', "<img src='".e_IMAGE."admin_images/prefs_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_PREFS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/prefs_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_SEARCH')) {
define('E_16_SEARCH', "<img src='".e_IMAGE."admin_images/search_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_SEARCH', "<img src='".e_IMAGE."packs/".$imode."/admin_images/search_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_UPLOADS')) {
define('E_16_UPLOADS', "<img src='".e_IMAGE."admin_images/uploads_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_UPLOADS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/uploads_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_USER')) {
define('E_16_USER', "<img src='".e_IMAGE."admin_images/users_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_USER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/users_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_USER_EXTENDED')) {
define('E_16_USER_EXTENDED', "<img src='".e_IMAGE."admin_images/extended_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_USER_EXTENDED', "<img src='".e_IMAGE."packs/".$imode."/admin_images/extended_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_USERCLASS')) {
define('E_16_USERCLASS', "<img src='".e_IMAGE."admin_images/userclass_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_USERCLASS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/userclass_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_LANGUAGE')) {
define('E_16_LANGUAGE', "<img src='".e_IMAGE."admin_images/language_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_LANGUAGE', "<img src='".e_IMAGE."packs/".$imode."/admin_images/language_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
// Small Admin Other Link Images
if (!defined('E_16_PLUGIN')) {
define('E_16_PLUGIN', "<img src='".e_IMAGE."admin_images/plugins_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_PLUGIN', "<img src='".e_IMAGE."packs/".$imode."/admin_images/plugins_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_PLUGMANAGER')) {
define('E_16_PLUGMANAGER', "<img src='".e_IMAGE."admin_images/plugmanager_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_PLUGMANAGER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/plugmanager_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_DOCS')) {
define('E_16_DOCS', "<img src='".e_IMAGE."admin_images/docs_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_DOCS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/docs_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_THEMEMANAGER')) {
define('E_16_THEMEMANAGER', "<img src='".e_IMAGE."admin_images/themes_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_THEMEMANAGER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/themes_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
// Small Admin Other Images
if (!defined('E_16_COMMENT')) {
define('E_16_COMMENT', "<img src='".e_IMAGE."admin_images/comments_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_COMMENT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/comments_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
if (!defined('E_16_ADMINLOG')) {
define('E_16_ADMINLOG', "<img src='".e_IMAGE."admin_images/adminlogs_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
define('E_16_ADMINLOG', "<img src='".e_IMAGE."packs/".$imode."/admin_images/adminlogs_16.png' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />");
}
// Large Admin Main Link Images
if (!defined('E_32_ADMIN')) {
define('E_32_ADMIN', "<img src='".e_IMAGE."admin_images/admins_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_ADMIN', "<img src='".e_IMAGE."packs/".$imode."/admin_images/admins_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_ADPASS')) {
define('E_32_ADPASS', "<img src='".e_IMAGE."admin_images/adminpass_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_ADPASS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/adminpass_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_BANLIST')) {
define('E_32_BANLIST', "<img src='".e_IMAGE."admin_images/banlist_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_BANLIST', "<img src='".e_IMAGE."packs/".$imode."/admin_images/banlist_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_BANNER')) {
define('E_32_BANNER', "<img src='".e_IMAGE."admin_images/banners_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_BANNER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/banners_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CACHE')) {
define('E_32_CACHE', "<img src='".e_IMAGE."admin_images/cache_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CACHE', "<img src='".e_IMAGE."packs/".$imode."/admin_images/cache_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CREDITS')) {
define('E_32_CREDITS', "<img src='".e_IMAGE."admin_images/credits_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CREDITS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/credits_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CUST')) {
define('E_32_CUST', "<img src='".e_IMAGE."admin_images/custom_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CUST', "<img src='".e_IMAGE."packs/".$imode."/admin_images/custom_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_DATAB')) {
define('E_32_DATAB', "<img src='".e_IMAGE."admin_images/database_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_DATAB', "<img src='".e_IMAGE."packs/".$imode."/admin_images/database_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_DOWNL')) {
define('E_32_DOWNL', "<img src='".e_IMAGE."admin_images/downloads_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_DOWNL', "<img src='".e_IMAGE."packs/".$imode."/admin_images/downloads_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_EMOTE')) {
define('E_32_EMOTE', "<img src='".e_IMAGE."admin_images/emoticons_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_EMOTE', "<img src='".e_IMAGE."packs/".$imode."/admin_images/emoticons_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_FILE')) {
define('E_32_FILE', "<img src='".e_IMAGE."admin_images/filemanager_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_FILE', "<img src='".e_IMAGE."packs/".$imode."/admin_images/filemanager_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_FORUM')) {
define('E_32_FORUM', "<img src='".e_IMAGE."admin_images/forums_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_FORUM', "<img src='".e_IMAGE."packs/".$imode."/admin_images/forums_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_FRONT')) {
define('E_32_FRONT', "<img src='".e_IMAGE."admin_images/frontpage_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_FRONT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/frontpage_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_IMAGES')) {
define('E_32_IMAGES', "<img src='".e_IMAGE."admin_images/images_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_IMAGES', "<img src='".e_IMAGE."packs/".$imode."/admin_images/images_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_INSPECT')) {
define('E_32_INSPECT', "<img src='".e_IMAGE."admin_images/fileinspector_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_INSPECT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/fileinspector_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_LINKS')) {
define('E_32_LINKS', "<img src='".e_IMAGE."admin_images/links_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_LINKS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/links_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_WELCOME')) {
define('E_32_WELCOME', "<img src='".e_IMAGE."admin_images/welcome_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_WELCOME', "<img src='".e_IMAGE."packs/".$imode."/admin_images/welcome_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_MAIL')) {
define('E_32_MAIL', "<img src='".e_IMAGE."admin_images/mail_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_MAIL', "<img src='".e_IMAGE."packs/".$imode."/admin_images/mail_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_MAINTAIN')) {
define('E_32_MAINTAIN', "<img src='".e_IMAGE."admin_images/maintain_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_MAINTAIN', "<img src='".e_IMAGE."packs/".$imode."/admin_images/maintain_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_MENUS')) {
define('E_32_MENUS', "<img src='".e_IMAGE."admin_images/menus_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_MENUS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/menus_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_META')) {
define('E_32_META', "<img src='".e_IMAGE."admin_images/meta_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_META', "<img src='".e_IMAGE."packs/".$imode."/admin_images/meta_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_NEWS')) {
define('E_32_NEWS', "<img src='".e_IMAGE."admin_images/news_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_NEWS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/news_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_NEWSFEED')) {
define('E_32_NEWSFEED', "<img src='".e_IMAGE."admin_images/newsfeeds_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_NEWSFEED', "<img src='".e_IMAGE."packs/".$imode."/admin_images/newsfeeds_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_NOTIFY')) {
define('E_32_NOTIFY', "<img src='".e_IMAGE."admin_images/notify_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_NOTIFY', "<img src='".e_IMAGE."packs/".$imode."/admin_images/notify_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_PHP')) {
define('E_32_PHP', "<img src='".e_IMAGE."admin_images/phpinfo_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_PHP', "<img src='".e_IMAGE."packs/".$imode."/admin_images/phpinfo_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_POLLS')) {
define('E_32_POLLS', "<img src='".e_IMAGE."admin_images/polls_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_POLLS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/polls_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_PREFS')) {
define('E_32_PREFS', "<img src='".e_IMAGE."admin_images/prefs_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_PREFS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/prefs_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_SEARCH')) {
define('E_32_SEARCH', "<img src='".e_IMAGE."admin_images/search_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_SEARCH', "<img src='".e_IMAGE."packs/".$imode."/admin_images/search_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_UPLOADS')) {
define('E_32_UPLOADS', "<img src='".e_IMAGE."admin_images/uploads_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_UPLOADS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/uploads_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_USER')) {
define('E_32_USER', "<img src='".e_IMAGE."admin_images/users_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_USER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/users_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_USER_EXTENDED')) {
define('E_32_USER_EXTENDED', "<img src='".e_IMAGE."admin_images/extended_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_USER_EXTENDED', "<img src='".e_IMAGE."packs/".$imode."/admin_images/extended_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_USERCLASS')) {
define('E_32_USERCLASS', "<img src='".e_IMAGE."admin_images/userclass_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_USERCLASS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/userclass_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_LANGUAGE')) {
define('E_32_LANGUAGE', "<img src='".e_IMAGE."admin_images/language_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_LANGUAGE', "<img src='".e_IMAGE."packs/".$imode."/admin_images/language_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
// Large Admin Other Link Images
if (!defined('E_32_PLUGIN')) {
define('E_32_PLUGIN', "<img src='".e_IMAGE."admin_images/plugins_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_PLUGIN', "<img src='".e_IMAGE."packs/".$imode."/admin_images/plugins_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_PLUGMANAGER')) {
define('E_32_PLUGMANAGER', "<img src='".e_IMAGE."admin_images/plugmanager_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_PLUGMANAGER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/plugmanager_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_DOCS')) {
define('E_32_DOCS', "<img src='".e_IMAGE."admin_images/docs_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_DOCS', "<img src='".e_IMAGE."packs/".$imode."/admin_images/docs_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_MAIN')) {
define('E_32_MAIN', "<img src='".e_IMAGE."admin_images/main_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_MAIN', "<img src='".e_IMAGE."packs/".$imode."/admin_images/main_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_THEMEMANAGER')) {
define('E_32_THEMEMANAGER', "<img src='".e_IMAGE."admin_images/themes_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_THEMEMANAGER', "<img src='".e_IMAGE."packs/".$imode."/admin_images/themes_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
// Large Admin Other Images
if (!defined('E_32_COMMENT')) {
define('E_32_COMMENT', "<img src='".e_IMAGE."admin_images/comments_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_COMMENT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/comments_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_ADMINLOG')) {
define('E_32_ADMINLOG', "<img src='".e_IMAGE."admin_images/adminlogs_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_ADMINLOG', "<img src='".e_IMAGE."packs/".$imode."/admin_images/adminlogs_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_LOGOUT')) {
define('E_32_LOGOUT', "<img src='".e_IMAGE."admin_images/logout_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_LOGOUT', "<img src='".e_IMAGE."packs/".$imode."/admin_images/logout_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
$e_icon_array = array(

View File

@@ -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 "<img src='".e_IMAGE_ABS."admin_images/docs_16.png' alt='".LAN_ADMINLOG_6."' title='".LAN_ADMINLOG_7."' />";
return "<img src='".e_IMAGE_ABS."packs/".$imode."/admin_images/docs_16.png' alt='".LAN_ADMINLOG_6."' title='".LAN_ADMINLOG_7."' />";
break;
case E_LOG_NOTICE:
return "<img src='".e_IMAGE_ABS."admin_images/notice_16.png' alt='".LAN_ADMINLOG_8."' title='".LAN_ADMINLOG_9."' />";
return "<img src='".e_IMAGE_ABS."packs/".$imode."/admin_images/notice_16.png' alt='".LAN_ADMINLOG_8."' title='".LAN_ADMINLOG_9."' />";
break;
case E_LOG_WARNING:
return "<img src='".e_IMAGE_ABS."admin_images/blocked.png' alt='".LAN_ADMINLOG_10."' title='".LAN_ADMINLOG_11."' style='width:16p;height:16px' />";
return "<img src='".e_IMAGE_ABS."packs/".$imode."/admin_images/blocked.png' alt='".LAN_ADMINLOG_10."' title='".LAN_ADMINLOG_11."' style='width:16p;height:16px' />";
break;
case E_LOG_FATAL:
return "<img src='".e_IMAGE_ABS."admin_images/nopreview.png' alt='".LAN_ADMINLOG_12."' title='".LAN_ADMINLOG_13."' />";
return "<img src='".e_IMAGE_ABS."packs/".$imode."/admin_images/nopreview.png' alt='".LAN_ADMINLOG_12."' title='".LAN_ADMINLOG_13."' />";
break;
case E_LOG_PLUGIN;
return "<img src='".e_IMAGE_ABS."admin_images/plugins_16.png' alt='".LAN_ADMINLOG_6."' title='".LAN_ADMINLOG_6."' />";
return "<img src='".e_IMAGE_ABS."packs/".$imode."/admin_images/plugins_16.png' alt='".LAN_ADMINLOG_6."' title='".LAN_ADMINLOG_6."' />";
break;
}
return $log_type;

View File

@@ -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 .= "
<input type='image' name='edit_admin[{$row['user_id']}]' value='edit' src='".e_IMAGE."admin_images/edit_16.png' title='".LAN_EDIT."' />
<input type='image' name='del_admin[{$row['user_id']}]' value='del' src='".e_IMAGE."admin_images/delete_16.png' onclick=\"return jsconfirm('".$tp->toJS(ADMSLAN_59."? [".$row['user_name']."]")."') \" title='".ADMSLAN_59."' style='border:0px' />";
<input type='image' name='edit_admin[{$row['user_id']}]' value='edit' src='".e_IMAGE."packs/".$imode."/admin_images/edit_16.png' title='".LAN_EDIT."' />
<input type='image' name='del_admin[{$row['user_id']}]' value='del' src='".e_IMAGE."packs/".$imode."/admin_images/delete_16.png' onclick=\"return jsconfirm('".$tp->toJS(ADMSLAN_59."? [".$row['user_name']."]")."') \" title='".ADMSLAN_59."' style='border:0px' />";
}
$text .= "&nbsp;</td>

View File

@@ -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", "<img src='".e_IMAGE."generic/".IMODE."/question.png' style='vertical-align: middle' /><b>\\1</b>A>", $text);
$text = str_replace("A>", "<img src='".e_IMAGE."generic/".IMODE."/answer.png' style='vertical-align: middle' />", $text);
$text = preg_replace("/Q\>(.*?)A>/si", "<img src='".e_IMAGE."packs/".$imode."/generic/question.png' style='vertical-align: middle' /><b>\\1</b>A>", $text);
$text = str_replace("A>", "<img src='".e_IMAGE."packs/".$imode."/generic/answer.png' style='vertical-align: middle' />", $text);
$ns->tablerender(str_replace("_", " ", $helplist[e_QUERY]), $text."<br />");
unset($text);

View File

@@ -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", "<img src='".e_IMAGE_ABS."admin_images/edit_16.png' alt='' title='".LAN_EDIT."' style='border:0px; height:16px; width:16px' />");
define("ADMIN_EDIT_ICON_PATH", e_IMAGE."admin_images/edit_16.png");
define("ADMIN_EDIT_ICON", "<img src='".e_IMAGE_ABS."packs/".$imode."/admin_images/edit_16.png' alt='' title='".LAN_EDIT."' style='border:0px; height:16px; width:16px' />");
define("ADMIN_EDIT_ICON_PATH", e_IMAGE."packs/".$imode."/admin_images/edit_16.png");
}
if (!defined('ADMIN_DELETE_ICON'))
{
define("ADMIN_DELETE_ICON", "<img src='".e_IMAGE_ABS."admin_images/delete_16.png' alt='' title='".LAN_DELETE."' style='border:0px; height:16px; width:16px' />");
define("ADMIN_DELETE_ICON_PATH", e_IMAGE."admin_images/delete_16.png");
define("ADMIN_DELETE_ICON", "<img src='".e_IMAGE_ABS."packs/".$imode."/admin_images/delete_16.png' alt='' title='".LAN_DELETE."' style='border:0px; height:16px; width:16px' />");
define("ADMIN_DELETE_ICON_PATH", e_IMAGE."packs/".$imode."/admin_images/delete_16.png");
}
//

View File

@@ -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 = "<img src='".e_IMAGE."admin_images/sublink.png' alt='' />";
$subimage = "<img src='".e_IMAGE."packs/".$imode."/admin_images/sublink.png' alt='' />";
$subspacer = ($indent > 1) ? " style='padding-left: ".(($indent - 1) * 16)."px'" : "";
$subindent = "<td".$subspacer.">".$subimage."</td>";
}
@@ -357,14 +357,14 @@ class links
</table>
</td>";
$text .= "<td style='text-align:center; white-space: nowrap' class='forumheader3'>";
$text .= "<a href='".e_SELF."?create.sub.{$link_id}'><img src='".e_IMAGE."admin_images/sublink_16.png' title='".LINKLAN_10."' alt='".LINKLAN_10."' /></a>&nbsp;";
$text .= "<a href='".e_SELF."?create.sub.{$link_id}'><img src='".e_IMAGE."packs/".$imode."/admin_images/sublink_16.png' title='".LINKLAN_10."' alt='".LINKLAN_10."' /></a>&nbsp;";
$text .= "<a href='".e_SELF."?create.edit.{$link_id}'>".ADMIN_EDIT_ICON."</a>&nbsp;";
$text .= "<input type='image' title='".LAN_DELETE."' name='main_delete_{$link_id}' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(LCLAN_58." [ $link_name ]")."') \" />";
$text .= "</td>";
$text .= "<td style='text-align:center' class='forumheader3'>".r_userclass("link_class[".$link_id."]", $link_class, "off", "public,guest,nobody,member,admin,classes")."</td>";
$text .= "<td style='text-align:center; white-space: nowrap' class='forumheader3'>";
$text .= "<input type='image' src='".e_IMAGE."admin_images/up.png' title='".LCLAN_30."' value='".$link_id.".".$link_order."' name='inc' />";
$text .= "<input type='image' src='".e_IMAGE."admin_images/down.png' title='".LCLAN_31."' value='".$link_id.".".$link_order."' name='dec' />";
$text .= "<input type='image' src='".e_IMAGE."packs/".$imode."/admin_images/up.png' title='".LCLAN_30."' value='".$link_id.".".$link_order."' name='inc' />";
$text .= "<input type='image' src='".e_IMAGE."packs/".$imode."/admin_images/down.png' title='".LCLAN_31."' value='".$link_id.".".$link_order."' name='dec' />";
$text .= "</td>";
$text .= "<td style='text-align:center' class='forumheader3'>";
$text .= "<select name='link_order[]' class='tbox'>\n";

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/mailout.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:25 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-07 15:41:49 $
| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
@@ -663,7 +663,7 @@ $text = "
function showList()
{
global $sql,$ns,$tp;
global $sql, $ns, $tp, $imode;
$gen = new convert;
$qry ="SELECT g.*,u.* FROM #generic AS g LEFT JOIN #user AS u ON g.gen_user_id = u.user_id WHERE g.gen_type = 'massmail' ORDER BY g.gen_datestamp DESC";
// $count = $sql -> db_Select("generic", "*", "gen_type ='massmail' ORDER BY gen_datestamp DESC");
@@ -711,8 +711,8 @@ function showList()
<td style='width:50px;white-space:nowrap' class='forumheader3'>
<div>
<input type='image' name='edit[{$row2['gen_id']}]' value='edit' src='".e_IMAGE."admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' />
<input type='image' name='delete[{$row2['gen_id']}]' value='del' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [".$row2['gen_ip']."]")."') \" src='".e_IMAGE."admin_images/delete_16.png' alt='".LAN_DELETE."' title='".LAN_DELETE."' style='border:0px' />
<input type='image' name='edit[{$row2['gen_id']}]' value='edit' src='".e_IMAGE."packs/".$imode."/admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' />
<input type='image' name='delete[{$row2['gen_id']}]' value='del' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [".$row2['gen_ip']."]")."') \" src='".e_IMAGE."packs/".$imode."/admin_images/delete_16.png' alt='".LAN_DELETE."' title='".LAN_DELETE."' style='border:0px' />
</div>
</td>
</tr>

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/modcomment.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:25 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-07 15:41:49 $
| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@@ -121,12 +121,12 @@ if (!$sql->db_Select("comments", "*", "(comment_type='".$type."' OR comment_type
$comments .= "
<tr>
<td class='forumheader3' style='width:5%; text-align:center;'>".($row['comment_blocked'] ? "<img src='".e_IMAGE."admin_images/blocked.png' />" : "&nbsp;")."</td>
<td class='forumheader3' style='width:5%; text-align:center;'>".($row['comment_blocked'] ? "<img src='".e_IMAGE."packs/".$imode."/admin_images/blocked.png' />" : "&nbsp;")."</td>
<td class='forumheader3' style='width:15%;'>".$datestamp."</td>
<td class='forumheader3' style='width:15%;'><b>".$comment_nick."</b><br />".$comment_str."</td>
<td class='forumheader3' style='width:40%;'>".$row['comment_comment']."</td>
<td class='forumheader3' style='width:25%;'>
<a href='".e_ADMIN."modcomment.php?{$table}.{$id}.".$row['comment_id']."'><img src='".e_IMAGE."admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:none' /></a>"
<a href='".e_ADMIN."modcomment.php?{$table}.{$id}.".$row['comment_id']."'><img src='".e_IMAGE."packs/".$imode."/admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:none' /></a>"
."&nbsp;".($row['comment_blocked'] ? "<input type='checkbox' name='comment_unblocked[]' value='".$row['comment_id']."' /> ".MDCLAN_5."" : "<input type='checkbox' name='comment_blocked[]' value='".$row['comment_id']."' /> ".MDCLAN_6."")
."&nbsp;<input type='checkbox' name='comment_delete[]' value='".$row['comment_id']."' /> ".LAN_DELETE."
</td>

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/newspost.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:26 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-07 15:41:49 $
| $Author: sweetas $
+---------------------------------------------------------------+
*/
@@ -276,7 +276,7 @@ class newspost {
function show_existing_items($action, $sub_action, $id, $from, $amount) {
// ##### Display scrolling list of existing news items ---------------------------------------------------------------------------------------------------------
global $sql, $rs, $ns, $tp;
global $sql, $rs, $ns, $tp, $imode;
$text = "<div style='text-align:center'>";
if (isset($_POST['searchquery'])) {
@@ -313,7 +313,7 @@ class newspost {
$text .= $ren_type[$news_render_type];
if($news_sticky)
{
$sicon = (file_exists(THEME."images/sticky.png") ? THEME."images/sticky.png" : e_IMAGE."generic/".IMODE."/sticky.png");
$sicon = (file_exists(THEME."images/sticky.png") ? THEME."images/sticky.png" : e_IMAGE."packs/".$imode."/generic/sticky.png");
$text .= " <img src='".$sicon."' alt='' />";
}
$text .= "

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/plugin.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:27 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-07 15:41:50 $
| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
@@ -405,7 +405,7 @@ $text .= render_plugs($uninstalled);
function render_plugs($pluginList){
global $tp;
global $tp, $imode;
foreach($pluginList as $plug) {
//Unset any possible eplug_ variables set by last plugin.php
@@ -419,13 +419,13 @@ function render_plugs($pluginList){
include(e_PLUGIN.$plug['plugin_path'].'/plugin.php');
if ($eplug_conffile || is_array($eplug_table_names) || is_array($eplug_prefs) || is_array($eplug_user_prefs) || is_array($eplug_sc) || is_array($eplug_bb) || $eplug_module || $eplug_userclass || $eplug_status || $eplug_latest) {
$img = (!$plug['plugin_installflag'] ? "<img src='".e_IMAGE."admin_images/uninstalled.png' alt='' />" : "<img src='".e_IMAGE."admin_images/installed.png' alt='' />");
$img = (!$plug['plugin_installflag'] ? "<img src='".e_IMAGE."packs/".$imode."/admin_images/uninstalled.png' alt='' />" : "<img src='".e_IMAGE."packs/".$imode."/admin_images/installed.png' alt='' />");
} else {
$img = "<img src='".e_IMAGE."admin_images/noinstall.png' alt='' />";
$img = "<img src='".e_IMAGE."packs/".$imode."/admin_images/noinstall.png' alt='' />";
}
if ($plug['plugin_version'] != $eplug_version && $plug['plugin_installflag']) {
$img = "<img src='".e_IMAGE."admin_images/upgrade.png' alt='' />";
$img = "<img src='".e_IMAGE."packs/".$imode."/admin_images/upgrade.png' alt='' />";
}
$plugin_icon = $eplug_icon ? "<img src='".e_PLUGIN.$eplug_icon."' alt='' style='border:0px;vertical-align: bottom; width: 32px; height: 32px' />" : E_32_CAT_PLUG;
@@ -496,10 +496,10 @@ return $text;
$text .= "</table>
<div style='text-align:center'><br />
<img src='".e_IMAGE."admin_images/uninstalled.png' alt='' /> ".EPL_ADLAN_23."&nbsp;&nbsp;
<img src='".e_IMAGE."admin_images/installed.png' alt='' /> ".EPL_ADLAN_22."&nbsp;&nbsp;
<img src='".e_IMAGE."admin_images/upgrade.png' alt='' /> ".EPL_ADLAN_24."&nbsp;&nbsp;
<img src='".e_IMAGE."admin_images/noinstall.png' alt='' /> ".EPL_ADLAN_25."</div></div>";
<img src='".e_IMAGE."packs/".$imode."/admin_images/uninstalled.png' alt='' /> ".EPL_ADLAN_23."&nbsp;&nbsp;
<img src='".e_IMAGE."packs/".$imode."/admin_images/installed.png' alt='' /> ".EPL_ADLAN_22."&nbsp;&nbsp;
<img src='".e_IMAGE."packs/".$imode."/admin_images/upgrade.png' alt='' /> ".EPL_ADLAN_24."&nbsp;&nbsp;
<img src='".e_IMAGE."packs/".$imode."/admin_images/noinstall.png' alt='' /> ".EPL_ADLAN_25."</div></div>";
$ns->tablerender(EPL_ADLAN_16, $text);
// ----------------------------------------------------------

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/upload.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:30 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-07 15:41:50 $
| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@@ -239,8 +239,8 @@ if (!$active_uploads = $sql->db_Select("upload", "*", "upload_active=0 ORDER BY
<td style='width:20%' class='forumheader3'>".$upload_file ."</td>
<td style='width:50px;white-space:nowrap' class='forumheader3'>
<form action='".e_SELF."?dis.$upload_id' id='uploadform_{$upload_id}' method='post'>
<div><a href='".e_SELF."?dlm.$upload_id'><img src='".e_IMAGE."admin_images/downloads_16.png' alt='".UPLAN_COPYTODLS."' title='".UPLAN_COPYTODLS."' style='border:0' /></a>
<a href='".e_SELF."?news.$upload_id'><img src='".e_IMAGE."admin_images/news_16.png' alt='".UPLLAN_16."' title='".UPLLAN_16."' style='border:0' /></a>
<div><a href='".e_SELF."?dlm.$upload_id'><img src='".e_IMAGE."packs/".$imode."/admin_images/downloads_16.png' alt='".UPLAN_COPYTODLS."' title='".UPLAN_COPYTODLS."' style='border:0' /></a>
<a href='".e_SELF."?news.$upload_id'><img src='".e_IMAGE."packs/".$imode."/admin_images/news_16.png' alt='".UPLLAN_16."' title='".UPLLAN_16."' style='border:0' /></a>
<input type='image' title='".LAN_DELETE."' name='updelete[upload_{$upload_id}]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(UPLLAN_45." [ $upload_name ]")."') \"/>
</div></form></td>
</tr>";

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/users_extended.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:32 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-07 15:41:50 $
| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@@ -230,7 +230,7 @@ class users_ext
function show_extended($current)
{
global $sql, $ns, $ue, $curtype, $tp, $mySQLdefaultdb, $action, $sub_action;
global $sql, $ns, $ue, $curtype, $tp, $mySQLdefaultdb, $action, $sub_action, $imode;
$catList = $ue->user_extended_get_categories();
$catList[0][0] = array('user_extended_struct_name' => EXTLAN_36);
@@ -282,12 +282,12 @@ class users_ext
";
if($i > 0){
$text .= "
<input type='image' alt='' title='".EXTLAN_26."' src='".e_IMAGE."/admin_images/up.png' name='up' value='{$ext['user_extended_struct_id']}.{$ext['user_extended_struct_order']}.{$ext['user_extended_struct_parent']}' />
<input type='image' alt='' title='".EXTLAN_26."' src='".e_IMAGE."packs/".$imode."/admin_images/up.png' name='up' value='{$ext['user_extended_struct_id']}.{$ext['user_extended_struct_order']}.{$ext['user_extended_struct_parent']}' />
";
}
if($i <= count($extendedList[$cn])-2)
{
$text .= "<input type='image' alt='' title='".EXTLAN_25."' src='".e_IMAGE."/admin_images/down.png' name='down' value='{$ext['user_extended_struct_id']}.{$ext['user_extended_struct_order']}.{$ext['user_extended_struct_parent']}' />";
$text .= "<input type='image' alt='' title='".EXTLAN_25."' src='".e_IMAGE."packs/".$imode."/admin_images/down.png' name='down' value='{$ext['user_extended_struct_id']}.{$ext['user_extended_struct_order']}.{$ext['user_extended_struct_parent']}' />";
}
$text .= "
</form>
@@ -605,7 +605,7 @@ class users_ext
function show_categories($current)
{
global $sql, $ns, $ue;
global $sql, $ns, $ue, $imode;
$text = "<div style='text-align:center'>";
$text .= "
@@ -639,12 +639,12 @@ class users_ext
if($i > 0)
{
$text .= "
<input type='image' alt='' title='".EXTLAN_26."' src='".e_IMAGE."/admin_images/up.png' name='catup' value='{$ext['user_extended_struct_id']}' />
<input type='image' alt='' title='".EXTLAN_26."' src='".e_IMAGE."packs/".$imode."/admin_images/up.png' name='catup' value='{$ext['user_extended_struct_id']}' />
";
}
if($i <= count($catList)-2)
{
$text .= "<input type='image' alt='' title='".EXTLAN_25."' src='".e_IMAGE."/admin_images/down.png' name='catdown' value='{$ext['user_extended_struct_id']}' />";
$text .= "<input type='image' alt='' title='".EXTLAN_25."' src='".e_IMAGE."packs/".$imode."/admin_images/down.png' name='catdown' value='{$ext['user_extended_struct_id']}' />";
}
$text .= "
</form>