tbrehm
2007-10-17 fffd4d03af435ec40d3e7f51f1b8a716d7d1c7e8
interface/web/designer/module_list.php
@@ -50,10 +50,9 @@
        if(@is_dir(ISPC_WEB_PATH."/$file")) {
            if(is_file(ISPC_WEB_PATH."/$file/lib/module.conf.php") and $file != 'login') {
            include_once(ISPC_WEB_PATH."/$file/lib/module.conf.php");
            $bgcolor = ($bgcolor == '#FFFFFF') ? '#EEEEEE' : '#FFFFFF';
            $modules_list[] = array(    'module' =>   $module['name'],
                                 'title' =>    $module['title'],
                                 'bgcolor' =>  $bgcolor
                                 'bgcolor' =>  ($bgcolor == '#FFFFFF') ? '#EEEEEE' : '#FFFFFF'
                                        );
         }
        }
@@ -62,13 +61,12 @@
$app->tpl->setLoop('records', $modules_list);
// loading language file
//* loading language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_module_list.lng';
include($lng_file);
$app->tpl->setVar($wb);
$app->tpl_defaults();
$app->tpl->pparse();
?>