<?php
/*
 * e107 website system
 *
 * Copyright (C) 2008-2009 e107 Inc (e107.org)
 * Released under the terms and conditions of the
 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
 *
 * Administration Icons, should handle all icons in the future (somehow)
 *
*/

	
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_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
/**
 * 
// @DEPRECATED 
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
/**
 * @DEPRECATED 

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_THEMEMANAGER')) {
	define('E_16_THEMEMANAGER', "<i class='S16 e-themes-16'></i>");
}

// Small Admin Other Images
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_WARNING_ICON", "<i class='S16 e-warning-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_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-settings-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_REPAIRPLUGIN_ICON", "<i class='S32 e-configure-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> 


	
	if(!defined('ADMIN_EDIT_ICON') && !defined('ADMIN_TRUE_ICON'))
	{/*
		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='S16 e-edit-16' ></i>"); 	
		define("ADMIN_DELETE_ICON", 		"<i class='S16 e-delete-16'></i>");	
		define("ADMIN_UP_ICON", 			"<i class='S16 e-up-16'></i>"); 
		define("ADMIN_DOWN_ICON", 			"<i class='S16 e-down-16'></i>"); 
		define("ADMIN_WARNING_ICON", 		"<i class='S16 e-warning-16'></i>");	
		define("ADMIN_INFO_ICON", 			"<i class='S16 e-info-16'></i>");	
		define("ADMIN_CONFIGURE_ICON", 		"<i class='S16 e-configure-16'></i>");	
		define("ADMIN_ADD_ICON", 			"<i class='S16 e-add-16'></i>");	
		define("ADMIN_VIEW_ICON", 			"<i class='S16 e-search-16'></i>");
		define("ADMIN_URL_ICON", 			"<i class='S16 e-forums-16'></i>");
		define("ADMIN_INSTALLPLUGIN_ICON", 	"<i class='S16 e-plugin_install-16'></i>");	
		define("ADMIN_UNINSTALLPLUGIN_ICON","<i class='S16 e-plugin_uninstall-16'></i>");	
		define("ADMIN_UPGRADEPLUGIN_ICON", 	"<i class='S16 e-up-16'></i>");
		define("ADMIN_EXECUTE_ICON",  		"<i class='S16 e-execute-16'></i>");
		define("ADMIN_SORT_ICON", 			"<i class='S16 e-sort'></i>"); 
		*/
		define("ADMIN_TRUE_ICON_PATH", e_IMAGE_ABS."admin_images/true_16.png"); 		//XXX DEPRECATED but used in v1.x
		define("ADMIN_FALSE_ICON_PATH", e_IMAGE_ABS."admin_images/false_16.png"); 		//XXX DEPRECATED but used in v1.x
	//	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
	}	
	



	