Changeset 10011 for extensions/bbcode_bar/bbcode_bar.inc.php
- Timestamp:
- Apr 3, 2011, 12:03:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/bbcode_bar/bbcode_bar.inc.php
r9965 r10011 4 4 function set_bbcode_bar() 5 5 { 6 global $template, $conf, $ lang, $user, $pwg_loaded_plugins, $page;6 global $template, $conf, $pwg_loaded_plugins, $page; 7 7 load_language('plugin.lang', dirname(__FILE__) . '/'); 8 8 $conf_bbcode_bar = unserialize($conf['bbcode_bar']); … … 28 28 $template->parse('bbcode_bar', true); 29 29 30 // smilies support ## must be parsed avec bbcode_bar, because the javascript must be after bbc's one 31 if (isset($pwg_loaded_plugins['SmiliesSupport'])) 32 { 33 set_smiliessupport(); 30 // smilies support >2.2.a ## must be parsed after bbcode_bar, because the javascript must be after bbc's one 31 if (isset($pwg_loaded_plugins['SmiliesSupport']) AND version_compare($pwg_loaded_plugins['SmiliesSupport']['version'], '2.2.a') != -1) { 32 set_smiliessupport(); 34 33 } 35 34 }
Note: See TracChangeset
for help on using the changeset viewer.