Changeset 26671 for extensions/stripped-galleria/template
- Timestamp:
- Jan 12, 2014, 10:03:35 PM (10 years ago)
- Location:
- extensions/stripped-galleria/template
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped-galleria/template/header.tpl
r12975 r26671 48 48 <script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script> 49 49 <![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} 50 61 51 62 {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}5 1 <div class="titrePage"> 6 2 <div class="browsePath"> -
extensions/stripped-galleria/template/thumbnails.tpl
r20628 r26671 2 2 {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} 3 3 {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}13 4 <div id="gallery"></div> 14 5 {footer_script} … … 65 56 jQuery.post("{/literal}{$get_root_url}{literal}themes/stripped-galleria/save_history.php", { 66 57 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} 70 61 }); 71 62 }); … … 78 69 jQuery.post("{/literal}{$get_root_url}{literal}themes/stripped-galleria/save_history.php", { 79 70 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} 83 74 }); 84 75 });
Note: See TracChangeset
for help on using the changeset viewer.