Changeset 23642


Ignore:
Timestamp:
Jun 28, 2013, 9:39:31 PM (11 years ago)
Author:
flop25
Message:

bug:2918
Display a link for the fist and last page on picture.tpl, to go to the album
3 lang keys added

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/language/en_UK/common.lang.php

    r23496 r23642  
    185185$lang['Filter'] = "Filter";
    186186$lang['First'] = "First";
     187$lang['First Page'] = 'First page';
    187188$lang['Forbidden'] = 'Forbidden';
    188189$lang['Forgot your password?'] = 'Forgot your password?';
    189190$lang['from %s to %s'] = "from %s to %s";
     191$lang['Go back to the album'] = "Go back to the album";
    190192$lang['Go through the gallery as a visitor'] = "Navigate the gallery as a visitor";
    191193$lang['group by letters'] = "group by letters";
     
    218220$lang['last %d days'] = "last %d days";
    219221$lang['Last'] = "Last";
     222$lang['Last Page'] = "Last page";
    220223$lang['letters'] = "letters";
    221224$lang['Links'] = "Links";
  • trunk/language/fr_FR/common.lang.php

    r23496 r23642  
    174174$lang['Filter'] = 'Filtre';
    175175$lang['First'] = 'Première';
     176$lang['First Page'] = 'Première page';
    176177$lang['Forgot your password?'] = 'Mot de passe oublié ?';
    177178$lang['from %s to %s'] = 'du %s au %s';
     179$lang['Go back to the album'] = "Retourner à l'album";
    178180$lang['Go through the gallery as a visitor'] = 'Parcourir la galerie en tant que visiteur';
    179181$lang['group by letters'] = 'regrouper par lettres';
     
    203205$lang['last %d days'] = '%d derniers jours';
    204206$lang['Last'] = 'Dernière';
     207$lang['Last Page'] = "Dernière page";
    205208$lang['letters'] = 'lettres';
    206209$lang['Links'] = 'Liens';
  • trunk/themes/default/template/picture.tpl

    r23490 r23642  
    133133                                <img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE|@escape}">
    134134                        </a>
     135                {elseif isset($U_UP)}
     136                        <a class="navThumb" id="linkFirst" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="prev">
     137                                <div class="thumbHover">{'First Page'|@translate}<br><br>{'Go back to the album'|@translate}</div>
     138                        </a>
    135139                {/if}
    136140                {if isset($next)}
     
    138142                                <span class="thumbHover nextThumbHover"></span>
    139143                                <img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE|@escape}">
     144                        </a>
     145                {elseif isset($U_UP)}
     146                        <a class="navThumb" id="linkLast"  href="{$U_UP}"  title="{'Thumbnails'|@translate}" rel="next">
     147                                <div class="thumbHover">{'Last Page'|@translate}<br><br>{'Go back to the album'|@translate}</div>
    140148                        </a>
    141149                {/if}
  • trunk/themes/default/theme.css

    r20982 r23642  
    392392}
    393393
    394 #linkPrev {
     394#linkPrev, #linkFirst {
    395395        float: left;
    396396        margin: 5px 10px 0 5px;
    397397}
    398398
    399 #linkNext {
     399#linkNext, #linkLast {
    400400        float: right;
    401401        margin: 5px 5px 0 10px;
     402  text-align: right;
     403}
     404
     405#linkFirst, #linkLast {
     406  border: 1px solid #ccc;
     407  height: 118px;
     408  line-height: 118px;
     409}
     410
     411#linkFirst div, #linkLast div {
     412  display: inline-block;
     413  vertical-align: middle;
     414  width: 108px;
     415  line-height: 1.2;
     416  margin: 0 5px;
    402417}
    403418
  • trunk/themes/elegant/theme.css

    r23233 r23642  
    221221
    222222#imageInfos .navThumbs                          { width: 250px; height: 130px; margin: auto; padding: 0 5px;}
    223 #imageInfos .navThumb                           { position: relative; width: 120px; height: 120px; margin: 0; overflow: hidden;}
     223#imageInfos .navThumb                           { position: relative; margin: 0; overflow: hidden;}
    224224#imageInfos #linkPrev                           { float: left;}
    225 #imageInfos #linkNext                           { float: right;}
    226 #imageInfos .thumbHover                                 { position: absolute; width: 100%; height: 100%;}
     225#imageInfos #linkNext                           { float: right;}
     226#imageInfos #linkFirst, #imageInfos #linkLast { border-color: #444444;}
    227227#imageInfos .prevThumbHover                     { background: transparent url(icon/none.png) no-repeat center center;}
    228228#imageInfos .prevThumbHover:hover       { background: transparent url(icon/img_prev.png) no-repeat center center;}
Note: See TracChangeset for help on using the changeset viewer.