Subversion Repositories personal-webbase

Rev

Rev 12 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
12 daniel-mar 1
<?php
2
 
14 daniel-mar 3
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
12 daniel-mar 4
 
14 daniel-mar 5
if ($wb_user_type < 2) die('Keine Zugriffsberechtigung');
12 daniel-mar 6
 
7
  echo $header;
8
 
9
    if (!isset($vonmodul)) $vonmodul = $modul;
10
  if (!isset($vonseite)) $vonseite = 'inhalt';
11
 
12
if ($modulueberschrift == '') $modulueberschrift = $modul;
13
echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>';
14
    echo 'Hier k&ouml;nnen Sie Konfigurationen des Modules vornehmen.<br><br>';
15
 
16
  echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform">
17
<input type="hidden" name="seite" value="kraftsetzung">
18
<input type="hidden" name="aktion" value="changekonfig">
19
<input type="hidden" name="modul" value="'.$modul.'">
20
<input type="hidden" name="vonseite" value="'.$vonseite.'">
21
<input type="hidden" name="vonmodul" value="'.$vonmodul.'">';
22
 
23
if ($konfiguration[$modul]['enable_userreg'] == '1')
24
  $zus = 'checked';
25
else
26
  $zus = '';
27
 
28
?>
29
 
30
<input type="checkbox" name="allowuserreg" value="1"<?php echo $zus; ?>> Benutzerregistrierung zulassen<br><br>
31
 
32
Sperrdauer nach Registrierung: <input type="text" name="sperrdauer" value="<?php echo $konfiguration[$modul]['sperrdauer']; ?>" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" size="5"> Minuten<br><br>
33
 
34
  <input type="button" onclick="document.location.href='<?PHP echo $_SERVER['PHP_SELF']; ?>?modul=<?php echo $vonmodul; ?>&amp;seite=<?php echo $vonseite; ?>';" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';" value="Zur&uuml;ck">
35
  &nbsp;&nbsp;&nbsp;
36
  <input type="submit" value="&Auml;ndern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';">
37
 
38
  </form>
39
 
40
<?php
41
 
42
      echo $footer;
43
 
44
?>