diff --git a/e107_admin/admin.php b/e107_admin/admin.php index 9bdff7a15..a56fbd67a 100644 --- a/e107_admin/admin.php +++ b/e107_admin/admin.php @@ -19,7 +19,7 @@ require_once('../class2.php'); //TODO - marj prepare language reorganisation //include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE); -if($_GET['iframe'] == 1) +if(vartrue($_GET['iframe']) == 1) { define('e_IFRAME', true); diff --git a/e107_admin/includes/infopanel.php b/e107_admin/includes/infopanel.php index 0b5699d13..f2cf2fd59 100644 --- a/e107_admin/includes/infopanel.php +++ b/e107_admin/includes/infopanel.php @@ -77,7 +77,7 @@ EOF; $frm = e107::getForm(); /* - + XXX Check Bootstrap bug is fixed. echo ' - '; */ - - - - + //TODO LANs throughout. global $style; @@ -136,16 +130,12 @@ EOF; $array_functions_assoc = e107::getNav()->adminLinks('assoc'); $iconlist = array_merge($array_functions_assoc, e107::getNav()->pluginLinks(E_16_PLUGMANAGER, "array")); - - // "
"; $tp->parseTemplate("{SETSTYLE=core-infopanel}"); // Personalized Panel - - // Rendering the saved configuration. $mainPanel = " @@ -166,7 +156,7 @@ EOF; "; - $text .= $ns->tablerender(ucwords(USERNAME)."'s Control Panel", $mainPanel, "core-infopanel_mye107",true); + $text = $ns->tablerender(ucwords(USERNAME)."'s Control Panel", $mainPanel, "core-infopanel_mye107",true); // ------------------------------- e107 News -------------------------------- diff --git a/e107_core/shortcodes/batch/admin_shortcodes.php b/e107_core/shortcodes/batch/admin_shortcodes.php index fb8632b27..d79e88f25 100644 --- a/e107_core/shortcodes/batch/admin_shortcodes.php +++ b/e107_core/shortcodes/batch/admin_shortcodes.php @@ -1355,10 +1355,10 @@ class admin_shortcodes { $plug_vars = $plug->plug_vars; - //if($row['plugin_path']=='tinymce') - //{ - // print_a($plug_vars); - //} + if($row['plugin_path']=='calendar_menu') + { + // print_a($plug_vars); + } // moved to boot.php // e107::loadLanFiles($row['plugin_path'], 'admin'); @@ -1377,7 +1377,7 @@ class admin_shortcodes $id = 'plugnav-'.$row['plugin_path']; $tmp[$id]['text'] = e107::getParser()->toHTML($plug_vars['@attributes']['name'], FALSE, "LINKTEXT"); - $tmp[$id]['description'] = $plug_vars['description']; + $tmp[$id]['description'] = vartrue($plug_vars['description']['@value']); $tmp[$id]['link'] = e_PLUGIN_ABS.$row['plugin_path'].'/'.$plug_vars['administration']['configFile']; $tmp[$id]['image'] = $icon_src ? "\"".varset($tmp[$id]['text'])."\"" : E_16_PLUGIN; $tmp[$id]['image_large'] = $icon_src_lrg ? "\"".varset($tmp[$id]['text'])."\"" : $icon_src_lrg; @@ -1396,7 +1396,7 @@ class admin_shortcodes { $subid = $id.'-'.$subkey; $predef_icons = array('add', 'manage', 'settings'); - $title = $plugsub['@value']; + $title = vartrue($plugsub['@value']); $plugsub = $plugsub['@attributes']; if(varset($plugsub['primary'])=='true') // remove primary links. @@ -1408,7 +1408,7 @@ class admin_shortcodes $tmp[$id]['sub'][$subid]['text'] = e107::getParser()->toHTML($title, FALSE, 'LINKTEXT'); - $tmp[$id]['sub'][$subid]['description'] = e107::getParser()->toHTML($plug_vars['description']); + $tmp[$id]['sub'][$subid]['description'] = (vartrue($plug_vars['description']['@value'])) ? e107::getParser()->toHTML($plug_vars['description']['@value']) : ""; $tmp[$id]['sub'][$subid]['link'] = e_PLUGIN_ABS.$row['plugin_path'].'/'.$plugsub['url']; $tmp[$id]['sub'][$subid]['image'] = $icon_src ? "\"".varset($tmp[$id]['sub'][$subid]['text'])."\"" : ""; $tmp[$id]['sub'][$subid]['image_large'] = ''; diff --git a/e107_handlers/cache_handler.php b/e107_handlers/cache_handler.php index e86ba09a6..3486c6405 100644 --- a/e107_handlers/cache_handler.php +++ b/e107_handlers/cache_handler.php @@ -297,13 +297,13 @@ class ecache { if($type == 'db') { $path = e_CACHE_DB; - $mask = ($mask == null) ? '*.php' : $mask; + $mask = ($mask == null) ? '.*\.php' : $mask; } if($type == 'image') { $path = e_CACHE_IMAGE; - $mask = ($mask == null) ? '*.cache\.bin' : $mask; + $mask = ($mask == null) ? '.*\.cache\.bin' : $mask; } if((null == $path) || (null == $mask)) diff --git a/e107_plugins/calendar_menu/plugin.xml b/e107_plugins/calendar_menu/plugin.xml index a11e096cf..fe0f76dcd 100644 --- a/e107_plugins/calendar_menu/plugin.xml +++ b/e107_plugins/calendar_menu/plugin.xml @@ -1,7 +1,7 @@ - This plugin is a fully featured event calendar with calendar menu. + This plugin is a fully featured event calendar with calendar menu. readme.pdf content