Subversion Repositories personal-webbase

Rev

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

  1. <?php
  2.  
  3. if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
  4.  
  5. if ($wb_user_type < 2) die('Keine Zugriffsberechtigung');
  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 die Schnellanmeldung konfigurieren.<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]['enabled'])
  24.   $zus = ' checked';
  25. else
  26.   $zus = '';
  27.  
  28.  ?>
  29.  
  30. <table cellpadding="0" cellspacing="0" border="0">
  31.   <tr>
  32.     <td>Schnellanmeldung aktivieren:</td>
  33.     <td><img src="design/spacer.gif" width="15" height="1" alt=""></td>
  34.     <td><input type="checkbox" name="sa_enabled" value="1"<?php echo $zus; ?>></td>
  35.   </tr>
  36. </table><br>
  37.  
  38.   <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">
  39.   &nbsp;&nbsp;&nbsp;
  40.   <input type="submit" value="&Auml;ndern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';">
  41.  
  42.   </form>
  43.  
  44.   <script language="JavaScript" type="text/javascript">
  45.   <!--
  46.     document.mainform.sa_enabled.focus();
  47.   // -->
  48. </script><?php
  49.  
  50. echo $footer;
  51.  
  52. ?>
  53.