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/menubar_identification.tpl

    r12592 r16016  
    22<dt>{'Identification'|@translate}</dt>
    33<dd>
     4{strip}
    45  {if isset($USERNAME)}
    5   <p>{'Hello'|@translate}&nbsp;{$USERNAME}&nbsp;!</p>
     6  <p>{'Hello'|@translate} {$USERNAME} !</p>
    67  {/if}
    7 
    88  <ul>
    99  {if isset($U_REGISTER)}
    1010  <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
    1111  {/if}
    12 
    1312  {if isset($U_LOGIN)}
    1413  <li><a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a></li>
    1514  {/if}
    16 
    1715  {if isset($U_LOGOUT)}
    1816  <li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li>
    1917  {/if}
    20 
    2118  {if isset($U_PROFILE)}
    2219  <li><a href="{$U_PROFILE}" title="{'customize the appareance of the gallery'|@translate}">{'Customize'|@translate}</a></li>
    2320  {/if}
    24 
    2521  {if isset($U_ADMIN)}
    2622  <li><a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@translate}</a></li>
    2723  {/if}
    2824  </ul>
    29 
     25{/strip}
    3026  {if isset($U_LOGIN)}
     27{strip}
    3128  <form method="post" action="{$U_LOGIN}" id="quickconnect">
    3229  <fieldset>
    3330  <legend>{'Quick connect'|@translate}</legend>
    3431  <div>
    35   <label for="username">{'Username'|@translate}</label><br/>
     32  <label for="username">{'Username'|@translate}</label><br>
    3633  <input type="text" name="username" id="username" value="" style="width:90%">
    3734  </div>
    3835
    39   <div><label for="password">{'Password'|@translate}</label>
    40   <br/>
     36  <div><label for="password">{'Password'|@translate}</label><br>
    4137  <input type="password" name="password" id="password" style="width:90%">
    4238  </div>
    4339
    4440  {if $AUTHORIZE_REMEMBERING}
    45   <div><label for="remember_me">
    46   {'Auto login'|@translate}
     41  <div><label for="remember_me"> {'Auto login'|@translate}
    4742  <input type="checkbox" name="remember_me" id="remember_me" value="1">
    4843  </label></div>
     
    5045
    5146  <div id='iValid'>
    52   <input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
     47  <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
     48  <input type="submit" name="login" value="{'Submit'|@translate}" class="submit">
    5349  <ul class="actions">
    5450    <li><a id="icon_lost_password3" class="button sTipOnBottom" href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"></a></li>
     
    6157  </fieldset>
    6258  </form>
     59{/strip}
    6360  {/if}
    6461</dd>
    65 
Note: See TracChangeset for help on using the changeset viewer.