Changeset 5445 for extensions
- Timestamp:
- Mar 29, 2010, 10:40:36 AM (14 years ago)
- Location:
- extensions/akBookStyle/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/akBookStyle/trunk/CHANGELOG
r5432 r5445 1 akBookStyle 0.2.1 - 2010-03-29 2 ================================ 3 * fix links problem when number of images 4 is less than number images by page 5 1 6 akBookStyle 0.2.0 - 2010-03-28 2 7 ================================ -
extensions/akBookStyle/trunk/css/style.css
r5432 r5445 24 24 width: 24px; 25 25 padding: 200px 0 0 0; 26 } 27 28 #akPreviousPicture, #akNextPicture { 29 visibility: hidden; 26 30 } 27 31 -
extensions/akBookStyle/trunk/include/akContent.class.php
r5432 r5445 47 47 $this->applicable = true; 48 48 $page['nb_image_page'] = $this->plugin_config->ak_by_page; 49 $GLOBALS['user']['nb_image_page'] = $this->plugin_config->ak_by_page; 49 50 } 50 51 else … … 58 59 global $template; 59 60 60 if ($this->applicable === false) return; 61 if (!$this->applicable) { 62 return; 63 } 64 61 65 $this->category_url = make_index_url(array('section' => 'category', 62 66 'category' => $GLOBALS['page']['category'], -
extensions/akBookStyle/trunk/js/ak_jquery-load.js
r5432 r5445 1 1 $(function() { 2 next_link = $('table.thumbnails div.navbar a[rel=next]'); 3 if (next_link.length!=0) { 4 $('#akNextPicture').css('visibility', 'visible'); 5 } 6 previous_link = $('table.thumbnails div.navbar a[rel=previous]'); 7 if (previous_link.length!=0) { 8 $('#akPreviousPicture').css('visibility', 'visible'); 9 } 10 2 11 $("a.load") 3 12 .bind(ak_mouse_event, function() { 4 5 6 7 8 13 $('table.thumbnails tr td.ncol').each(function() { 14 if ($(this).hasClass('selected')) { 15 $(this).removeClass('selected'); 16 } 17 }); 9 18 10 19 $a = $(this); … … 17 26 } 18 27 next_link = $('table.thumbnails div.navbar a[rel='+rel+']'); 19 window.location = next_link.attr('href'); 28 if (next_link.length!=0) { 29 window.location = next_link.attr('href'); 30 } 20 31 } else { 21 32 next_thumbnail.parent().parent().parent().addClass('selected'); -
extensions/akBookStyle/trunk/main.inc.php
r5432 r5445 23 23 /* 24 24 Plugin Name: akBookStyle 25 Version: 0.2. 025 Version: 0.2.1 26 26 Description: Book style for designers 27 27 Plugin URI: http://piwigo.org/ext/extension_links.php?eid=307 -
extensions/akBookStyle/trunk/template/ak_thumbnails.tpl
r5432 r5445 19 19 20 20 <div id="akBack"> 21 <a id="akHome" class="navButton" href="{$SCRIPT_NAME}" 22 title="{'Home'|@translate}" 23 rel="start"> 24 <img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" 25 class="button" alt="{'Home'|@translate}"> 21 <a id="akHome" class="navButton" href="{$SCRIPT_NAME}" title="{'Home'|@translate}" rel="start"> 22 <img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"> 26 23 </a> 27 24 {if !empty($akUP)} 28 <a id="akUp" class="navButton" href="{$akUP}" 29 title="{'Thumbnails'|@translate}" 30 rel="up"> 31 <img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" 32 class="button" alt="{'Thumbnails'|@translate}"> 25 <a id="akUp" class="navButton" href="{$akUp}" title="{'Thumbnails'|@translate}" rel="up"> 26 <img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'Thumbnails'|@translate}"> 33 27 </a> 34 28 {/if}
Note: See TracChangeset
for help on using the changeset viewer.