Changeset 26671 for extensions/stripped-galleria/template/thumbnails.tpl
- Timestamp:
- Jan 12, 2014, 10:03:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.