Changeset 6752
- Timestamp:
- Aug 12, 2010, 11:27:21 PM (14 years ago)
- Location:
- extensions/gally/gally-default
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gally/gally-default/admin/GallyDefault.class.inc.php
r6700 r6752 32 32 protected $themeProperties = Array( 33 33 'name' => 'Gally/Default', 34 'version' => '1.3. 0'34 'version' => '1.3.1' 35 35 ); 36 36 … … 88 88 { 89 89 $this->config = new Conf(); 90 $this->config->setFileName($this->directories['conf. local']."/default.conf");90 $this->config->setFileName($this->directories['conf.parent']."/default.conf"); 91 91 $this->config->read(); 92 92 $this->config->setFileName(PHPWG_ROOT_PATH."local/themes/".basename(dirname($this->directories['conf.local']))."/conf/local.conf"); -
extensions/gally/gally-default/admin/gally_img_other.tpl
r6109 r6752 57 57 } 58 58 59 function setOptionCB(id) 60 { 61 if($('#'+id+'_cb').get(0).checked) 62 { 63 $('#'+id).val('yes'); 64 } 65 else 66 { 67 $('#'+id).val('no'); 68 } 69 } 70 59 71 </script> 60 72 {/literal} … … 104 116 <span style="font-style:italic;margin-left:20px;">!!! {'gally_image_auto_scroll_warning'|@translate} !!!</span> 105 117 </p> 106 107 108 118 <label><input type="radio" name="f_imageAutoScroll" id="iimageAutoScroll" value="yes" {if $options.imageAutoScroll=="yes"}checked{/if}> {'gally_image_auto_scroll_yes'|@translate}</label><br> 109 119 <label><input type="radio" name="f_imageAutoScroll" id="iimageAutoScroll" value="no" {if $options.imageAutoScroll=="no"}checked{/if}> {'gally_image_auto_scroll_no'|@translate}</label><br> 120 121 <br> 122 <label> 123 <input type="checkbox" id="iimageSimulateHighRes_cb" {if $options.imageSimulateHighRes=="yes"}checked{/if} onclick="setOptionCB('iimageSimulateHighRes');"> {'gally_image_simulate_high_res'|@translate} 124 <input type="hidden" name="f_imageSimulateHighRes" id="iimageSimulateHighRes" value="{$options.imageSimulateHighRes}"> 125 </label><br> 126 110 127 </fieldset> 111 128 -
extensions/gally/gally-default/conf/default.conf
r6109 r6752 34 34 # works well with FF2, FF3, Opera, Safari 35 35 imageAutoScroll = "yes" 36 37 38 # -- 1.3.1 -- 39 # the 'imageSimulateHighRes' option can take theses values : 40 # "yes" => if there is no high res file and if the image need scroll, the 41 # template simulate an high res image managment 42 # "no" => don't simulate high res image 43 imageSimulateHighRes = "yes" 44 36 45 37 46 # The 'imageCenterMode' option can take theses values : … … 187 196 188 197 198 189 199 # ------- Menu parameters ------------------------------------------------------ 190 200 -
extensions/gally/gally-default/js/gallyjs-tpp.js
r6109 r6752 160 160 } 161 161 162 function simulateHighRes() 163 { 164 if(isScrollable && options.imageHaveHighRes==false && options.imageSimulateHighRes) 165 { 166 $('#theImgContainer').bind('click', function () 167 { 168 openDisplayHigh($('#theImg').attr('src')); 169 } 170 ).addClass('pointer'); 171 } 172 173 } 174 162 175 function initializeImageMode(mode) 163 176 { … … 241 254 242 255 $("#theImage").css("top", imgTop); 256 257 simulateHighRes(); 243 258 244 259 } -
extensions/gally/gally-default/language/en_UK/theme.lang.php
r6109 r6752 57 57 $lang['gally_image_auto_scroll_warning'] = 'This function is automatically disabled with MS Internet Explorer version of which is prior to 8'; 58 58 59 // v1.3.1 60 $lang['gally_image_simulate_high_res'] = 'Simulate the presence of a high resolution image for panoramic images'; 61 62 59 63 ?> -
extensions/gally/gally-default/language/fr_FR/theme.lang.php
r6109 r6752 62 62 $lang['gally_image_auto_scroll_no'] = 'Défilement manuel de la photo'; 63 63 $lang['gally_image_auto_scroll_warning'] = 'Cette fonction est désactivée automatiquement avec les navigateurs MS Internet Explorer dont la version est antérieure à 8'; 64 65 // v1.3.1 66 $lang['gally_image_simulate_high_res'] = 'Simuler la présence d\'une image haute résolution pour les images panomariques'; 67 64 68 ?> -
extensions/gally/gally-default/release_notes.txt
r6700 r6752 75 75 | | | . The information bar is not displayed with IE7 76 76 | | | 77 | 1.3.1 | 2010-0 7-09| * mantis: bug 176777 | 1.3.1 | 2010-08-12 | * mantis: bug 1767 78 78 | | | . Local.conf file is not loaded 79 79 | | | * mantis: bug 1654 80 80 | | | . warning on the admin configuration page 81 | | | * not referenced bug 82 | | | . default conf is not loaded if there is a 83 | | | local.conf file 84 | | | * give the possibility to manage panoramic images as 85 | | | a high resolution image 86 | | | 87 | | | 88 | | | 89 | | | 90 | | | 91 | | | 81 92 | | | 82 93 | | | -
extensions/gally/gally-default/template/config.js.tpl
r6109 r6752 4 4 // configuration options for interfaces 5 5 options = { {/literal} 6 imageHaveHighRes:{if isset($high)}true{else}false{/if}, 6 7 {if $BODY_ID=='thePicturePage'} 7 8 imageAutoScroll:{if #imageAutoScroll#=='yes'}true{else}false{/if}, 9 imageSimulateHighRes:{if #imageSimulateHighRes#=='yes'}true{else}false{/if}, 8 10 imageCenterMode:"{#imageCenterMode#}", 9 11 imageCenterOffset:{#imageCenterOffset#},
Note: See TracChangeset
for help on using the changeset viewer.