Subversion Repositories personal-webbase

Rev

Rev 14 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14 Rev 15
Line 11... Line 11...
11
 
11
 
12
if ($modulueberschrift == '') $modulueberschrift = $modul;
12
if ($modulueberschrift == '') $modulueberschrift = $modul;
13
echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>';
13
echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>';
14
  echo 'Hier k&ouml;nnen Sie Konfigurationen an Personal WebBase-Modulen manuell vornehmen. Dies wird jedoch nicht empfohlen, da auch Fehlkonfigurationen mit ung&uuml;ltigen Werten angenommen werden.<br><br>';
14
  echo 'Hier k&ouml;nnen Sie Konfigurationen an Personal WebBase-Modulen manuell vornehmen. Dies wird jedoch nicht empfohlen, da auch Fehlkonfigurationen mit ung&uuml;ltigen Werten angenommen werden.<br><br>';
15
 
15
 
16
  gfx_begintable();
16
  wb_draw_table_begin();
17
  gfx_tablecontent('', '<b>Modul</b>', '', '<b>Eigenschaft</b>', '', '<b>Wert</b>', '', '<b>Aktionen</b>', '', '');
17
  wb_draw_table_content('', '<b>Modul</b>', '', '<b>Eigenschaft</b>', '', '<b>Wert</b>', '', '<b>Aktionen</b>', '', '');
18
  $res = db_query("SELECT `id`, `name`, `wert`, `modul` FROM `".$mysql_zugangsdaten['praefix']."konfig` ORDER BY `modul` ASC, `name` ASC");
18
  $res = db_query("SELECT `id`, `name`, `wert`, `modul` FROM `".$mysql_zugangsdaten['praefix']."konfig` ORDER BY `modul` ASC, `name` ASC");
19
  while ($row = db_fetch($res))
19
  while ($row = db_fetch($res))
20
  {
20
  {
21
    if (isset($only) && ($row['modul'] == $only))
21
    if (isset($only) && ($row['modul'] == $only))
22
    {
22
    {
Line 36... Line 36...
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='.urlencode($modul).'&amp;seite=edit&amp;id='.urlencode($row['id']).'" class="menu">'.$s1.'Bearbeiten'.$s2.'</a>', '', '<a href="javascript:abfrage(\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&amp;seite=kraftsetzung&amp;aktion=delete&amp;id='.urlencode($row['id']).'\');" class="menu">'.$s1.$x.$s2.'</a>');
41
    wb_draw_table_content('', $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).'&amp;seite=edit&amp;id='.urlencode($row['id']).'" class="menu">'.$s1.'Bearbeiten'.$s2.'</a>', '', '<a href="javascript:abfrage(\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&amp;seite=kraftsetzung&amp;aktion=delete&amp;id='.urlencode($row['id']).'\');" class="menu">'.$s1.$x.$s2.'</a>');
42
  }
42
  }
43
  gfx_endtable();
43
  wb_draw_table_end();
44
 
44
 
45
  echo '<input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($vonmodul).'&amp;seite='.urlencode($vonseite).'\';" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Zur&uuml;ck">';
45
  echo '<input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($vonmodul).'&amp;seite='.urlencode($vonseite).'\';" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Zur&uuml;ck">';
46
 
46
 
47
  echo $footer;
47
  echo $footer;
48
 
48