Changeset 541 for trunk/template


Ignore:
Timestamp:
Oct 3, 2004, 1:12:50 AM (20 years ago)
Author:
z0rglub
Message:
  • deletion of session_time and session_id_size as config parameter
  • new feature : "remember me" creates a long time cookie
  • possibility to set the default authentication method to URI or cookie
  • really technical parameters (session identifier size, session duration) are set in the config file and not in database + configuration.php
Location:
trunk/template/default
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/default/admin/configuration.tpl

    r534 r541  
    150150  </tr>
    151151    <tr>
    152     <td width="70%"><strong>{session.L_CONF_COOKIE}&nbsp;:</strong><br /><span class="small">{session.L_CONF_COOKIE_INFO}</span></td>
    153         <td class="row1"><input type="radio" class="radio" name="authorize_cookies" value="true" {session.COOKIE_YES} />{L_YES}&nbsp;&nbsp;
    154         <input type="radio" class="radio" name="authorize_cookies" value="false" {session.COOKIE_NO} />{L_NO}</td>
    155   </tr>
    156   <tr>
    157     <td><strong>{session.L_SESSION_LENGTH}&nbsp;:</strong><br /><span class="small">{session.L_SESSION_LENGTH_INFO}</span></td>
    158         <td class="row1"><input type="text" size="4" maxlength="6" name="session_time" value="{session.SESSION_LENGTH}" /></td>
    159   </tr>
    160     <tr>
    161     <td><strong>{session.L_SESSION_ID_SIZE}&nbsp;:</strong><br /><span class="small">{session.L_SESSION_ID_SIZE_INFO}</span></td>
    162         <td class="row1"><input type="text" size="2" maxlength="3" name="session_id_size" value="{session.SESSION_ID_SIZE}" /></td>
     152    <td width="70%"><strong>{session.L_CONF_AUTH_METHOD}&nbsp;:</strong><br /><span class="small">{session.L_CONF_AUTH_METHOD_INFO}</span></td>
     153        <td class="row1"><input type="radio" class="radio" name="auth_method" value="URI" {session.AUTH_METHOD_URI} />{L_URI}&nbsp;&nbsp;
     154        <input type="radio" class="radio" name="auth_method" value="cookie" {session.AUTH_METHOD_COOKIE} />{L_COOKIE}</td>
     155  </tr>
     156    <tr>
     157    <td width="70%"><strong>{session.L_CONF_AUTHORIZE_REMEMBERING}&nbsp;:</strong><br /><span class="small">{session.L_CONF_AUTHORIZE_REMEMBERING_INFO}</span></td>
     158        <td class="row1"><input type="radio" class="radio" name="authorize_remembering" value="true" {session.AUTHORIZE_REMEMBERING_YES} />{L_YES}&nbsp;&nbsp;
     159        <input type="radio" class="radio" name="authorize_remembering" value="false" {session.AUTHORIZE_REMEMBERING_NO} />{L_NO}</td>
    163160  </tr>
    164161<!-- END session -->
  • trunk/template/default/category.tpl

    r539 r541  
    4242                {L_PASSWORD}<br />
    4343                <input type="password" name="password" size="15"><br />
     44                <input type="checkbox" name="remember_me" value="1" /> {L_REMEMBER_ME}<br />
    4445                <input type="submit" name="login" value="{L_SUBMIT}" class="bouton" />
    4546                </form>
  • trunk/template/default/identification.tpl

    r393 r541  
    3131        </td>
    3232  </tr>
     33  <tr>
     34        <td align="right"><span class="gentbl">{L_REMEMBER_ME}:</span></td>
     35        <td>
     36          <input type="checkbox" name="remember_me" value="1" />
     37        </td>
     38  </tr>
    3339  <tr align="center">
    3440        <td colspan="2"><input type="submit" name="login" value="{L_LOGIN}" class="bouton" /></td>
Note: See TracChangeset for help on using the changeset viewer.