Changeset 3804 for extensions/akBookStyle/trunk
- Timestamp:
- Aug 30, 2009, 8:22:44 AM (15 years ago)
- Location:
- extensions/akBookStyle/trunk
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/akBookStyle/trunk/include/akContent.class.php
r3803 r3804 54 54 $template->assign('AK_THUMBNAIL_SIZE', $this->plugin_config->ak_thumbnail_size); 55 55 $template->assign('AK_RELOADED_IMAGE_TPL', AK_PLUGIN_TEMPLATE. '/ak_reloaded_image.tpl'); 56 if ($this->plugin_config->ak_show_over) $template->assign('AK_SHOW_OVER', $this->plugin_config->ak_show_over); 57 } 56 $template->assign('AK_VERTICAL_TPL', AK_PLUGIN_TEMPLATE. '/ak_vertical.tpl'); 57 if ($this->plugin_config->ak_show_over) $template->assign('AK_SHOW_OVER', $this->plugin_config->ak_show_over); 58 $template->assign('AK_THUMBNAILS_LOC', $this->plugin_config->ak_thumbnails_loc); 59 } 58 60 59 61 -
extensions/akBookStyle/trunk/language/en_UK/plugin.lang.php
r3802 r3804 19 19 $lang['Bottom'] = "Bottom"; 20 20 $lang['Right'] = "Right"; 21 $lang['ak_by_column'] = '(or number of lines for Top/Bottom)'; 21 22 22 23 ?> -
extensions/akBookStyle/trunk/language/fr_FR/plugin.lang.php
r3802 r3804 16 16 $lang['ak_thumbnails_loc'] = "Position des miniatures"; 17 17 $lang['ak_thumbnails_loc_changed'] = "Position des miniatures modifiée."; 18 $lang['Top'] = "Top"; 19 $lang['Left'] = "Left"; 20 $lang['Bottom'] = "Bottom"; 21 $lang['Right'] = "Right"; 18 $lang['Top'] = "au dessus"; 19 $lang['Left'] = "à gauche"; 20 $lang['Bottom'] = "en bas"; 21 $lang['Right'] = "à droite"; 22 $lang['ak_by_column'] = '(ou nombre de lignes si dessus ou en bas)'; 23 22 24 ?> -
extensions/akBookStyle/trunk/template/admin.tpl
r3802 r3804 1 1 <div class="titrePage"> 2 <h2>{'ak_title'| @translate}</h2>2 <h2>{'ak_title'|translate}</h2> 3 3 </div> 4 4 5 5 <p> 6 {'ak_intro'| @translate}6 {'ak_intro'|translate} 7 7 </p> 8 8 … … 13 13 <form method="post" action="" class="general"> 14 14 <fieldset> 15 <legend>{'ak_general_config'| @translate}</legend>15 <legend>{'ak_general_config'|translate}</legend> 16 16 <p class="field"> 17 <label>{'ak_by_line'| @translate}18 <input type="text" name="ak_by_line" value="{$AK_BY_LINE}"> 17 <label>{'ak_by_line'|translate} 18 <input type="text" name="ak_by_line" value="{$AK_BY_LINE}"> {'ak_by_column'|translate} 19 19 </label> 20 20 </p> 21 21 <p class="field"> 22 <label>{'ak_thumbnail_size'| @translate}22 <label>{'ak_thumbnail_size'|translate} 23 23 <input type="text" name="ak_thumbnail_size" value="{$AK_THUMBNAIL_SIZE}"> 24 24 </label> 25 25 </p> 26 26 <p class="field"> 27 <label>{'ak_show_over'| @translate}27 <label>{'ak_show_over'|translate} 28 28 {html_radios name='ak_show_over' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$AK_SHOW_OVER} 29 29 </label> 30 30 </p> 31 31 <p class="field"> 32 <label>{'ak_thumbnails_loc'| @translate}33 {html_radios name='ak_thumbnails_loc' values='top, left,bottom,right'|@explode output='Top,Left,Bottom,Right'|@explode|translate selected=$AK_THUMBNAILS_LOC}32 <label>{'ak_thumbnails_loc'|translate} 33 {html_radios name='ak_thumbnails_loc' values='top,right,bottom,left'|@explode output='Top,Right,Bottom,Left'|@explode|translate selected=$AK_THUMBNAILS_LOC} 34 34 </label> 35 35 </p> 36 36 </fieldset> 37 37 38 <p><input class="submit" type="submit" name="submit" value="{'Submit'| @translate}"></p>38 <p><input class="submit" type="submit" name="submit" value="{'Submit'|translate}"></p> 39 39 </form> 40 40 -
extensions/akBookStyle/trunk/template/ak_thumbnails.tpl
r3803 r3804 21 21 $AK_NEXT['load'] = if reloadable 'load ' else '' 22 22 $AK_NEXT['TITLE'] : title of next pic 23 24 $AK_THUMBNAILS_LOC : Thumbnails location 25 $AK_SHOW_OVER : hover or click 23 26 *} 24 27 … … 28 31 <table class="ak_display"> 29 32 <tr> 30 <td> 31 <table class="thumbnails"> 32 {foreach from=$thumbnails item=thumbnail name=tn} 33 {if $smarty.foreach.tn.index % $AK_BY_LINE == 0} 34 <tr class="nline"> 35 {/if} 36 <td class="ncol"> 37 <div class="clipwrapper" style="width:{$AK_THUMBNAIL_SIZE}px;height:{$AK_THUMBNAIL_SIZE}px"> 38 <div class="clip" style="clip:rect({$thumbnail.CLIP_TOP}px {$thumbnail.CLIP_RIGHT}px {$thumbnail.CLIP_BOTTOM}px {$thumbnail.CLIP_LEFT}px);top:-{$thumbnail.CLIP_TOP}px;left:-{$thumbnail.CLIP_LEFT}px"> 39 <a href="{$thumbnail.AK_URL}" class="load"> 40 <img class="thumbnail" src="{$thumbnail.TN_SRC}" 41 alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> 42 </a> 43 </div> 44 </div> 45 </td> 46 {if ($smarty.foreach.tn.iteration % $AK_BY_LINE == 0) or $smarty.foreach.tn.last } 47 </tr> 48 {/if} 49 {/foreach} 50 51 {if !empty($NAV_BAR) } {* thumbnails navigation bar *} 52 <tr class="nline"> 53 <td class="left"> 54 {if isset($AK_NAV_PREV)} 55 <a class="navButton" href="{$AK_NAV_PREV}" 56 title="{'previous_page'|@translate}"> 57 <img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" 58 class="button" alt="{'previous_page'|@translate}"> 59 </a> 60 {/if} 61 </td> 62 <td class="right"> 63 {if isset($AK_NAV_NEXT)} 64 <a class="navButton" href="{$AK_NAV_NEXT}" 65 title="{'next_page'|@translate}"> 66 <img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" 67 class="button" alt="{'next_page'|@translate}"> 68 </a> 69 {/if} 70 </td> 71 </tr> 72 {/if} 73 </table> {* end of Thumbnails *} 74 75 </td> 76 33 {if $AK_THUMBNAILS_LOC == 'left'} 34 {include file=$AK_VERTICAL_TPL|@get_extent:'vertical_thmubs'} 35 {/if} 77 36 <td> {* Picture *} 78 37 {include file=$AK_RELOADED_IMAGE_TPL|@get_extent:'picture_reload'} 79 38 </td> 39 {if $AK_THUMBNAILS_LOC == 'right'} 40 {include file=$AK_VERTICAL_TPL|@get_extent:'vertical_thmubs'} 41 {/if} 80 42 </tr> 81 43 </table>
Note: See TracChangeset
for help on using the changeset viewer.