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");
9 bindtextdomain(
"alternc-changepass", ALTERNC_CHANGEPASS_LOC.
"/bureau/locales");
12 global $squirrelmail_plugin_hooks;
13 $squirrelmail_plugin_hooks[
'optpage_register_block'][
'alternc_changepass'] =
'alternc_changepass_optpage_register_block';
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."),
26 textdomain(
"squirrelmail");
squirrelmail_plugin_init_alternc_changepass()
alternc_changepass_optpage_register_block()