tbrehm
2011-04-04 1ca823723668e01b1b998faec5f8d8153545cfa8
interface/web/dashboard/dashlets/modules.php
@@ -11,8 +11,9 @@
      $tpl = new tpl;
      $tpl->newTemplate("dashlets/templates/modules.htm");
      
      $wb = array();
      $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_modules.lng';
      include($lng_file);
      if(is_file($lng_file)) include($lng_file);
      $tpl->setVar($wb);
      
      /*
@@ -27,7 +28,9 @@
               include_once('../' . $mt.'/lib/module.conf.php');
               /* We don't want to show the dashboard */
               if ($mt != 'dashboard') {
                  $mod[] = array(   'modules_title'    => $app->lng($module['title']),
                  $module_title = $app->lng($module['title']);
                  if(strlen($module_title) > 8) $module_title = substr($module_title,0,7).'..';
                  $mod[] = array(   'modules_title'    => $module_title,
                        'modules_startpage'   => $module['startpage'],
                        'modules_name'     => $module['name']);
               }