Rev 4 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 8 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | else |
26 | else |
27 | { |
27 | { |
28 | $s1 = ''; |
28 | $s1 = ''; |
29 | $s2 = ''; |
29 | $s2 = ''; |
30 | } |
30 | } |
31 | if (is_dir('modules/'.$row['modul'])) |
31 | if (is_dir('modules/'.wb_dir_escape($row['modul']))) |
32 | { |
32 | { |
33 | $z = ''; |
33 | $z = ''; |
34 | $x = 'Standard herstellen'; |
34 | $x = 'Standard herstellen'; |
35 | } |
35 | } |
36 | else |
36 | else |
37 | { |
37 | { |
38 | $z = ' (Nicht mehr installiert)'; |
38 | $z = ' (Nicht mehr installiert)'; |
39 | $x = 'Wert entfernen'; |
39 | $x = 'Wert entfernen'; |
40 | } |
40 | } |
41 | gfx_tablecontent('', $s1.my_htmlentities($row['modul']).$z.$s2, '', $s1.my_htmlentities($row['name']).$s2, '', $s1.my_htmlentities($row['wert']).$s2, '', '<a href="'.$_SERVER['PHP_SELF'].'?modul='.$modul.'&seite=edit&id='.$row['id'].'" class="menu">'.$s1.'Bearbeiten'.$s2.'</a>', '', '<a href="javascript:abfrage(\''.$_SERVER['PHP_SELF'].'?modul='.$modul.'&seite=kraftsetzung&aktion=delete&id='.$row['id'].'\');" class="menu">'.$s1.$x.$s2.'</a>'); |
41 | gfx_tablecontent('', $s1.my_htmlentities($row['modul']).$z.$s2, '', $s1.my_htmlentities($row['name']).$s2, '', $s1.my_htmlentities($row['wert']).$s2, '', '<a href="'.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&seite=edit&id='.urlencode($row['id']).'" class="menu">'.$s1.'Bearbeiten'.$s2.'</a>', '', '<a href="javascript:abfrage(\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&seite=kraftsetzung&aktion=delete&id='.urlencode($row['id']).'\');" class="menu">'.$s1.$x.$s2.'</a>'); |
42 | } |
42 | } |
43 | gfx_endtable(); |
43 | gfx_endtable(); |
44 | 44 | ||
45 | echo '<input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.$vonmodul.'&seite='.$vonseite.'\';" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Zurück">'; |
45 | echo '<input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($vonmodul).'&seite='.urlencode($vonseite).'\';" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Zurück">'; |
46 | 46 | ||
47 | echo $footer; |
47 | echo $footer; |
48 | 48 | ||
49 | ?> |
49 | ?> |