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 (function_exists('show_modul_search')) show_modul_search($modul, $seite); |
13 | if (function_exists('show_modul_search')) show_modul_search($modul, $seite); |
14 | 14 | ||
15 | gfx_begintable(); |
15 | wb_draw_table_begin(); |
16 | 16 | ||
17 | // gfx_tablecontent('', '<b>Name</b>', '', '<b>Aktionen</b>', '', '', '', ''); |
17 | // wb_draw_table_content('', '<b>Name</b>', '', '<b>Aktionen</b>', '', '', '', ''); |
18 | gfx_zeichneordner($modul, $mysql_zugangsdaten['praefix'].'kontakte', 'ORDER BY `name`'); |
18 | gfx_zeichneordner($modul, $mysql_zugangsdaten['praefix'].'kontakte', 'ORDER BY `name`'); |
19 | gfx_endtable(); |
19 | wb_draw_table_end(); |
20 | echo '<a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul='.urlencode($modul).'&aktion=new">Neuen Kontakt hinzufügen</a>'; |
20 | echo '<a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul='.urlencode($modul).'&aktion=new">Neuen Kontakt hinzufügen</a>'; |
21 | echo '<br><a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul=user_ordner&aktion=new&kategorie='.urlencode($modul).'">Einen neuen Ordner hinzufügen</a>'; |
21 | echo '<br><a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul=user_ordner&aktion=new&kategorie='.urlencode($modul).'">Einen neuen Ordner hinzufügen</a>'; |
22 | 22 | ||
23 | echo $footer; |
23 | echo $footer; |
24 | 24 | ||
25 | ?> |
25 | ?> |
26 | 26 |