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. if (function_exists('show_modul_search'))
  6.         echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'suchbegriff\').focus();"', $header);
  7. else
  8.         echo $header;
  9.  
  10.  
  11. echo '<h1>'.htmlentities($module_information->caption).'</h1>';
  12.  
  13. if (decoct(@fileperms('modules/'.$modul.'/system/temp/')) != 40777)
  14.         echo '<p><span class="red"><b>Die Funktionalit&auml;t dieses Modules k&ouml;nnte beeintr&auml;chtigt sein, da der Administrator folgendes Verzeichnis nicht schreibbar (CHMOD 0777) gemacht hat:</b><br>modules/'.$modul.'/system/temp/</span></p>';
  15.  
  16. if (function_exists('show_modul_search')) show_modul_search($modul, $seite);
  17.  
  18. wb_draw_table_begin();
  19.  
  20. // wb_draw_table_content('', '<b>Name</b>', '', '<b>Aktionen</b>', '', '', '', '');
  21. gfx_zeichneordner($modul, $WBConfig->getMySQLPrefix().'net2ftp', 'ORDER BY id');
  22. wb_draw_table_end();
  23. echo '<a href="'.$_SERVER['PHP_SELF'].'?seite=edit&amp;modul='.$modul.'&amp;aktion=new">Einen neues Konto hinzuf&uuml;gen</a>';
  24. echo '<br><a href="'.$_SERVER['PHP_SELF'].'?seite=edit&amp;modul=user_folders&amp;aktion=new&amp;category='.$modul.'">Einen neuen Ordner hinzuf&uuml;gen</a>';
  25.  
  26. echo '<br><br>Es wird folgende Websoftware verwendet: ';
  27. if (file_exists('modules/'.$modul.'/system/_wbver.inc.php'))
  28. {
  29.         include('modules/'.$modul.'/system/_wbver.inc.php');
  30. }
  31. else
  32. {
  33.         echo '<span class="red">modules/'.$modul.'/system/_wbver.inc.php wurde nicht gefunden!</span>';
  34. }
  35. echo '<br><br>';
  36.  
  37. echo $footer;
  38.  
  39. ?>