source: extensions/ContactForm/main.inc.php @ 13741

Revision 8909, 1.2 KB checked in by Gotcha, 9 years ago (diff)

To remove the reference to the classification of version
bug:2132

Line 
1<?php
2/*
3Plugin Name: Contact Form
4Version: auto
5Description: Add a "Contact" item in the Menu block to offer a contact form to users
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=304
7Author: Criss, Gotcha
8Author URI: http://piwigo.org/
9*/
10
11if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
12
13define('CF_PATH',     PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
14define('CF_ROOT',     dirname(__FILE__).'/');
15include_once(CF_PATH . 'include/cf_common.inc.php');
16
17$cf_plugin = new CF_Plugin($plugin['id']);
18add_event_handler('loc_begin_index',             
19                  array(&$cf_plugin, 'loc_begin_index'));
20add_event_handler('loc_begin_page_tail',             
21                  array(&$cf_plugin, 'loc_begin_page_header'));
22add_event_handler('blockmanager_apply',             
23                  array(&$cf_plugin, 'blockmanager_apply'));
24add_event_handler('loc_end_index',             
25                  array(&$cf_plugin, 'loc_end_index'));
26add_event_handler('loc_end_page_tail',
27                  array(&$cf_plugin, 'loc_end_page_tail'));
28if(defined('IN_ADMIN')) {
29  add_event_handler('get_admin_plugin_menu_links',
30                    array(&$cf_plugin, 'get_admin_plugin_menu_links'));
31}
32set_plugin_data($plugin['id'], $cf_plugin);
33?>
Note: See TracBrowser for help on using the repository browser.