Ignore:
Timestamp:
Feb 4, 2014, 7:12:43 PM (10 years ago)
Author:
Eric
Message:

Piwigo 2.6 compatibility:
Users management (users display, password renewal and unlocking accounts) recoded in plugin's admin panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Password_Policy/admin/template/PP_admin.tpl

    r25089 r27179  
    2828</div>
    2929
    30 <form method="post" action="" class="general">
     30<form method="post" class="general">
    3131<fieldset>
    3232  <ul>
     
    4040      </label>
    4141      <label for="PP_Password_Enforced_true"><input id="PP_Password_Enforced_true" type="radio" value="true" {$PP_PASSWORDENF_TRUE} name="PP_Password_Enforced"/>
    42         {'PP_Password_Enforced_true'|@translate}&nbsp;
     42        {'PP_Password_Enforced_true'|@translate}&nbsp;</label>
    4343        <input type="text" name="PP_Password_Score" value="{$PP_PASSWORD_SCORE}" size="5" style="text-align: center;"/>
    44       </label>
    45       <br />
     44      <br /><br />
    4645        {'PP_PasswordTest'|@translate}
    4746        <input class="cluetip" title="{'PP_passwtestTitle'|translate}|{'PP_passwtestTitle_d'|translate}" type="text" name="PP_Password_Test" value="{$PP_PASSWORD_TEST}" size="50" style="text-align: left;"/>
     
    4948        <input class="submit" type="submit" value="{'PP_PasswordTest'|@translate}" name="PasswordTest"/>
    5049        &nbsp;&nbsp;&nbsp;{'PP_ScoreTest'|@translate}{$PP_PASSWORD_TEST_SCORE}
    51       </li>
     50    </li>
    5251
    5352      <ul>
     
    6665      </ul>
    6766
    68       <li>
    69         <label class="cluetip" title="{'PP_PwdReset'|translate}|{'PP_PwdResetTitle_d'|translate}">
    70           {'PP_PwdReset'|@translate}
     67    <li>
     68      <label class="cluetip" title="{'PP_PwdReset'|translate}|{'PP_PwdResetTitle_d'|translate}">
     69        {'PP_PwdReset'|@translate}
     70      </label>
     71
     72      <label for="PP_PwdReset_false"><input id="PP_PwdReset_false" value="false" {$PP_PWDRESET_FALSE} name="PP_PwdReset" type="radio"/>
     73        {'PP_Disable'|@translate}
     74      </label>
     75      <label for="PP_PwdReset_true"><input id="PP_PwdReset_true" value="true" {$PP_PWDRESET_TRUE} name="PP_PwdReset" type="radio"/>
     76        {'PP_Enable'|@translate}
     77      </label>
     78    </li>
     79
     80    <li>
     81      <label class="cluetip" title="{'PP_LoginAttempts'|translate}|{'PP_LoginAttempts_d'|translate}">
     82        {'PP_LoginAttempts'|@translate}
     83      </label>
     84
     85      <label for="PP_LoginAttempts_false"><input id="PP_LoginAttempts_false" value="false" {$PP_LOGFAILEDPASSW_FALSE} name="PP_LogFailedPassw" type="radio"/>
     86        {'PP_Disable'|@translate}
     87      </label>
     88      <label for="PP_LoginAttempts_true"><input id="PP_LoginAttempts_true" value="true" {$PP_LOGFAILEDPASSW_TRUE} name="PP_LogFailedPassw" type="radio"/>
     89        {'PP_Enable'|@translate}
     90      </label>
     91    </li>
     92
     93    <ul>
     94      <li id="PP_USRLOCKEDTXT" {if $PP_LOGFAILEDPASSW_FALSE} style="display: none"{/if}>
     95        <label class="cluetip" title="{'PP_Max number of failed attempts'|translate}|{'PP_Max number of failed attempts_d'|translate}">
     96          {'PP_Max number of failed attempts'|@translate}&nbsp;&nbsp;<input type="text" name="PP_NbFailedPassw" value="{$PP_NBLOGFAIL}" size="5" style="text-align: center;"/>
    7197        </label>
    72 
    73         <label for="PP_PwdReset_false"><input id="PP_PwdReset_false" value="false" {$PP_PWDRESET_FALSE} name="PP_PwdReset" type="radio"/>
    74           {'PP_Disable'|@translate}
     98<br />
     99        <label class="cluetip" title="{'PP_UserLocked_Custom_Txt'|translate}|{'PP_UserLocked_Custom_Txt_d'|translate}">
     100          {'PP_UserLocked_Custom_Txt'|@translate}
    75101        </label>
    76         <label for="PP_PwdReset_true"><input id="PP_PwdReset_true" value="true" {$PP_PWDRESET_TRUE} name="PP_PwdReset" type="radio"/>
    77           {'PP_Enable'|@translate}
    78         </label>
    79       </li>
    80 
    81       <li>
    82         <label class="cluetip" title="{'PP_LoginAttempts'|translate}|{'PP_LoginAttempts_d'|translate}">
    83           {'PP_LoginAttempts'|@translate}
    84         </label>
    85 
    86         <label for="PP_LoginAttempts_false"><input id="PP_LoginAttempts_false" value="false" {$PP_LOGFAILEDPASSW_FALSE} name="PP_LogFailedPassw" type="radio"/>
    87           {'PP_Disable'|@translate}
    88         </label>
    89         <label for="PP_LoginAttempts_true"><input id="PP_LoginAttempts_true" value="true" {$PP_LOGFAILEDPASSW_TRUE} name="PP_LogFailedPassw" type="radio"/>
    90           {'PP_Enable'|@translate}
    91         </label>
    92       </li>
    93 
    94       <ul>
    95         <li id="PP_USRLOCKEDTXT" {if $PP_LOGFAILEDPASSW_FALSE} style="display: none"{/if}>
    96           <label class="cluetip" title="{'PP_Max number of failed attempts'|translate}|{'PP_Max number of failed attempts_d'|translate}">
    97             {'PP_Max number of failed attempts'|@translate}&nbsp;&nbsp;<input type="text" name="PP_NbFailedPassw" value="{$PP_NBLOGFAIL}" size="5" style="text-align: center;"/>
    98           </label>
    99 <br />
    100           <label class="cluetip" title="{'PP_UserLocked_Custom_Txt'|translate}|{'PP_UserLocked_Custom_Txt_d'|translate}">
    101             {'PP_UserLocked_Custom_Txt'|@translate}
    102           </label>
    103           <textarea class="pp_textfields" name="PP_CustomLockMsg" id="PP_CustomLockMsg" rows="10" {$TAG_INPUT_ENABLED}>{$PP_USRLOCKEDTXT}</textarea>
     102        <textarea class="pp_textfields" name="PP_CustomLockMsg" id="PP_CustomLockMsg" rows="10" {$TAG_INPUT_ENABLED}>{$PP_USRLOCKEDTXT}</textarea>
    104103          {if 'FCK_PATH'|@defined}
    105104            <div style="text-align:right;">
     
    107106            </div>
    108107          {/if}
    109         </li>
    110       </ul>
     108      </li>
    111109    </ul>
     110  </ul>
    112111
    113112  <p>
Note: See TracChangeset for help on using the changeset viewer.