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 | 12 | ||
13 | if (decoct(@fileperms('modules/'.wb_dir_escape($modul).'/system/temp/')) != 40777) |
13 | if (decoct(@fileperms('modules/'.wb_dir_escape($modul).'/system/temp/')) != 40777) |
14 | echo '<font color="#FF0000"><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/'.wb_dir_escape($modul).'/system/temp/</font><br><br>'; |
14 | echo '<font color="#FF0000"><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/'.wb_dir_escape($modul).'/system/temp/</font><br><br>'; |
15 | 15 | ||
16 | if (function_exists('show_modul_search')) show_modul_search($modul, $seite); |
16 | if (function_exists('show_modul_search')) show_modul_search($modul, $seite); |
17 | 17 | ||
18 | gfx_begintable(); |
18 | wb_draw_table_begin(); |
19 | 19 | ||
20 | // gfx_tablecontent('', '<b>Name</b>', '', '<b>Aktionen</b>', '', '', '', ''); |
20 | // wb_draw_table_content('', '<b>Name</b>', '', '<b>Aktionen</b>', '', '', '', ''); |
21 | gfx_zeichneordner($modul, $mysql_zugangsdaten['praefix'].'net2ftp', 'ORDER BY id'); |
21 | gfx_zeichneordner($modul, $mysql_zugangsdaten['praefix'].'net2ftp', 'ORDER BY id'); |
22 | gfx_endtable(); |
22 | wb_draw_table_end(); |
23 | echo '<a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul='.urlencode($modul).'&aktion=new">Einen neues Konto hinzufügen</a>'; |
23 | echo '<a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul='.urlencode($modul).'&aktion=new">Einen neues Konto hinzufügen</a>'; |
24 | echo '<br><a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul=user_ordner&aktion=new&kategorie='.urlencode($modul).'">Einen neuen Ordner hinzufügen</a>'; |
24 | echo '<br><a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul=user_ordner&aktion=new&kategorie='.urlencode($modul).'">Einen neuen Ordner hinzufügen</a>'; |
25 | 25 | ||
26 | echo '<br><br>Es wird folgende Websoftware verwendet: '; |
26 | echo '<br><br>Es wird folgende Websoftware verwendet: '; |
27 | if (file_exists('modules/'.wb_dir_escape($modul).'/system/ver.html')) |
27 | if (file_exists('modules/'.wb_dir_escape($modul).'/system/ver.html')) |
28 | { |
28 | { |
29 | $handle = @fopen('modules/'.wb_dir_escape($modul).'/system/ver.html', 'r'); |
29 | $handle = @fopen('modules/'.wb_dir_escape($modul).'/system/ver.html', 'r'); |
30 | $buffer = ''; |
30 | $buffer = ''; |
31 | while (!@feof($handle)) |
31 | while (!@feof($handle)) |
32 | { |
32 | { |
33 | $buffer .= @fgets($handle, 4096); |
33 | $buffer .= @fgets($handle, 4096); |
34 | } |
34 | } |
35 | echo $buffer; |
35 | echo $buffer; |
36 | @fclose($handle); |
36 | @fclose($handle); |
37 | } |
37 | } |
38 | else |
38 | else |
39 | { |
39 | { |
40 | echo '<font color="#FF0000">modules/'.wb_dir_escape($modul).'/system/ver.html wurde nicht gefunden!</font>'; |
40 | echo '<font color="#FF0000">modules/'.wb_dir_escape($modul).'/system/ver.html wurde nicht gefunden!</font>'; |
41 | } |
41 | } |
42 | echo '<br><br>'; |
42 | echo '<br><br>'; |
43 | 43 | ||
44 | echo $footer; |
44 | echo $footer; |
45 | 45 | ||
46 | ?> |
46 | ?> |
47 | 47 |