Changeset 3814 for extensions
- Timestamp:
- Sep 1, 2009, 9:50:48 PM (15 years ago)
- Location:
- extensions/akBookStyle/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/akBookStyle/trunk/MANIFEST
r3770 r3814 1 1 akBookStyle/MANIFEST 2 2 akBookStyle/css/ak_style.css 3 akBookStyle/css/ak_admin_style.css 4 akBookStyle/TODO 3 5 akBookStyle/COPYING 4 6 akBookStyle/template/ak_thumbnails.tpl 5 7 akBookStyle/template/admin.tpl 6 8 akBookStyle/template/ak_reloaded_image.tpl 9 akBookStyle/template/ak_vertical.tpl 10 akBookStyle/template/ak_horizontal.tpl 7 11 akBookStyle/language/fr_FR/plugin.lang.php 12 akBookStyle/language/it_IT/plugin.lang.php 8 13 akBookStyle/language/en_UK/plugin.lang.php 14 akBookStyle/default_values.inc.php 9 15 akBookStyle/admin.php 10 16 akBookStyle/public.php … … 14 20 akBookStyle/ChangeLog.txt.php 15 21 akBookStyle/CHANGELOG 22 akBookStyle/js/ak_jquery-load.js 16 23 akBookStyle/init.php 17 24 akBookStyle/main.inc.php -
extensions/akBookStyle/trunk/css/ak_style.css
r3813 r3814 1 1 table.ak_display { 2 margin-left: 10%;2 margin-left: 10%; 3 3 } 4 4 5 table.ak_display tr td { 5 table.ak_display_horizontal { 6 margin-right: 10%; 7 } 8 9 table.ak_display tr td, table.ak_display_horizontal tr td { 6 10 vertical-align: top; 7 11 } 8 12 9 13 td table.thumbnails { 10 margin-right:20%; 14 margin-right: 20%; 15 } 16 17 td table.thumbnails tr td img { 18 filter: alpha(opacity=70); 19 opacity: 0.7; 20 -moz-opacity: 0.7; 21 -khtml-opacity: 0.7; 11 22 } 12 23 … … 22 33 23 34 td.left { 24 text-align: right;35 text-align: right; 25 36 } 26 37 27 38 td.right { 28 text-align: left;39 text-align: left; 29 40 } 30 41 31 .ak_display img.button { 42 .fleft { 43 float: left; 44 } 45 46 .fright { 47 float: right; 32 48 } 33 49 … … 39 55 position:absolute; 40 56 } 57 58 a.selected img, a.load:hover img { 59 filter: alpha(opacity=100); 60 opacity: 1; 61 -moz-opacity: 1; 62 -khtml-opacity: 1; 63 } 64 41 65 /******************/ 42 66 #theHeader, #menubar, .navigationBar, .titrePage { -
extensions/akBookStyle/trunk/template/ak_horizontal.tpl
r3807 r3814 1 <td> 2 <table class="thumbnails"> 3 {assign var=AK_THUMB_COUNT value=$thumbnails|@count} 4 {assign var=AK_BY_COLUMNS value=$AK_THUMB_COUNT/$AK_BY_LINE} 5 {assign var=AK_BY_COLUMNS value=$AK_BY_COLUMNS|@intval} 6 {foreach from=$thumbnails item=thumbnail name=tn} 7 {if ($smarty.foreach.tn.index % $AK_BY_COLUMNS == 0)} 8 <tr class="nline"> 9 {/if} 10 <td class="ncol"> 11 <div class="clipwrapper" style="width:{$AK_THUMBNAIL_SIZE}px;height:{$AK_THUMBNAIL_SIZE}px"> 12 <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"> 13 <a href="{$thumbnail.AK_URL}" class="load"> 14 <img class="thumbnail" src="{$thumbnail.TN_SRC}" 15 alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> 16 </a> 17 </div> 18 </div> 19 </td> 20 {if ($smarty.foreach.tn.iteration % $AK_BY_COLUMNS == 0) or $smarty.foreach.tn.last } 21 </tr> 22 {/if} 23 {/foreach} 24 25 {if isset($AK_NAV_PREV) or isset($AK_NAV_NEXT)} {* thumbnails navigation bar *} 26 <tr class="nline"> 27 <td class="left"> 28 {if isset($AK_NAV_PREV)} 29 <a class="navButton" href="{$AK_NAV_PREV}" 30 title="{'previous_page'|@translate}"> 31 <img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" 32 class="button" alt="{'previous_page'|@translate}"> 33 </a> 34 {/if} 35 </td> 36 <td class="right"> 37 {if isset($AK_NAV_NEXT)} 38 <a class="navButton" href="{$AK_NAV_NEXT}" 39 title="{'next_page'|@translate}"> 40 <img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" 41 class="button" alt="{'next_page'|@translate}"> 42 </a> 43 {/if} 44 </td> 45 </tr> 46 {/if} 47 </table> {* end of Thumbnails *} 1 <td> 2 {if !empty($navbar) and isset($navbar.URL_PREV)} 3 <div class="navbar fleft"> 4 <a class="navButton" href="{$navbar.URL_PREV}" 5 title="{'previous_page'|@translate}"> 6 <img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" 7 class="button" alt="{'previous_page'|@translate}"> 8 </a> 9 </div> 10 {/if} 11 {if !empty($navbar) and isset($navbar.URL_NEXT)} 12 <div class="navbar fright"> 13 <a class="navButton" href="{$navbar.URL_NEXT}" 14 title="{'next_page'|@translate}"> 15 <img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" 16 class="button" alt="{'next_page'|@translate}"> 17 </a> 18 </div> 19 {/if} 48 20 49 </td> 21 <table class="thumbnails"> 22 {assign var=AK_THUMB_COUNT value=$thumbnails|@count} 23 {assign var=AK_BY_COLUMNS value=$AK_THUMB_COUNT/$AK_BY_LINE|@round} 24 {foreach from=$thumbnails item=thumbnail name=tn} 25 {if ($smarty.foreach.tn.index % $AK_BY_COLUMNS == 0)} 26 <tr class="nline"> 27 {/if} 28 <td class="ncol"> 29 <div class="clipwrapper" style="width:{$AK_THUMBNAIL_SIZE}px;height:{$AK_THUMBNAIL_SIZE}px"> 30 <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"> 31 <a href="{$thumbnail.AK_URL}" class="load"> 32 <img class="thumbnail" src="{$thumbnail.TN_SRC}" 33 alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> 34 </a> 35 </div> 36 </div> 37 </td> 38 {if ($smarty.foreach.tn.iteration % $AK_BY_COLUMNS == 0) or $smarty.foreach.tn.last } 39 </tr> 40 {/if} 41 {/foreach} 42 </table> {* end of Thumbnails *} 43 </td> -
extensions/akBookStyle/trunk/template/ak_thumbnails.tpl
r3811 r3814 29 29 30 30 {if !empty($thumbnails)} 31 {if $AK_THUMBNAILS_LOC == 'top' or $AK_THUMBNAILS_LOC == 'bottom'} 32 <table class="ak_display_horizontal"> 33 {else} 31 34 <table class="ak_display"> 35 {/if} 32 36 <tr> 33 37 {if $AK_THUMBNAILS_LOC == 'top'} … … 57 61 {html_head} 58 62 <link rel="stylesheet" type="text/css" href="{$AK_PLUGIN_CSS}/ak_style.css"> 59 {if $AK_THUMBNAILS_LOC == 'top' or $AK_THUMBNAILS_LOC == 'bottom'}60 <link rel="stylesheet" type="text/css" href="{$AK_PLUGIN_CSS}/ak_style_h.css">61 {/if}62 63 <script type="text/javascript"> 63 64 var dir_thumbnail = '{$AK_DIR_THUMBNAIL}';prefix_thumbnail = '{$AK_PREFIX_THUMBNAIL}';var ak_mouse_event = '{$AK_MOUSE_EVENT}'; -
extensions/akBookStyle/trunk/template/ak_vertical.tpl
r3811 r3814 1 1 {if !empty($navbar) and isset($navbar.URL_PREV)} 2 <td class="navbar left">2 <td class="navbar fleft"> 3 3 <a class="navButton" href="{$navbar.URL_PREV}" 4 4 title="{'previous_page'|@translate}"> … … 31 31 </td> 32 32 {if !empty($navbar) and isset($navbar.URL_NEXT)} 33 <td class="navbar right">33 <td class="navbar fright"> 34 34 <a class="navButton" href="{$navbar.URL_NEXT}" 35 35 title="{'next_page'|@translate}">
Note: See TracChangeset
for help on using the changeset viewer.