X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fchange_password%2Fsetup.php;h=3ab19fbb95bef313ea8374db3a1276861674161b;hp=1c8c96c264454d836a502a2e60f0453a38c182ea;hb=3ba5c6063eb9282838b862d4f206266d0034e905;hpb=6c84ba1ec45ab854c37b6f65c5b4d84ab1c7aad4 diff --git a/plugins/change_password/setup.php b/plugins/change_password/setup.php index 1c8c96c2..3ab19fbb 100644 --- a/plugins/change_password/setup.php +++ b/plugins/change_password/setup.php @@ -3,12 +3,11 @@ /** * setup.php - Generic Change Password plugin * - * Copyright (c) 2003-2005 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * This plugin aims to provide a general framework for all password * changing methods that currently have their own plugins. * + * @copyright © 2003-2007 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins * @subpackage change_password @@ -21,6 +20,7 @@ function squirrelmail_plugin_init_change_password() { global $squirrelmail_plugin_hooks; $squirrelmail_plugin_hooks['optpage_register_block']['change_password'] = 'change_password_optpage'; + $squirrelmail_plugin_hooks['optpage_set_loadinfo']['change_password'] = 'change_password_loadinfo'; } /** @@ -37,6 +37,18 @@ function change_password_optpage() { ); } +/** + * Displays information after "Successfully Saved Options:" + * @since 1.5.1 + */ +function change_password_loadinfo() { + global $optpage, $optpage_name; + if ($optpage=='change_password') { + // i18n: is displayed after "Successfully Saved Options:" + $optpage_name=_("User's Password"); + } +} + /** * Return version information * @return string version number @@ -44,4 +56,3 @@ function change_password_optpage() { function change_password_version() { return '0.2'; } -?> \ No newline at end of file