| | |
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| | | */ |
| | | |
| | | require_once('../../lib/config.inc.php'); |
| | | require_once('../../lib/app.inc.php'); |
| | | require_once '../../lib/config.inc.php'; |
| | | require_once '../../lib/app.inc.php'; |
| | | |
| | | //* Check permissions for module |
| | | $app->auth->check_module_permissions('designer'); |
| | |
| | | if ($file != '.' && $file != '..') { |
| | | 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"); |
| | | include_once ISPC_WEB_PATH."/$file/lib/module.conf.php"; |
| | | $modules_list[] = array( 'module' => $module['name'], |
| | | 'title' => $module['title'], |
| | | 'bgcolor' => ($bgcolor == '#FFFFFF') ? '#EEEEEE' : '#FFFFFF' |
| | |
| | | |
| | | //* loading language file |
| | | $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_module_list.lng'; |
| | | include($lng_file); |
| | | include $lng_file; |
| | | $app->tpl->setVar($wb); |
| | | |
| | | $app->tpl_defaults(); |