Changeset 16065


Ignore:
Timestamp:
06/26/12 22:19:52 (7 years ago)
Author:
plg
Message:

compatibility with Piwigo 2.4

Location:
extensions/kardon
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/kardon/template/slideshow.tpl

    r9803 r16065  
     1{assign var='size' value=$current.selected_derivative->get_size()} 
     2 
     3 
    14{combine_css path="themes/kardon/slideshow.css"} 
    25 
     
    47jQuery(document).ready(function() { 
    58  var maxWidth = maxHeight  = margin =  0; 
    6   var finalW = w = {/literal}{$WIDTH_IMG}{literal}, finalH = h = {/literal}{$HEIGHT_IMG}{literal}; 
     9  var finalW = w = {/literal}{$size[0]}{literal}, finalH = h = {/literal}{$size[1]}{literal}; 
    710  if (typeof( window.innerWidth ) == 'number') { 
    811    // Non-IE 
     
    4649  } 
    4750 
    48   jQuery("#theImage").append('<img style="margin-top:'+margin+'px; width:'+finalW+'px;height:'+finalH+'px" src="{/literal}{$SRC_IMG}{literal}" alt="">'); 
     51  jQuery("#theImage").append('<img style="margin-top:'+margin+'px; width:'+finalW+'px;height:'+finalH+'px" src="{/literal}{$current.selected_derivative->get_url()}{literal}" alt="">'); 
    4952}); 
    5053{/literal}{/footer_script} 
     
    6972<noscript> 
    7073  <div> 
    71     <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"> 
     74    <img src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()} alt="{$ALT_IMG}"> 
    7275  </div> 
    7376</noscript> 
  • extensions/kardon/theme.css

    r9804 r16065  
    5454} 
    5555 
     56.switchBox { 
     57  background-image: url(images/fond_diapo.png); 
     58  color:#ccc; 
     59} 
     60 
     61.switchBoxTitle, #languageSwitchBox .switchBoxTitle {border-color:#606060 !important;} 
     62 
     63.switchBox a, #languageSwitchBox a {color:#ddd !important;} 
     64.switchBox a:hover {color:#fff} 
     65 
     66#languageSwitchBox { 
     67  border: none !important; 
     68} 
    5669 
    5770/*{{{  Entête */ 
     
    120133} 
    121134body .content div.titrePage  ul.categoryActions { 
    122         float: none; 
    123         position: absolute; 
    124         right: 10px; 
    125         top: 46px; 
     135        float: right; 
     136        margin-top: -40px; 
    126137        padding: 0; 
    127138} 
     
    191202        padding: 0; 
    192203        position: absolute; 
    193         margin: 32px 0 0; 
     204        top:80px; 
    194205        width: 100%; 
    195206        color:#76634E; 
    196         z-index: 4; 
     207        z-index: -10; 
    197208        clear: none; 
    198209        left: 0; 
     
    205216#imageToolBar 
    206217{ 
    207         position: relative; 
     218        /* position: relative; */ 
    208219        z-index: 5; 
    209220        margin: 0; 
     
    211222div#imageToolBar a { 
    212223        width: 28px; 
     224} 
     225 
     226#imageToolBar .imageNumber { 
     227  margin-top:-30px; 
     228} 
     229 
     230#imageToolBar .actionButtons { 
     231  margin-left: 10px; 
     232  z-index:20; 
    213233} 
    214234 
     
    279299 
    280300 
     301#thePicturePage #content {padding:0;} 
Note: See TracChangeset for help on using the changeset viewer.