Alternc  3.2
Alternc logiel libre pour l'h├ębergement
 All Data Structures Namespaces Files Functions Variables Pages
setup.php
Go to the documentation of this file.
1 <?php
2 
3 @include_once("/etc/squirrelmail/alternc-changepass.conf");
4 if (!defined("ALTERNC_CHANGEPASS_LOC")) {
5  error_log("No configuration for squirrelmail plugin at /etc/squirrelmail/alternc-changepass.conf, please check");
6  return;
7 }
8 
9 bindtextdomain("alternc-changepass", ALTERNC_CHANGEPASS_LOC."/bureau/locales");
10 
12  global $squirrelmail_plugin_hooks;
13  $squirrelmail_plugin_hooks['optpage_register_block']['alternc_changepass'] = 'alternc_changepass_optpage_register_block';
14 }
15 
16 
18  global $optpage_blocks;
19  textdomain("alternc-changepass");
20  $optpage_blocks[] = array(
21  'name' => _("Change Password"),
22  'url' => '../plugins/alternc_changepass/change.php',
23  'desc' => _("Change the password of your email account."),
24  'js' => false
25  );
26  textdomain("squirrelmail");
27 }
28 
29 
30 ?>