Changeset 9766 for extensions/Comments_on_Albums/main.inc.php
- Timestamp:
- Mar 19, 2011, 10:39:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_on_Albums/main.inc.php
r9641 r9766 2 2 /* 3 3 Plugin Name: Comments on Albums 4 Version: 0.34 Version: 1.0 5 5 Description: Activate comments on albums pages 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=512 … … 17 17 // +-----------------------------------------------------------------------+ 18 18 define('COA_NAME' , 'Comments on Albums'); 19 define('COA_VERSION', ' 0.3');19 define('COA_VERSION', '1.0'); 20 20 define('COA_DIR' , basename(dirname(__FILE__))); 21 21 define('COA_PATH' , PHPWG_PLUGINS_PATH . COA_DIR . '/'); … … 38 38 39 39 function COA_index() { 40 global $template, $page, $conf ;40 global $template, $page, $conf, $pwg_loaded_plugins; 41 41 42 42 if ($page['section'] == 'categories' AND isset($page['category'])) { 43 if (isset($pwg_loaded_plugins['bbcode_bar'])) set_bbcode_bar(); 44 else if (isset($pwg_loaded_plugins['SmiliesSupport']))set_smiliessupport_page(); 45 43 46 include(COA_PATH . 'include/coa_albums.php'); 44 47 }
Note: See TracChangeset
for help on using the changeset viewer.