Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | daniel-mar | 1 | <?php |
2 | |||
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgefü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 | echo '<span class="red"><b>Achtung! Dieses Modul ist noch nicht vollständig fertiggestellt und kann während der Beta-Phase noch Fehler ausweisen.</b></span><br>'; |
||
14 | |||
15 | if (decoct(@fileperms('modules/'.$modul.'/system/tmp/')) != 40777) |
||
16 | echo '<p><span class="red"><b>Die Funktionalität dieses Modules könnte beeinträchtigt sein, da der Administrator folgendes Verzeichnis nicht schreibbar (CHMOD 0777) gemacht hat:</b><br>modules/'.$modul.'/system/tmp/</span></p>'; |
||
17 | |||
18 | if (function_exists('show_modul_search')) show_modul_search($modul, $seite); |
||
19 | |||
20 | wb_draw_table_begin(); |
||
21 | |||
22 | // wb_draw_table_content('', '<b>Name</b>', '', '<b>Aktionen</b>', '', '', '', ''); |
||
23 | gfx_zeichneordner($modul, $WBConfig->getMySQLPrefix().'popper_konten', 'ORDER BY `name`'); |
||
24 | wb_draw_table_end(); |
||
25 | echo '<a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul='.$modul.'&aktion=new">Neues Postfach hinzufügen</a>'; |
||
26 | echo '<br><a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul=user_folders&aktion=new&category='.$modul.'">Einen neuen Ordner hinzufügen</a>'; |
||
27 | |||
28 | echo '<br><br>Es wird folgende Websoftware verwendet: '; |
||
29 | if (file_exists('modules/'.$modul.'/system/_wbver.inc.php')) |
||
30 | { |
||
31 | include('modules/'.$modul.'/system/_wbver.inc.php'); |
||
32 | } |
||
33 | else |
||
34 | { |
||
35 | echo '<span class="red">modules/'.$modul.'/system/_wbver.inc.php wurde nicht gefunden!</span>'; |
||
36 | } |
||
37 | echo '<br><br>'; |
||
38 | |||
39 | echo $footer; |
||
40 | |||
41 | ?> |