X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fchange_password%2Fbackend%2Ftemplate.php;h=6aa85e0eb8b9e7e25aaadd23dcd9b8bc827f5adc;hb=22387c8d44f3ab104db6e19180d3775a45762359;hp=e7b0a8b474fe2c7505beee37f053e098657476fc;hpb=202bcbcc2b67c7c153db1b09b608b62beeba0496;p=squirrelmail.git diff --git a/plugins/change_password/backend/template.php b/plugins/change_password/backend/template.php index e7b0a8b4..6aa85e0e 100644 --- a/plugins/change_password/backend/template.php +++ b/plugins/change_password/backend/template.php @@ -10,7 +10,7 @@ * * Replace the word template everywhere with a name for your backend. * - * @copyright © 2003-2006 The SquirrelMail Project Team + * @copyright 2003-2017 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -39,12 +39,12 @@ $squirrelmail_plugin_hooks['change_password_init']['template'] = */ function cpw_template_init() { - global $color; + global $oTemplate; // plugin is not configured. Handle error gracefully. - error_box(_("No valid backend defined."),$color); + error_box(_("No valid backend defined.")); // close html and stop script execution - echo "\n"; + $oTemplate->display('footer.tpl'); exit(); }