Ignore:
Timestamp:
Sep 26, 2011, 10:26:09 PM (13 years ago)
Author:
Eric
Message:
  • Bug 2437 fixed - New feature : Request password renewal for selected users in Piwigo's users management panel.
  • Language files updates.
  • obsolete.list file creation to clean old help directories in languages.
  • Perform database upgrade.
Location:
extensions/UserAdvManager/trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/admin/UAM_admin.php

    r12205 r12239  
    109109  case 'global':
    110110
    111         if (isset($_POST['submit']) and isset($_POST['UAM_Mail_Info']) and isset($_POST['UAM_Username_Char']) and isset($_POST['UAM_Confirm_Mail']) and isset($_POST['UAM_Password_Enforced']) and isset($_POST['UAM_AdminPassword_Enforced']) and isset($_POST['UAM_GhostUser_Tracker']) and isset($_POST['UAM_Admin_ConfMail']) and isset($_POST['UAM_RedirToProfile']) and isset($_POST['UAM_GTAuto']) and isset($_POST['UAM_GTAutoMail']) and isset($_POST['UAM_CustomPasswRetr']) and isset($_POST['UAM_USRAuto']) and isset($_POST['UAM_USRAutoMail']) and isset($_POST['UAM_Stuffs']) and isset($_POST['UAM_HidePassw']))
     111        if (isset($_POST['submit']) and isset($_POST['UAM_Mail_Info']) and isset($_POST['UAM_Username_Char']) and isset($_POST['UAM_Confirm_Mail']) and isset($_POST['UAM_Password_Enforced']) and isset($_POST['UAM_AdminPassword_Enforced']) and isset($_POST['UAM_GhostUser_Tracker']) and isset($_POST['UAM_Admin_ConfMail']) and isset($_POST['UAM_RedirToProfile']) and isset($_POST['UAM_GTAuto']) and isset($_POST['UAM_GTAutoMail']) and isset($_POST['UAM_CustomPasswRetr']) and isset($_POST['UAM_USRAuto']) and isset($_POST['UAM_USRAutoMail']) and isset($_POST['UAM_Stuffs']) and isset($_POST['UAM_HidePassw']) and isset($_POST['UAM_PwdReset']))
    112112  {
    113113
     
    194194      (isset($_POST['UAM_Valid_Level'])?$_POST['UAM_Valid_Level']:''),
    195195      (isset($_POST['UAM_Downgrade_Level'])?$_POST['UAM_Downgrade_Level']:''),
     196      $_POST['UAM_PwdReset'],
    196197      );
    197198
     
    243244    $dump_download = (isset($_POST['dump_download'])) ? 'true' : 'false';
    244245   
    245     if(uam_dump($dump_download) and $dump_download == 'false')
     246    if(UAM_dump($dump_download) and $dump_download == 'false')
    246247    {
    247248      array_push($page['infos'], l10n('UAM_Dump_OK'));
     
    524525                'UAM_VALID_LEVEL'                => $conf_UAM[36],
    525526    'UAM_DOWNGRADE_LEVEL'            => $conf_UAM[37],
     527    'UAM_PWDRESET_TRUE'              => $conf_UAM[38]=='true' ?  'checked="checked"' : '' ,
     528    'UAM_PWDRESET_FALSE'             => $conf_UAM[38]=='false' ?  'checked="checked"' : '' ,
    526529                'UAM_PASSWORD_TEST_SCORE'        => $UAM_Password_Test_Score,
    527530    'UAM_ERROR_REPORTS1'             => $UAM_Exclusionlist_Error,
  • extensions/UserAdvManager/trunk/admin/template/global.tpl

    r12189 r12239  
    745745            <br><br>
    746746            </li>
     747
     748            <li>
     749              <label class="cluetip" title="{'UAM_PwdResetTitle'|translate}|{'UAM_PwdResetTitle_d'|translate}">
     750                {'UAM_PwdReset'|@translate}
     751              </label>
     752            <br><br>
     753              <input type="radio" value="false" {$UAM_PWDRESET_FALSE} name="UAM_PwdReset">
     754                {'UAM_Disable'|@translate}
     755            <br>
     756              <input type="radio" value="true" {$UAM_PWDRESET_TRUE} name="UAM_PwdReset">
     757                {'UAM_Enable'|@translate}
     758            <br><br>
     759            </li>
    747760          </ul>
    748761        </fieldset>
Note: See TracChangeset for help on using the changeset viewer.