Changeset 9965 for extensions/bbcode_bar/main.inc.php
- Timestamp:
- Apr 1, 2011, 10:54:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/bbcode_bar/main.inc.php
r9765 r9965 12 12 define('BBcode_DIR' , basename(dirname(__FILE__))); 13 13 define('BBcode_PATH' , PHPWG_PLUGINS_PATH . BBcode_DIR . '/'); 14 define('BBcode_codes', serialize(array('b','i','u','s','p','center','right','quote','ul','ol','img','url','email','size','color'))); 14 15 15 16 include_once(BBcode_PATH.'bbcode_bar.inc.php'); … … 25 26 function add_bbcode_bar() { 26 27 global $page; 27 if ($page['body_id'] == 'theCommentsPage' OR $page['body_id'] == 'thePicturePage') { 28 29 if (isset($page['body_id']) AND $page['body_id'] == 'thePicturePage') { 28 30 set_bbcode_bar(); 29 31 } … … 43 45 } 44 46 47 45 48 ?>
Note: See TracChangeset
for help on using the changeset viewer.