Changeset 14482


Ignore:
Timestamp:
Apr 27, 2012, 7:53:12 PM (8 years ago)
Author:
Zaphod
Message:

version 1.3.2

Location:
extensions/stripped-galleria
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped-galleria/readme.txt

    r13102 r14482  
    1414---------
    1515
     16*** version 1.3.2
     17- bug fix with carriage return in descriptions
     18
    1619*** version 1.3.1
    1720- bug correction
     
    2730- new lightbox option in the theme configuration page
    2831
    29 
    3032*** version 1.1.0
    3133- compatibility with stripped 2.1.0
    32 
    3334
    3435*** version 1.0.2
    3536- bug fix
    3637
    37 
    3838*** version 1.0.1
    3939- bug fix
    4040
    41 
    4241*** version 1.0.0
    4342- first version
  • extensions/stripped-galleria/template/thumbnails.tpl

    r13104 r14482  
    99        $this->assign( 'tagids',  @implode(',', @$page['tag_ids']) );
    1010{/php}
     11{assign var='h1' value=60}
     12{assign var='h2' value=$h1+10}
     13{assign var='h3' value=$h1+20}
     14<style type="text/css">{literal}
     15        .galleria-image {height:{/literal}{$h1}{literal}px;}
     16        .galleria-thumbnails-container {height:{/literal}{$h2}{literal}px;}
     17        .galleria-stage {bottom: {/literal}{$h3}{literal}px;}
     18{/literal}</style>
    1119<div id="gallery"></div>
    1220{footer_script}
     
    1826                        image: '{/literal}{$thumbnail.FILE_PATH}{literal}',
    1927                        big: '{/literal}{if (($thumbnail.FILE_HAS_HD) && ($strippedgalleria.lightbox == 'hd'))}{$thumbnail.HD_PATH}{else}{$thumbnail.FILE_PATH}{/if}{literal}',
    20                         title: '{/literal}{$thumbnail.NAME|strip_tags:false|replace:'\'':'&#39;'|replace:'"':'&quot;'}{literal}',
    21                         description: '{/literal}{$thumbnail.FILE_DESC|strip_tags:false|replace:'\'':'&#39;'|replace:'"':'&quot;'}{literal}',
     28                        title: '{/literal}{$thumbnail.NAME|strip_tags:false|replace:'\'':'&#39;'|replace:'"':'&quot;'|nl2br|regex_replace:"/[\r\n]/":""}{literal}',
     29                        description: '{/literal}{$thumbnail.FILE_DESC|strip_tags:false|replace:'\'':'&#39;'|replace:'"':'&quot;'|nl2br|regex_replace:"/[\r\n]/":""}{literal}',
    2230                        piwigo_id: {/literal}{$thumbnail.ID}{literal},
    2331                        piwigo_hashd: {/literal}{if ($thumbnail.FILE_HAS_HD)}true{else}false{/if}{literal}
     
    3644                                transition:'{/literal}{$strippedgalleria.transition}{literal}',
    3745                                showCounter:false,
    38                                 imageTimeout:500000,
     46                                imageTimeout:600000,
    3947                                maxScaleRatio:1,
    4048                                extend:function() {
Note: See TracChangeset for help on using the changeset viewer.