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

Some code cleanup

This commit is contained in:
CaMer0n
2009-11-05 09:15:19 +00:00
parent 3cf3d709d1
commit d892e2c039
13 changed files with 73 additions and 70 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.61 $
* $Date: 2009-11-02 01:10:50 $
* $Revision: 1.62 $
* $Date: 2009-11-05 09:15:12 $
* $Author: e107coders $
*/
@@ -1299,10 +1299,10 @@ class themeHandler
function parse_theme_xml($path)
{
global $tp;
// loadLanFiles($path, 'admin'); // Look for LAN files on default paths
require_once (e_HANDLER.'xml_class.php');
$xml = new xmlClass;
$tp = e107::getParser();
$xml = e107::getXml();
// loadLanFiles($path, 'admin'); // Look for LAN files on default paths
// layout should always be an array.
$xml->setOptArrayTags('layout');
$xml->setOptStringTags('menuPresets,customPages');