Index: branches/RC/core/units/admin/admin_tag_processor.php
===================================================================
diff -u -r9639 -r9643
--- branches/RC/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 9639)
+++ branches/RC/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 9643)
@@ -783,12 +783,19 @@
return $this->Application->HREF($t, '', $vars, $index_file);
}
+ /**
+ * Returns menu frame width or 200 in case, when invalid width specified in config
+ *
+ * @param Array $params
+ * @return string
+ */
function MenuFrameWidth($params)
{
- $w = $this->Application->ConfigValue('MenuFrameWidth');
- if (!$w) $w = 200;
- return $w;
+ $width = (int)$this->Application->ConfigValue('MenuFrameWidth');
+
+ return $width > 0 ? $width : 200;
}
+
function AdminSkin($params)
{
static $style;
@@ -862,7 +869,7 @@
$this->Application->RemoveVar('compile_errors');
return $o;
}
-
+
function ExportData($params)
{
$export_helper =& $this->Application->recallObject('CSVHelper');
Index: branches/RC/core/units/admin/admin_events_handler.php
===================================================================
diff -u -r9639 -r9643
--- branches/RC/core/units/admin/admin_events_handler.php (.../admin_events_handler.php) (revision 9639)
+++ branches/RC/core/units/admin/admin_events_handler.php (.../admin_events_handler.php) (revision 9643)
@@ -253,6 +253,7 @@
function OnBeforeShutdown(&$event)
{
}
+
/**
* Is called after tree was build (when not from cache)
*
Index: branches/RC/core/admin_templates/index.tpl
===================================================================
diff -u -r9639 -r9643
--- branches/RC/core/admin_templates/index.tpl (.../index.tpl) (revision 9639)
+++ branches/RC/core/admin_templates/index.tpl (.../index.tpl) (revision 9643)
@@ -31,7 +31,7 @@
" name="head" scrolling="no" noresize="noresize">
-