Changeset 9764 for extensions/SmiliesSupport/main.inc.php
- Timestamp:
- Mar 19, 2011, 10:27:48 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmiliesSupport/main.inc.php
r9683 r9764 2 2 /* 3 3 Plugin Name: Smilies Support 4 Version: 2.2. 04 Version: 2.2.a 5 5 Description: Allow add Smilies for comments and descriptions. 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=159 … … 16 16 17 17 add_event_handler('render_comment_content', 'SmiliesParse', 60); 18 add_event_handler('loc_begin_picture', 'set_smiliessupport_page'); 18 add_event_handler('loc_after_page_header', 'add_smiliessupport'); 19 20 function add_smiliessupport() { 21 global $page; 22 if ($page['body_id'] == 'theCommentsPage' OR $page['body_id'] == 'thePicturePage') { 23 set_smiliessupport_page(); 24 } 25 } 19 26 20 27 if (script_basename() == 'admin')
Note: See TracChangeset
for help on using the changeset viewer.