adding "Successfully save options: User's password" message
[squirrelmail.git] / plugins / change_password / setup.php
index 1c8c96c264454d836a502a2e60f0453a38c182ea..9b7ca21b777aad5e27ed249a219f9a41402bcf32 100644 (file)
@@ -21,6 +21,7 @@ function squirrelmail_plugin_init_change_password() {
     global $squirrelmail_plugin_hooks;
 
     $squirrelmail_plugin_hooks['optpage_register_block']['change_password'] = 'change_password_optpage';
     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 +38,19 @@ 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
 /**
  * Return version information
  * @return string version number