4 * setup.php - Generic Change Password plugin
6 * Copyright (c) 2003-2004 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 * This plugin aims to provide a general framework for all password
10 * changing methods that currently have their own plugins.
14 * @subpackage change_password
18 * Plugin init function
20 function squirrelmail_plugin_init_change_password() {
21 global $squirrelmail_plugin_hooks;
23 $squirrelmail_plugin_hooks['optpage_register_block']['change_password'] = 'change_password_optpage';
27 * Add plugin option block
29 function change_password_optpage() {
30 global $optpage_blocks;
32 $optpage_blocks[] = array(
33 'name' => _("Change Password"),
34 'url' => '../plugins/change_password/options.php',
35 'desc' => _("Use this to change your email password."),
41 * Return version information
42 * @return string version number
44 function change_password_version() {