Subversion Repositories personal-webbase

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. <?php
  2.  
  3. if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
  4.  
  5. echo $header;
  6.  
  7. echo '<h1>'.htmlentities($module_information->caption).'</h1>';
  8.  
  9. echo '<table cellspacing="0" cellpadding="0" border="0" width="100%">';
  10.  
  11. foreach ($modules as $m1 => $m2)
  12. {
  13.         if (file_exists('modules/'.$m2.'/crossover/'.$modul.'/main.inc.php'))
  14.         {
  15.                 echo '<tr>';
  16.  
  17.                 echo '<td align="center" valign="top">';
  18.  
  19.                 if (file_exists('modules/'.$m2.'/images/menu/32.gif'))
  20.                         echo '<img src="modules/'.$m2.'/images/menu/32.gif" alt="" width="32" height="32">';
  21.                 else if (file_exists('modules/'.$m2.'/images/menu/32.png'))
  22.                         echo '<img src="modules/'.$m2.'/images/menu/32.png" alt="" width="32" height="32">';
  23.                 else
  24.                         echo '<img src="designs/spacer.gif" alt="" width="32" height="32">';
  25.  
  26.                 echo '</td><td><img src="designs/spacer.gif" alt="" width="10" height="1"></td><td width="100%" valign="top" align="left">';
  27.  
  28.                 $module_information = WBModuleHandler::get_module_information($m2);
  29.  
  30.                 $meldung = '';
  31.                 include 'modules/'.$m2.'/crossover/'.$modul.'/main.inc.php';
  32.                 if ($meldung == '')
  33.                         echo '<b>'.$m2.'</b> gab keine R&uuml;ckmeldung.';
  34.                 else
  35.                         echo '<b>'.$m2.'</b> hat folgende Nachricht zur&uuml;ckgegeben:<br><br>'.$meldung;
  36.  
  37.                 echo '</td></tr><tr><td colspan="3">&nbsp;</td></tr>';
  38.         }
  39. }
  40.  
  41. unset($m1);
  42. unset($m2);
  43.  
  44. echo '<tr><td colspan="3">Der Systemcheck ist beendet.</td></tr></table>';
  45.  
  46. echo $footer;
  47.  
  48. ?>