Izbraisan watch zbog 'debian-watch-file-in-native-package'
[squirrelmail-change-pass.git] / setup.php
1 <?php
2     /* change_pass
3      *
4      * Licensed under the GNU GPL. For full terms see the file COPYING.
5      *
6      * $Id: setup.php,v 1.8 2009/05/05 03:09:22 indiri69 Exp $
7      */
8
9 function squirrelmail_plugin_init_change_pass() {
10     global $squirrelmail_plugin_hooks;
11
12     $squirrelmail_plugin_hooks['optpage_register_block']['change_pass'] = 'change_pass_opt';
13     $squirrelmail_plugin_hooks['optpage_set_loadinfo']['change_pass']   = 'change_pass_loadinfo';
14 }
15
16 function change_pass_info() {
17     include_once(SM_PATH . 'plugins/change_pass/functions.php');
18     return change_pass_info_real();
19 }
20
21 function change_pass_version() {
22     $info = change_pass_info();
23     return $info['version'];
24 }
25
26 function change_pass_opt() {
27     include_once(SM_PATH . 'plugins/change_pass/functions.php');
28     change_pass_option_link_do();
29 }
30
31 function change_pass_loadinfo() {
32     include_once(SM_PATH . 'plugins/change_pass/functions.php');
33     change_pass_loadinfo_real();
34 }