Changeset 27332 for extensions/modus/themeconf.inc.php
- Timestamp:
- Feb 11, 2014, 9:50:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/modus/themeconf.inc.php
r27151 r27332 2 2 /* 3 3 Theme Name: modus 4 Version: 2.6. a4 Version: 2.6.b 5 5 Description: Responsive, horizontal menu, retina aware, no lost space. 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=728 … … 174 174 175 175 $this->smarty->registerPlugin('function', 'modus_thumbs', 'modus_thumbs'); 176 function modus_thumbs( )176 function modus_thumbs($x, $smarty) 177 177 { 178 178 global $template, $page, $conf; … … 180 180 '; 181 181 182 $default_params = $ template->get_template_vars('derivative_params');182 $default_params = $smarty->getTemplateVars('derivative_params'); 183 183 $row_height = $default_params->max_height(); 184 184 $device = get_device(); … … 211 211 $new_icon = " <span class=albSymbol title=\"".l10n('posted on %s')."\">".MODUS_STR_RECENT.'</span>'; 212 212 213 foreach($ template->get_template_vars('thumbnails') as $item)213 foreach($smarty->getTemplateVars('thumbnails') as $item) 214 214 { 215 215 $src_image = $item['src_image'];
Note: See TracChangeset
for help on using the changeset viewer.