Ignore:
Timestamp:
Jun 24, 2012, 9:26:25 PM (12 years ago)
Author:
grum
Message:

feature:2664- compatibility with Piwigo 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/template/identification.tpl

    r12592 r16016  
    3131  {/if}
    3232
    33 {include file='dialogs.tpl'}
    34 
     33{include file='infos_errors.tpl'}
    3534
    3635<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties" id="identification">
    3736  <fieldset>
    3837    <legend>{'Connection settings'|@translate}</legend>
    39 
    40     <input type="hidden" name="redirect" value="{$U_REDIRECT}">
    4138
    4239    <ul>
     
    4542          <label for="username">{'Username'|@translate}</label>
    4643        </div>
    47         <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" />
     44        <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40">
    4845      </li>
    4946
     
    5249          <label for="password">{'Password'|@translate}</label>
    5350        </div>
    54         <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" />
     51        <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25">
    5552      </li>
    5653
     
    6663  </fieldset>
    6764
    68   <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p>
     65  <p>
     66    <input type="hidden" name="redirect" value="{$U_REDIRECT|@urlencode}">
     67    <input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
     68  </p>
    6969
    7070  <p>
    7171    {if isset($U_REGISTER) }
    72     <a id="icon_register2" class="button" href="{$U_REGISTER}" title="{'Register'|@translate}"></a>
     72    <a href="{$U_REGISTER}" title="{'Register'|@translate}" id="icon_register2" class="button"></a>
    7373    {/if}
    74     <a id="icon_lost_password2" class="button" href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"></a>
     74    {if isset($U_LOST_PASSWORD)}
     75    <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" id="icon_lost_password2" class="button"></a>
     76    {/if}
    7577  </p>
    7678
    7779</form>
    78 
    79 
    80 
    81 
    8280
    8381<script type="text/javascript"><!--
Note: See TracChangeset for help on using the changeset viewer.