Changeset 3773 for extensions/akBookStyle
- Timestamp:
- Aug 21, 2009, 9:03:52 PM (15 years ago)
- Location:
- extensions/akBookStyle/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/akBookStyle/trunk/css/ak_style.css
r3770 r3773 3 3 4 4 td table.thumbnails { 5 margin-right:20%; 5 6 } 6 7 7 8 tr.nline { 9 max-height:90px; 10 overflow:hidden; 8 11 } 9 12 10 13 td.ncol { 14 max-height:90px; 15 max-width:90px; 16 overflow:hidden; 17 text-align:center; 18 padding:2px 8px; 19 } 20 21 td.ak_pic { 22 min-width:640px; 23 text-align:center; 11 24 } 12 25 13 26 a.load { 27 height:90px; 28 width:90px; 14 29 } 15 30 16 31 a.load img { 32 height:90px; 33 overflow:hidden; 17 34 } 18 35 19 36 td.left { 37 text-align:left; 20 38 } 21 39 -
extensions/akBookStyle/trunk/template/ak_reloaded_image.tpl
r3764 r3773 3 3 <table class="picture"> 4 4 <tr class="nline"> 5 <td class="ncol"> {* will be an include *}5 <td class="ncol"> 6 6 {if isset($AK_PREVIOUS) } 7 7 … … 17 17 18 18 <tr class="nline"> 19 <td class=" ncol"> {* will be an include *}19 <td class="ak_pic"> 20 20 <img src="{$AK_PIC_SRC}" alt="{$AK_PIC_ALT}" title="{$AK_PIC_TITLE}"> 21 21 </td> … … 23 23 24 24 <tr class="nline"> 25 <td class="ncol"> {* will be an include *}25 <td class="ncol"> 26 26 {if !empty($AK_NEXT) } 27 27 <a class="{$AK_NEXT.load} navButton" href="{$AK_NEXT.U_PIC}" -
extensions/akBookStyle/trunk/template/ak_thumbnails.tpl
r3770 r3773 26 26 27 27 {if !empty($thumbnails)} 28 <table class="ak_display"> 28 <table class="ak_display"> 29 29 <tr> 30 30 <td> 31 {* thumbnails in table versus *} 31 32 32 <table class="thumbnails"> 33 {foreach from=$thumbnails item=thumbnail name=tn} 34 {if $smarty.foreach.tn.index % $AK_BY_LINE == 0} 35 <tr class="nline"> 36 {/if} 37 <td class="ncol"> 38 <a href="{$thumbnail.AK_URL}" class="load"> 39 <img class="thumbnail" src="{$thumbnail.TN_SRC}" 40 alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> 41 </a> 42 </td> 43 {if ($smarty.foreach.tn.index+1) % $AK_BY_LINE == 0} 44 </tr> 45 {/if} 46 {/foreach} 33 {foreach from=$thumbnails item=thumbnail name=tn} 34 {if $smarty.foreach.tn.index % $AK_BY_LINE == 0} 35 <tr class="nline"> 36 {/if} 37 <td class="ncol"> 38 <a href="{$thumbnail.AK_URL}" class="load"> 39 <img class="thumbnail" src="{$thumbnail.TN_SRC}" 40 alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> 41 </a> 42 </td> 43 {if ($smarty.foreach.tn.iteration % $AK_BY_LINE == 0) or $smarty.foreach.tn.last } 44 </tr> 45 {/if} 46 {/foreach} 47 48 {if !empty($NAV_BAR) } {* thumbnails navigation bar *} 49 <tr class="nline"> 50 <td class="left"> 51 {if isset($AK_NAV_PREV)} 52 <a class="navButton" href="{$AK_NAV_PREV}" 53 title="{'previous_page'|@translate}"> 54 <img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" 55 class="button" alt="{'previous_page'|@translate}"> 56 </a> 57 {/if} 58 </td> 59 <td class="right"> 60 {if isset($AK_NAV_NEXT)} 61 <a class="navButton" href="{$AK_NAV_NEXT}" 62 title="{'next_page'|@translate}"> 63 <img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" 64 class="button" alt="{'next_page'|@translate}"> 65 </a> 66 {/if} 67 </td> 68 </tr> 69 {/if} 70 </table> {* end of Thumbnails *} 47 71 48 {*49 need to be fix for AK_BY_LINE != 250 we must add <td></td> if count($thumbnails) % $AK_BY_LINE != 051 *}52 53 {if ($smarty.foreach.tn.index) % $AK_BY_LINE == 0}54 <td></td></tr>55 {/if}56 57 {if !empty($NAV_BAR) } {* thumbnails navigation bar *}58 <tr class="nline">59 <td class="left">60 {if isset($AK_NAV_PREV)}61 <a class="navButton" href="{$AK_NAV_PREV}"62 title="{'previous_page'|@translate}">63 <img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png"64 class="button" alt="{'previous_page'|@translate}">65 </a>66 {/if}67 </td>68 <td class="right">69 {if isset($AK_NAV_NEXT)}70 <a class="navButton" href="{$AK_NAV_NEXT}"71 title="{'next_page'|@translate}">72 <img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png"73 class="button" alt="{'next_page'|@translate}">74 </a>75 {/if}76 </td>77 </tr>78 {/if}79 </table>80 72 </td> 81 73 82 <td> 74 <td> {* Picture *} 83 75 {include file=$AK_RELOADED_IMAGE_TPL|@get_extent:'picture_reload'} 84 76 </td>
Note: See TracChangeset
for help on using the changeset viewer.