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 str_replace('<body', '<body onload="self.focus();document.getElementById(\'admin_mail\').focus();"', $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.  
  15.   echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform">
  16. <input type="hidden" name="seite" value="kraftsetzung">
  17. <input type="hidden" name="aktion" value="changekonfig">
  18. <input type="hidden" name="modul" value="'.$modul.'">
  19. <input type="hidden" name="vonseite" value="'.$vonseite.'">
  20. <input type="hidden" name="vonmodul" value="'.$vonmodul.'">'; ?>
  21.  
  22. <table cellpadding="0" cellspacing="0" border="0">
  23.   <tr>
  24.     <td>Update-Pr&uuml;funsinterval: </td>
  25.     <td><img src="design/spacer.gif" width="15" height="1" alt=""></td>
  26.     <td><input type="text" size="5" name="update_checkinterval_min" id="update_checkinterval_min" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $konfiguration[$modul]['update_checkinterval_min']; ?>"> Minuten</td>
  27.   </tr>
  28.   <tr>
  29.     <td>Pr&uuml;funsinterval bei kaputten Links: </td>
  30.     <td><img src="design/spacer.gif" width="15" height="1" alt=""></td>
  31.     <td><input type="text" size="5" name="kaputt_checkinterval_min" id="kaputt_checkinterval_min" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $konfiguration[$modul]['kaputt_checkinterval_min']; ?>"> Minuten</td>
  32.   </tr>
  33. </table><br>
  34.  
  35.   <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">
  36.   &nbsp;&nbsp;&nbsp;
  37.   <input type="submit" value="&Auml;ndern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';">
  38.  
  39.   </form>
  40.  
  41. <?php
  42.  
  43.       echo $footer;
  44.  
  45. ?>
  46.