Marius Cramer
2013-11-14 b1a6a5a3991cec5cd08873b01376e45d0b247f18
interface/web/dashboard/dashlets/modules.php
@@ -13,7 +13,7 @@
      
      $wb = array();
      $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_modules.lng';
      if(is_file($lng_file)) include($lng_file);
      if(is_file($lng_file)) include $lng_file;
      $tpl->setVar($wb);
      
      /*
@@ -25,7 +25,7 @@
         foreach($modules as $mt) {
            if(is_file('../' . $mt . '/lib/module.conf.php')) {
               if(!preg_match("/^[a-z]{2,20}$/i", $mt)) die('module name contains unallowed chars.');
               include_once('../' . $mt.'/lib/module.conf.php');
               include_once '../' . $mt.'/lib/module.conf.php';
               /* We don't want to show the dashboard */
               if ($mt != 'dashboard') {
                  $module_title = $app->lng($module['title']);
@@ -47,6 +47,7 @@
      return $tpl->grab();
      
   }
}