plugins/SpecialAdmin.php
changeset 1170 71cb87b7dc3f
parent 1126 e2addf0bd2f4
child 1175 1e2c9819ede3
equal deleted inserted replaced
1169:d5474f54a525 1170:71cb87b7dc3f
   669         <td class="row1">
   669         <td class="row1">
   670           <b><?php echo $lang->get('acpgc_field_passminimum_title'); ?></b><br />
   670           <b><?php echo $lang->get('acpgc_field_passminimum_title'); ?></b><br />
   671           <small><?php echo $lang->get('acpgc_field_passminimum_hint'); ?></small>
   671           <small><?php echo $lang->get('acpgc_field_passminimum_hint'); ?></small>
   672         </td>
   672         </td>
   673         <td class="row1">
   673         <td class="row1">
   674           <input type="text" name="pw_strength_minimum" value="<?php echo ( $x = getConfig('pw_strength_minimum') ) ? $x : '-10'; ?>" />
   674           <input type="text" name="pw_strength_minimum" value="<?php echo strval(getConfig('pw_strength_minimum', -10)); ?>" />
   675         </td>
   675         </td>
   676       </tr>
   676       </tr>
   677       
   677       
   678     <!-- E-mail options -->
   678     <!-- E-mail options -->
   679     
   679     
  2079     $output->header();
  2079     $output->header();
  2080     
  2080     
  2081     echo $lang->get('adm_page_tagline');
  2081     echo $lang->get('adm_page_tagline');
  2082     ?>
  2082     ?>
  2083     <script type="text/javascript">
  2083     <script type="text/javascript">
  2084     function ajaxPage(t)
  2084     function ajaxPage(t, qs)
  2085     {
  2085     {
  2086       if ( KILL_SWITCH )
  2086       if ( KILL_SWITCH )
  2087       {
  2087       {
  2088         document.getElementById('ajaxPageContainer').innerHTML = '<div class="error-box">Because of the lack of AJAX support, support for Internet Explorer versions less than 6.0 has been disabled in Runt. You can download and use Mozilla Firefox (or Seamonkey under Windows 95); both have an up-to-date standards-compliant rendering engine that has been tested thoroughly with Enano.</div>';
  2088         document.getElementById('ajaxPageContainer').innerHTML = '<div class="error-box">Because of the lack of AJAX support, support for Internet Explorer versions less than 6.0 has been disabled in Runt. You can download and use Mozilla Firefox (or Seamonkey under Windows 95); both have an up-to-date standards-compliant rendering engine that has been tested thoroughly with Enano.</div>';
  2089         return false;
  2089         return false;
  2132               }
  2132               }
  2133             ]
  2133             ]
  2134           });
  2134           });
  2135         return;
  2135         return;
  2136       }
  2136       }
  2137       ajaxPageBin(t);
  2137       ajaxPageBin(t, qs);
  2138     }
  2138     }
  2139     function ajaxPageBin(t)
  2139     function ajaxPageBin(t, qs)
  2140     {
  2140     {
  2141       if ( KILL_SWITCH )
  2141       if ( KILL_SWITCH )
  2142       {
  2142       {
  2143         document.getElementById('ajaxPageContainer').innerHTML = '<div class="error-box">Because of the lack of AJAX support, support for Internet Explorer versions less than 6.0 has been disabled in Runt. You can download and use Mozilla Firefox (or Seamonkey under Windows 95); both have an up-to-date standards-compliant rendering engine that has been tested thoroughly with Enano.</div>';
  2143         document.getElementById('ajaxPageContainer').innerHTML = '<div class="error-box">Because of the lack of AJAX support, support for Internet Explorer versions less than 6.0 has been disabled in Runt. You can download and use Mozilla Firefox (or Seamonkey under Windows 95); both have an up-to-date standards-compliant rendering engine that has been tested thoroughly with Enano.</div>';
  2144         return false;
  2144         return false;
  2145       }
  2145       }
  2146       document.getElementById('ajaxPageContainer').innerHTML = '<div class="wait-box">Loading page...</div>';
  2146       document.getElementById('ajaxPageContainer').innerHTML = '<div class="wait-box">Loading page...</div>';
  2147       ajaxGet('<?php echo scriptPath; ?>/ajax.php?title='+t+'&_mode=getpage&noheaders&auth=' + ENANO_SID, function(ajax) {
  2147       qs = qs ? '&' + qs : '';
  2148           if ( ajax.readyState == 4 && ajax.status == 200 ) {
  2148       ajaxGet(makeUrl(t, 'noheaders' + qs), function(ajax)
       
  2149         {
       
  2150           if ( ajax.readyState == 4 && ajax.status == 200 )
       
  2151           {
  2149             var response = String(ajax.responseText + '');
  2152             var response = String(ajax.responseText + '');
  2150             if ( check_json_response(response) )
  2153             if ( check_json_response(response) )
  2151             {
  2154             {
  2152               response = parseJSON(response);
  2155               response = parseJSON(response);
  2153               if ( response.mode == 'error' )
  2156               if ( response.mode == 'error' )