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

<pluginPrefs> support added to plugin.xml spec. XML handler array exceptions option added.

This commit is contained in:
CaMer0n
2009-09-21 21:53:38 +00:00
parent e8db0ef354
commit efda62371f
3 changed files with 245 additions and 100 deletions

View File

@@ -9,8 +9,8 @@
* e107 Admin Theme Handler
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/theme_handler.php,v $
* $Revision: 1.53 $
* $Date: 2009-09-17 01:47:20 $
* $Revision: 1.54 $
* $Date: 2009-09-21 21:53:37 $
* $Author: e107coders $
*/
@@ -1274,6 +1274,7 @@ class themeHandler{
require_once(e_HANDLER.'xml_class.php');
$xml = new xmlClass;
$xml->setOptArrayTags('layout'); // layout should always be an array.
$xml->setOptStringTags('menuPresets,customPages');
$vars = $xml->loadXMLfile(e_THEME.$path.'/theme.xml', true, true);
$vars['name'] = varset($vars['@attributes']['name']);