X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fchange_password%2Fbackend%2Ftemplate.php;h=73bd20f2408c222bade1952e2204e68a8a823657;hp=2669fc2248ad0200887070b0bd545d9d745d9b51;hb=5c34b0bbf0fc464baa22d6ae069d4b7bd305d2cf;hpb=555d97ec993e00b9cff04187a58954212dcb9f1a diff --git a/plugins/change_password/backend/template.php b/plugins/change_password/backend/template.php index 2669fc22..73bd20f2 100644 --- a/plugins/change_password/backend/template.php +++ b/plugins/change_password/backend/template.php @@ -19,6 +19,20 @@ global $squirrelmail_plugin_hooks; $squirrelmail_plugin_hooks['change_password_dochange']['template'] = 'cpw_template_dochange'; +$squirrelmail_plugin_hooks['change_password_init']['template'] = + 'cpw_template_init'; + + +/** + * Use this function to do any backend-specific initialization, + * e.g. checking requirements, before the password change form + * is displayed to the user. + */ +function cpw_template_init() +{ + +} + /** * This is the function that is specific to your backend. It takes