X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fchange_password%2Fsetup.php;h=3ab19fbb95bef313ea8374db3a1276861674161b;hp=1b43b9b3772ab1dad4e442d255858787a8e42628;hb=24024eb7a3db834ca68720cd30fec275af758237;hpb=47ccfad452e8d345542d09e59112cac317cffed8;ds=sidebyside diff --git a/plugins/change_password/setup.php b/plugins/change_password/setup.php index 1b43b9b3..3ab19fbb 100644 --- a/plugins/change_password/setup.php +++ b/plugins/change_password/setup.php @@ -6,7 +6,7 @@ * This plugin aims to provide a general framework for all password * changing methods that currently have their own plugins. * - * @copyright © 2003-2006 The SquirrelMail Project Team + * @copyright © 2003-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -29,24 +29,12 @@ function squirrelmail_plugin_init_change_password() { function change_password_optpage() { global $optpage_blocks; - // SM14 code: use change_password gettext domain binding for 1.4.x - if (! check_sm_version(1,5,0)) { - bindtextdomain('change_password',SM_PATH . 'locale'); - textdomain('change_password'); - } - $optpage_blocks[] = array( 'name' => _("Change Password"), 'url' => '../plugins/change_password/options.php', 'desc' => _("Use this to change your email password."), 'js' => FALSE ); - - // SM14 code: revert to squirrelmail domain for 1.4.x - if (! check_sm_version(1,5,0)) { - bindtextdomain('squirrelmail',SM_PATH . 'locale'); - textdomain('squirrelmail'); - } } /** @@ -56,20 +44,8 @@ function change_password_optpage() { function change_password_loadinfo() { global $optpage, $optpage_name; if ($optpage=='change_password') { - // SM14 code: use change_password gettext domain binding for 1.4.x - if (! check_sm_version(1,5,0)) { - bindtextdomain('change_password',SM_PATH . 'locale'); - textdomain('change_password'); - } - // i18n: is displayed after "Successfully Saved Options:" $optpage_name=_("User's Password"); - - // SM14 code: revert to squirrelmail domain for 1.4.x - if (! check_sm_version(1,5,0)) { - bindtextdomain('squirrelmail',SM_PATH . 'locale'); - textdomain('squirrelmail'); - } } } @@ -80,4 +56,3 @@ function change_password_loadinfo() { function change_password_version() { return '0.2'; } -?> \ No newline at end of file