plugins/admin/UserManager.php
changeset 362 02d315d1cc58
parent 359 e0787bb6285b
child 430 ec90736b9cb9
equal deleted inserted replaced
360:fad9bb5c094b 362:02d315d1cc58
   900                             <b>{lang:acpum_field_password_title}</b>
   900                             <b>{lang:acpum_field_password_title}</b>
   901                           </td>
   901                           </td>
   902                         </tr>
   902                         </tr>
   903                         <tr>
   903                         <tr>
   904                           <td>{lang:acpum_field_newpassword}</td>
   904                           <td>{lang:acpum_field_newpassword}</td>
   905                           <!-- FIXME: localize password strength widget -->
   905                           <td><input type="password" name="new_password" value="" <!-- BEGIN password_meter -->onkeyup="password_score_field(this);" /><span class="password-checker" style="font-weight: bold; color: #A0A0A0"> Waiting for l10n init</span><!-- BEGINELSE password_meter --> /><!-- END password_meter -->
   906                           <td><input type="password" name="new_password" value="" <!-- BEGIN password_meter -->onkeyup="password_score_field(this);" /><span class="password-checker" style="font-weight: bold; color: #AA0000"> Weak (score: -10)</span><!-- BEGINELSE password_meter --> /><!-- END password_meter -->
       
   907                             <!-- BEGIN password_meter -->
   906                             <!-- BEGIN password_meter -->
   908                               <div id="pwmeter" style="margin: 4px 0; height: 8px;"></div>
   907                               <div id="pwmeter" style="margin: 4px 0; height: 8px;"></div>
   909                             <!-- END password_meter -->
   908                             <!-- END password_meter -->
   910                           </td>
   909                           </td>
   911                         </tr>
   910                         </tr>
  1139             
  1138             
  1140             </table>
  1139             </table>
  1141           </div>
  1140           </div>
  1142         
  1141         
  1143         </form>
  1142         </form>
       
  1143         
       
  1144         <script type="text/javascript">
       
  1145         password_score_field(document.forms['useredit_{UUID}'].new_password);
       
  1146         </script>
       
  1147         
  1144         {AES_JAVASCRIPT}
  1148         {AES_JAVASCRIPT}
  1145       <!-- Conclusion of user edit form -->
  1149       <!-- Conclusion of user edit form -->
  1146 EOF;
  1150 EOF;
  1147       $parser = $template->makeParserText($tpl_code);
  1151       $parser = $template->makeParserText($tpl_code);
  1148     }
  1152     }