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 'Folgende Module enthalten eine designte Konfigurationsm&ouml;glichkeit:<br><br>';
  10.  
  11. $i = -1;
  12. foreach ($modules as $m1 => $m2)
  13. {
  14.         if (file_exists('modules/'.$m2.'/page/config.inc.php'))
  15.         {
  16.                 $module_information = WBModuleHandler::get_module_information($m2);
  17.                 $titel = $module_information->caption;
  18.  
  19.                 $i++;
  20.  
  21.                 if ($i == 0)
  22.                         echo '<center><table cellspacing="6" cellpadding="6" border="0"><tr>';
  23.  
  24.                 if (($i % 5 == 0) && ($i != 0))
  25.                         echo '</tr><tr>';
  26.  
  27.                 echo '<td valign="middle" align="center">';
  28.                 echo '<a href="'.$_SERVER['PHP_SELF'].'?seite=config&amp;modul='.$m2.'&amp;vonmodul='.$modul.'&amp;vonseite='.$seite.'" class="menu">';
  29.                 if (file_exists('modules/'.$m2.'/images/menu/32.gif'))
  30.                         echo '<img src="modules/'.$m2.'/images/menu/32.gif" border="0" width="32" height="32" alt="">';
  31.                 else if (file_exists('modules/'.$m2.'/images/menu/32.png'))
  32.                         echo '<img src="modules/'.$m2.'/images/menu/32.png" border="0" width="32" height="32" alt="">';
  33.                 else
  34.                         echo '<img src="designs/spacer.gif" border="0" width="32" height="32" alt="">';
  35.                 echo '<br>'.htmlentities($titel).'</a></td>';
  36.         }
  37. }
  38.  
  39. unset($m1);
  40. unset($m2);
  41.  
  42. if ($i > -1)
  43. {
  44.         $i++;
  45.         for (;$i%5<>0;$i++)
  46.         {
  47.                 echo '<td valign="middle" align="center"><img src="designs/spacer.gif" width="32" height="32" alt=""></td>';
  48.         }
  49.         echo '</tr></table><br></center>';
  50. }
  51. else
  52. {
  53.         echo 'Keine entsprechenden Module gefunden!<br><br>';
  54. }
  55.  
  56. echo $footer;
  57.  
  58. ?>