Ignore:
Timestamp:
Jan 12, 2014, 10:03:35 PM (10 years ago)
Author:
flop25
Message:

updated for 2.5 & 2.6

Location:
extensions/stripped-galleria/template
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped-galleria/template/header.tpl

    r12975 r26671  
    4848<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
    4949<![endif]-->
     50<!--[if lt IE 7]>{include file='ie6.tpl'}<![endif]-->
     51
     52{if ($BODY_ID=='theCategoryPage')}
     53        {combine_script id='galleriaScript' require='jquery' load='header' path='themes/stripped-galleria/galleria/galleria-1.3.3.min.js'}
     54        {combine_script id='galleriaHistoryScript' require='jquery,galleriaScript' load='header' path='themes/stripped-galleria/galleria/plugins/history/galleria.history.min.js'}
     55        {if ($stripped.themeStyle == 'white')}
     56                {combine_script id='galleriaTheme' require='galleriaScript' load='footer' path='themes/stripped-galleria/galleria/themes/classicwhite/galleria.classic.min.js'}
     57        {else}
     58                {combine_script id='galleriaTheme' require='galleriaScript' load='footer' path='themes/stripped-galleria/galleria/themes/classic/galleria.classic.min.js'}
     59        {/if}
     60{/if}
    5061
    5162{if not empty($head_elements)}
  • extensions/stripped-galleria/template/index.tpl

    r13089 r26671  
    1 {php}
    2         global $conf;
    3         $this->assign('downloadLink', $conf['picture_download_icon']);
    4 {/php}
    51<div class="titrePage">
    62        <div class="browsePath">
  • extensions/stripped-galleria/template/thumbnails.tpl

    r20628 r26671  
    22{combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
    33{combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
    4 {php}
    5         global $stripped, $strippedgalleria, $page;
    6         $this->assign( 'stripped', $stripped );
    7         $this->assign( 'strippedgalleria', $strippedgalleria );
    8         $this->assign( 'get_root_url', get_root_url() );
    9         $this->assign( 'catid', @$page['category']['id'] );
    10         $this->assign( 'section', @$page['section'] );
    11         $this->assign( 'tagids',  @implode(',', @$page['tag_ids']) );
    12 {/php}
    134<div id="gallery"></div>
    145{footer_script}
     
    6556                                                jQuery.post("{/literal}{$get_root_url}{literal}themes/stripped-galleria/save_history.php", {
    6657                                                        imgid: "img-"+pid,
    67                                                         catid: "{/literal}{$catid}{literal}",
    68                                                         section: "{/literal}{$section}{literal}",
    69                                                         tagids: "{/literal}{$tagids}{literal}"
     58                                                        {/literal}{if !empty($catid)} catid: "{$catid}"{/if}{literal},
     59                                                        {/literal}{if !empty($section)} section: "{$section}"{/if}{literal},
     60                                                        {/literal}{if !empty($tagids)} tagids: "{$tagids}"{/if}{literal}
    7061                                                });
    7162                                    });
     
    7869                                                jQuery.post("{/literal}{$get_root_url}{literal}themes/stripped-galleria/save_history.php", {
    7970                                                        imgid: "img-"+pid,
    80                                                         catid: "{/literal}{$catid}{literal}",
    81                                                         section: "{/literal}{$section}{literal}",
    82                                                         tagids: "{/literal}{$tagids}{literal}"
     71                                                        {/literal}{if !empty($catid)} catid: "{$catid}"{/if}{literal},
     72                                                        {/literal}{if !empty($section)} section: "{$section}"{/if}{literal},
     73                                                        {/literal}{if !empty($tagids)} tagids: "{$tagids}"{/if}{literal}
    8374                                                });
    8475                                    });
Note: See TracChangeset for help on using the changeset viewer.