projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix variable name typo
[squirrelmail.git]
/
plugins
/
change_password
/
setup.php
diff --git
a/plugins/change_password/setup.php
b/plugins/change_password/setup.php
index cc550f6778d9fac81d7ae118e182fd079e0c82f7..b2763dd6aedc364011189da35afc719af3b7c0e4 100644
(file)
--- a/
plugins/change_password/setup.php
+++ b/
plugins/change_password/setup.php
@@
-3,12
+3,11
@@
/**
* setup.php - Generic Change Password plugin
*
/**
* 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.
*
* This plugin aims to provide a general framework for all password
* changing methods that currently have their own plugins.
*
+ * @copyright 2003-2020 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage change_password
* @version $Id$
* @package plugins
* @subpackage change_password
@@
-30,24
+29,12
@@
function squirrelmail_plugin_init_change_password() {
function change_password_optpage() {
global $optpage_blocks;
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
);
$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');
- }
}
/**
}
/**
@@
-57,20
+44,8
@@
function change_password_optpage() {
function change_password_loadinfo() {
global $optpage, $optpage_name;
if ($optpage=='change_password') {
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");
// 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');
- }
}
}
}
}
@@
-81,4
+56,3
@@
function change_password_loadinfo() {
function change_password_version() {
return '0.2';
}
function change_password_version() {
return '0.2';
}
-?>
\ No newline at end of file