Changeset 25653 for extensions/user_tags/include
- Timestamp:
- Nov 23, 2013, 2:26:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/user_tags/include/t4u_content.class.php
r22062 r25653 51 51 52 52 $related_tags = array(); 53 if (!empty($template->smarty->_tpl_vars['related_tags'])) { 54 foreach ($template->smarty->_tpl_vars['related_tags'] as $id => $tag_infos) { 53 $_tpl_vars = $template->get_template_vars('related_tags'); 54 if (!empty($_tpl_vars)) { 55 foreach ($_tpl_vars as $id => $tag_infos) { 55 56 $related_tags['~~'.$tag_infos['id'].'~~'] = $tag_infos['name']; 56 57 } … … 65 66 } 66 67 67 public static function picture_prefilter($source, &$smarty) {68 public static function picture_prefilter($source, $smarty) { 68 69 $pattern = '{if $display_info.tags and isset($related_tags)}'; 69 70 $replace = '{if $display_info.tags}';
Note: See TracChangeset
for help on using the changeset viewer.