Changeset 3852


Ignore:
Timestamp:
Sep 16, 2009, 9:02:15 PM (11 years ago)
Author:
vdigital
Message:

Add Home and UP icons
bug 1161

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/akBookStyle/trunk/template/ak_thumbnails.tpl

    r3814 r3852  
    2727
    2828{* all the following code will be splitted in different includes *}
    29 
     29{assign var=akU_UP value=$TITLE|@substr:0:$TITLE|@strripos:'<a href='}
     30{assign var=temp value=$akU_UP|@strripos:'<a href='}
     31{assign var=akU_UP value=$akU_UP|@substr:$temp}
     32{assign var=temp value=$akU_UP|@strripos:'">'}
     33{assign var=akU_UP value=$akU_UP|@substr:0:$temp}
     34{assign var=akU_UP value=$akU_UP|@substr:9}
     35<div id="akBack">
     36  <a id="akHome" class="navButton" href="{$SCRIPT_NAME}"
     37   title="{'home'|@translate}"
     38   rel="start">
     39  <img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png"
     40       class="button" alt="{'home'|@translate}">
     41  </a>
     42  {if !empty($akU_UP)}
     43  <a id="akUp" class="navButton" href="{$akU_UP}"
     44   title="{'thumbnails'|@translate}"
     45   rel="up">
     46  <img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png"
     47       class="button" alt="{'thumbnails'|@translate}">
     48  </a>
     49  {/if}
     50</div>
    3051{if !empty($thumbnails)}
    3152{if $AK_THUMBNAILS_LOC == 'top' or $AK_THUMBNAILS_LOC == 'bottom'}
Note: See TracChangeset for help on using the changeset viewer.