Rev 14 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14 | Rev 15 | ||
---|---|---|---|
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
4 | 4 | ||
5 | if (function_exists('show_modul_search')) |
5 | if (function_exists('show_modul_search')) |
6 | echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'suchbegriff\').focus();"', $header); |
6 | echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'suchbegriff\').focus();"', $header); |
7 | else |
7 | else |
8 | echo $header; |
8 | echo $header; |
9 | 9 | ||
10 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
10 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
11 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
11 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
12 | if (function_exists('show_modul_search')) show_modul_search($modul, $seite); |
12 | if (function_exists('show_modul_search')) show_modul_search($modul, $seite); |
13 | gfx_begintable(); |
13 | wb_draw_table_begin(); |
14 | 14 | ||
15 | // gfx_tablecontent('', '<b>Name</b>', '', '<b>Aktionen</b>', '', '', '', ''); |
15 | // wb_draw_table_content('', '<b>Name</b>', '', '<b>Aktionen</b>', '', '', '', ''); |
16 | gfx_zeichneordner($modul, $mysql_zugangsdaten['praefix'].'phpmyadmin', 'ORDER BY id'); |
16 | gfx_zeichneordner($modul, $mysql_zugangsdaten['praefix'].'phpmyadmin', 'ORDER BY id'); |
17 | gfx_endtable(); |
17 | wb_draw_table_end(); |
18 | echo '<a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul='.urlencode($modul).'&aktion=new">Einen neuen Server hinzufügen</a>'; |
18 | echo '<a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul='.urlencode($modul).'&aktion=new">Einen neuen Server hinzufügen</a>'; |
19 | echo '<br><a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul=user_ordner&aktion=new&kategorie='.urlencode($modul).'">Einen neuen Ordner hinzufügen</a>'; |
19 | echo '<br><a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul=user_ordner&aktion=new&kategorie='.urlencode($modul).'">Einen neuen Ordner hinzufügen</a>'; |
20 | 20 | ||
21 | echo '<br><br>Es wird folgende Websoftware verwendet: '; |
21 | echo '<br><br>Es wird folgende Websoftware verwendet: '; |
22 | if (file_exists('modules/'.wb_dir_escape($modul).'/system/ver.html')) |
22 | if (file_exists('modules/'.wb_dir_escape($modul).'/system/ver.html')) |
23 | { |
23 | { |
24 | $handle = @fopen('modules/'.wb_dir_escape($modul).'/system/ver.html', 'r'); |
24 | $handle = @fopen('modules/'.wb_dir_escape($modul).'/system/ver.html', 'r'); |
25 | $buffer = ''; |
25 | $buffer = ''; |
26 | while (!@feof($handle)) |
26 | while (!@feof($handle)) |
27 | { |
27 | { |
28 | $buffer .= @fgets($handle, 4096); |
28 | $buffer .= @fgets($handle, 4096); |
29 | } |
29 | } |
30 | echo $buffer; |
30 | echo $buffer; |
31 | @fclose($handle); |
31 | @fclose($handle); |
32 | } |
32 | } |
33 | else |
33 | else |
34 | { |
34 | { |
35 | echo '<font color="#FF0000">modules/'.wb_dir_escape($modul).'/system/ver.html wurde nicht gefunden!</font>'; |
35 | echo '<font color="#FF0000">modules/'.wb_dir_escape($modul).'/system/ver.html wurde nicht gefunden!</font>'; |
36 | } |
36 | } |
37 | echo '<br><br>'; |
37 | echo '<br><br>'; |
38 | 38 | ||
39 | echo $footer; |
39 | echo $footer; |
40 | 40 | ||
41 | ?> |
41 | ?> |
42 | 42 |