Changeset 9038 for extensions/pwgCumulus/include
- Timestamp:
- Feb 1, 2011, 2:23:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pwgCumulus/include/pwgCumulusContent.class.php
r6433 r9038 3 3 // | pwgCumulus - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | … … 32 32 33 33 $GLOBALS['template']->set_filenames(array('tags'=> PWG_CUMULUS_PLUGIN_TEMPLATE . '/tags.tpl')); 34 $GLOBALS['template']->func_known_script(array('id' => 'swfobject', 35 'src' => PWG_CUMULUS_PLUGIN_JS. '/swfobject.js' 36 ), 37 $GLOBALS['template']->smarty 38 ); 34 35 if (version_compare(PHPWG_VERSION, '2.2', '>=') || (PHPWG_VERSION=='Colibri')) { 36 $GLOBALS['template']->func_combine_script(array('id' => 'swfobject', 37 'path' => PWG_CUMULUS_PLUGIN_JS. '/swfobject.js' 38 ), 39 $GLOBALS['template']->smarty 40 ); 41 } else { 42 $GLOBALS['template']->func_known_script(array('id' => 'swfobject', 43 'src' => PWG_CUMULUS_PLUGIN_JS. '/swfobject.js' 44 ), 45 $GLOBALS['template']->smarty 46 ); 47 } 39 48 40 49 $GLOBALS['template']->assign('PWG_CUMULUS_SWF', PWG_CUMULUS_PLUGIN_SWF);
Note: See TracChangeset
for help on using the changeset viewer.