Changeset 17407 for extensions/stripped
- Timestamp:
- Aug 5, 2012, 4:51:13 PM (12 years ago)
- Location:
- extensions/stripped
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/admin/admin.tpl
r16602 r17407 117 117 <option value="2small" {if ($options.albumSize=="2small")}selected{/if}>{'2small'|@translate}</option> 118 118 <option value="xsmall" {if ($options.albumSize=="xsmall")}selected{/if}>{'xsmall'|@translate}</option> 119 <option value="small" {if ($options.albumSize=="small")}selected{/if}>{'small'|@translate}</option> 119 120 <option value="medium" {if ($options.albumSize=="medium")}selected{/if}>{'medium'|@translate}</option> 120 121 <option value="large" {if ($options.albumSize=="large")}selected{/if}>{'large'|@translate}</option> … … 130 131 <option value="2small" {if ($options.thumbSize=="2small")}selected{/if}>{'2small'|@translate}</option> 131 132 <option value="xsmall" {if ($options.thumbSize=="xsmall")}selected{/if}>{'xsmall'|@translate}</option> 133 <option value="small" {if ($options.thumbSize=="small")}selected{/if}>{'small'|@translate}</option> 132 134 <option value="medium" {if ($options.thumbSize=="medium")}selected{/if}>{'medium'|@translate}</option> 133 135 <option value="large" {if ($options.thumbSize=="large")}selected{/if}>{'large'|@translate}</option> … … 143 145 <option value="2small" {if ($options.imageSize=="2small")}selected{/if}>{'2small'|@translate}</option> 144 146 <option value="xsmall" {if ($options.imageSize=="xsmall")}selected{/if}>{'xsmall'|@translate}</option> 147 <option value="small" {if ($options.imageSize=="small")}selected{/if}>{'small'|@translate}</option> 145 148 <option value="medium" {if ($options.imageSize=="medium")}selected{/if}>{'medium'|@translate}</option> 146 149 <option value="large" {if ($options.imageSize=="large")}selected{/if}>{'large'|@translate}</option> … … 156 159 <option value="2small" {if ($options.hdSize=="2small")}selected{/if}>{'2small'|@translate}</option> 157 160 <option value="xsmall" {if ($options.hdSize=="xsmall")}selected{/if}>{'xsmall'|@translate}</option> 161 <option value="small" {if ($options.hdSize=="small")}selected{/if}>{'small'|@translate}</option> 158 162 <option value="medium" {if ($options.hdSize=="medium")}selected{/if}>{'medium'|@translate}</option> 159 163 <option value="large" {if ($options.hdSize=="large")}selected{/if}>{'large'|@translate}</option> -
extensions/stripped/js/scripts-tpp.js
r14310 r17407 174 174 var marge_cote; 175 175 176 if (ImageCadre.length == 0) {177 ImageContainer.css("opacity","1");178 jQuery("img","#theImageAndTitle").css("opacity","1");179 return;180 }181 182 if (options.navArrows) {marge_cote=30;} else {marge_cote=10;};183 184 176 var marge_sup = 5 + Content.offset().top; 185 177 var marge_inf; 186 178 if (options.themeStyle == 'original') { marge_inf = options.imageAutosizeMargin+10;} else { marge_inf = 30;}; 187 179 var marge_spec = 0; 180 181 if (ImageCadre.length == 0) { 182 ImageContainer.css("opacity","1"); 183 jQuery("img","#theImageAndTitle").css("opacity","1"); 184 ImageContainer.css("top",marge_sup+"px"); 185 //maps & earth 186 if (jQuery("#map").length == 1) { 187 ImageContainer.css("position","static"); 188 ImageContainer.css("margin-top","10px"); 189 } 190 return; 191 } 188 192 189 193 var slideshow=jQuery("#light_slideshow"); … … 361 365 { 362 366 p = new Object(); 367 imgH = jQuery(document).data("highHeight") 368 imgW = jQuery(document).data("highWidth") 363 369 364 370 if(zoom=='full') … … 369 375 p.top=options.marginContainer; 370 376 371 if(p.width> jQuery(document).data("highWidth"))372 { 373 p.width = jQuery(document).data("highWidth")-options.paddingContainer*2;377 if(p.width>imgW) 378 { 379 p.width = imgW; 374 380 p.left = (jQuery("html").get(0).clientWidth-p.width)/2; 375 } 376 377 if(p.height>jQuery(document).data("highHeight")) 378 { 379 p.height = jQuery(document).data("highHeight")-options.paddingContainer*2; 381 jQuery("#theImgHighZoomButton").hide(); 382 } 383 384 if(p.height>imgH) 385 { 386 p.height = imgH; 380 387 p.top = (jQuery("html").get(0).clientHeight-p.height)/2; 381 } 388 jQuery("#theImgHighZoomButton").hide(); 389 } 390 391 if ((p.width==imgW) && (p.height==imgH)) switchZoomHigh(); 382 392 } 383 393 else 384 394 { 385 395 //zoom = 'fit' 386 ratioImg = jQuery(document).data("highWidth") / jQuery(document).data("highHeight");396 ratioImg = imgW / imgH; 387 397 ratioPage = jQuery("html").get(0).clientWidth / jQuery("html").get(0).clientHeight; 388 398 … … 398 408 p.height = p.width/ratioImg; 399 409 } 410 411 if ((p.width > imgW) || (p.height > imgH)) { 412 p.height = imgH; 413 p.width = imgW; 414 jQuery("#theImgHighZoomButton").hide(); 415 } 400 416 p.left = (jQuery("html").get(0).clientWidth-p.width)/2; 401 417 p.top = (jQuery("html").get(0).clientHeight-p.height)/2; -
extensions/stripped/readme.txt
r16914 r17407 31 31 Changelog 32 32 --------- 33 34 *** version 2.2.7 35 36 - bugfixes with multisize support 37 - improved compatibility with PWG Stuffs + RV Maps & Earth plugins 38 - languages updates 33 39 34 40 *** version 2.2.6 -
extensions/stripped/theme.css
r14450 r17407 1339 1339 left:240px; 1340 1340 margin-bottom:15px; 1341 margin-right:2 60px;1341 margin-right:270px; 1342 1342 } 1343 1343 … … 1497 1497 } 1498 1498 1499 #content .stuffs_block .wrap2 { height:130px!important;} 1500 #content .stuffs_block .wrap1 .wrap2full { height:160px!important;}
Note: See TracChangeset
for help on using the changeset viewer.