diff --git a/e107_files/bbcode/img.bb b/e107_files/bbcode/img.bb index d1a6155a0..06850af49 100644 --- a/e107_files/bbcode/img.bb +++ b/e107_files/bbcode/img.bb @@ -80,6 +80,7 @@ if (strpos($img_file['basename'],'*') !== FALSE) } } +$pref['image_post_class'] = 0; // Check for whether we can display image down here - so we can show image name if appropriate if (!varsettrue($pref['image_post']) || !check_class($pref['image_post_class'])) diff --git a/e107_files/default_install.xml b/e107_files/default_install.xml index e93b99593..33c599f98 100644 --- a/e107_files/default_install.xml +++ b/e107_files/default_install.xml @@ -1,5 +1,5 @@ - + 1 0 @@ -10,17 +10,17 @@ infopanel jayya 0 - 0 + 1 0 1 10 1 - 0 + 1 100,200 0 - 0 + 1 0 0 0 @@ -371,6 +371,132 @@ City, State, Country 'email' => '', ), )]]> + '{e_IMAGE}icons/alarm_16.png', + 1 => '{e_IMAGE}icons/alarm_32.png', + 2 => '{e_IMAGE}icons/colors_16.png', + 3 => '{e_IMAGE}icons/colors_32.png', + 4 => '{e_IMAGE}icons/config_16.png', + 5 => '{e_IMAGE}icons/config_32.png', + 6 => '{e_IMAGE}icons/download_32.png', + 7 => '{e_IMAGE}icons/folder_32.png', + 8 => '{e_IMAGE}icons/folder_48.png', + 9 => '{e_IMAGE}icons/folderx_32.png', + 10 => '{e_IMAGE}icons/folderx_48.png', + 11 => '{e_IMAGE}icons/help_16.png', + 12 => '{e_IMAGE}icons/help_32.png', + 13 => '{e_IMAGE}icons/html_16.png', + 14 => '{e_IMAGE}icons/html_32.png', + 15 => '{e_IMAGE}icons/important_16.png', + 16 => '{e_IMAGE}icons/important_32.png', + 17 => '{e_IMAGE}icons/info_16.png', + 18 => '{e_IMAGE}icons/info_32.png', + 19 => '{e_IMAGE}icons/news_16.png', + 20 => '{e_IMAGE}icons/news_32.png', + 21 => '{e_IMAGE}icons/plug_16.png', + 22 => '{e_IMAGE}icons/plug_32.png', + 23 => '{e_IMAGE}icons/sound_16.png', + 24 => '{e_IMAGE}icons/sound_32.png', + 25 => '{e_IMAGE}icons/thumbnail_16.png', + 26 => '{e_IMAGE}icons/thumbnail_32.png', + 27 => '{e_IMAGE}icons/video_16.png', + 28 => '{e_IMAGE}icons/video_32.png', + 29 => '{e_IMAGE}icons/view_16.png', + 30 => '{e_IMAGE}icons/view_32.png', + 31 => '{e_IMAGE}icons/wizard_16.png', + 32 => '{e_IMAGE}icons/wizard_32.png', +)]]> + '{e_PLUGIN}alt_auth/images/alt_auth_16.png', + 1 => '{e_PLUGIN}alt_auth/images/alt_auth_32.png', +)]]> + '{e_PLUGIN}banner/images/banners_16.png', + 1 => '{e_PLUGIN}banner/images/banners_32.png', +)]]> + '{e_PLUGIN}calendar_menu/images/calendar_16.png', + 1 => '{e_PLUGIN}calendar_menu/images/calendar_32.png', +)]]> + '{e_PLUGIN}chatbox_menu/images/chatbox_16.png', + 1 => '{e_PLUGIN}chatbox_menu/images/chatbox_32.png', +)]]> + '{e_PLUGIN}download/images/downloads_16.png', + 1 => '{e_PLUGIN}download/images/downloads_32.png', +)]]> + '{e_PLUGIN}fbox/images/icon_16.png', + 1 => '{e_PLUGIN}fbox/images/icon_32.png', +)]]> + '{e_PLUGIN}featurebox/images/featurebox_16.png', + 1 => '{e_PLUGIN}featurebox/images/featurebox_32.png', +)]]> + '{e_PLUGIN}forum/images/forums_16.png', + 1 => '{e_PLUGIN}forum/images/forums_32.png', + 2 => '{e_PLUGIN}forum/images/sub_forums_16.png', +)]]> + '{e_PLUGIN}gsitemap/images/icon_16.png', +)]]> + '{e_PLUGIN}import/images/import_16.png', + 1 => '{e_PLUGIN}import/images/import_32.png', +)]]> + '{e_PLUGIN}log/images/stats_16.png', + 1 => '{e_PLUGIN}log/images/stats_32.png', +)]]> + '{e_PLUGIN}newforumposts_main/images/new_forum_16.png', + 1 => '{e_PLUGIN}newforumposts_main/images/new_forum_32.png', +)]]> + '{e_PLUGIN}newsfeed/images/newsfeed_16.png', + 1 => '{e_PLUGIN}newsfeed/images/newsfeed_32.png', +)]]> + '{e_PLUGIN}newsletter/images/nl_16.png', + 1 => '{e_PLUGIN}newsletter/images/nl_32.png', +)]]> + '{e_PLUGIN}pdf/images/pdf_16.png', + 1 => '{e_PLUGIN}pdf/images/pdf_32.png', +)]]> + '{e_PLUGIN}pm/images/pvt_message_16.png', + 1 => '{e_PLUGIN}pm/images/pvt_message_32.png', +)]]> + '{e_PLUGIN}poll/images/polls_16.png', + 1 => '{e_PLUGIN}poll/images/polls_32.png', +)]]> + '{e_PLUGIN}rss_menu/images/rss_16.png', + 1 => '{e_PLUGIN}rss_menu/images/rss_32.png', +)]]> + '{e_PLUGIN}search_menu/images/search_32.png', +)]]> + '{e_PLUGIN}tagwords/images/tagwords_16.png', + 1 => '{e_PLUGIN}tagwords/images/tagwords_32.png', +)]]> + '{e_PLUGIN}trackback/images/trackback_16.png', + 1 => '{e_PLUGIN}trackback/images/trackback_32.png', +)]]> + '{e_THEME}jayya/images/arrow_16.png', + 1 => '{e_THEME}jayya/images/arrow_over_16.png', + 2 => '{e_THEME}jayya/images/comments_16.png', + 3 => '{e_THEME}jayya/images/email_16.png', + 4 => '{e_THEME}jayya/images/postedby_16.png', + 5 => '{e_THEME}jayya/images/print_16.png', +)]]> @@ -634,6 +760,50 @@ City, State, Country + + 23 + debug_menu + 0 + 0 + 0 + + debug_menu/ + + + + + 24 + counter_menu + 0 + 0 + 0 + + siteinfo_menu/ + + + + + 25 + latestnews_menu + 0 + 0 + 0 + + siteinfo_menu/ + + + + + 26 + usertheme_menu + 0 + 0 + 0 + + user_menu/ + + + diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index 6e5dc9414..d95c69b8b 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/plugin_class.php,v $ -| $Revision: 1.75 $ -| $Date: 2009-08-31 02:00:51 $ +| $Revision: 1.76 $ +| $Date: 2009-09-02 02:05:51 $ | $Author: e107coders $ +----------------------------------------------------------------------------+ */ @@ -322,7 +322,7 @@ class e107plugin $iconpool[$key][] = $tp->createConstants($file['path'],1).$file['fname']; } - $srch = array(e_PLUGIN,"/images/","/icons/"); + $srch = array(e_PLUGIN,"/images/","/icons/","/icon/"); $repl = array("","",""); foreach($plugin_icons as $file) @@ -332,6 +332,9 @@ class e107plugin $iconpool[$key][] = $tp->createConstants($file['path'],1).$file['fname']; } + $srch = array(e_THEME,"/images/","/icons/","/demo/"); + $repl = array("","",""); + foreach($theme_icons as $file) { $path = str_replace($srch,$repl,$file['path']);