From d9373193257b9a81943dcb6550c24348ef68490e Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 26 Sep 2005 07:55:11 +0000 Subject: [PATCH] Additional password check when changing password. Thanks to Nenad Jovanovic! --- docs/NEWS | 4 ++++ include/admin/personal.inc.php | 2 ++ include/tpl/config_personal.inc.php | 7 +++++++ lang/UTF-8/serendipity_lang_bg.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_cn.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_cs.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_cz.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_da.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_de.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_en.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_es.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_fa.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_fi.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_fr.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_hu.inc.php | 3 +++ lang/UTF-8/serendipity_lang_is.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_it.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_ja.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_ko.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_nl.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_no.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_pt.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_pt_PT.inc.php | 3 +++ lang/UTF-8/serendipity_lang_ro.inc.php | 3 +++ lang/UTF-8/serendipity_lang_ru.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_se.inc.php | 3 +++ lang/UTF-8/serendipity_lang_tn.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_tw.inc.php | 5 ++++- lang/UTF-8/serendipity_lang_zh.inc.php | 5 ++++- lang/addlang.txt | 2 +- lang/serendipity_lang_bg.inc.php | 3 +++ lang/serendipity_lang_cn.inc.php | 3 +++ lang/serendipity_lang_cs.inc.php | 3 +++ lang/serendipity_lang_cz.inc.php | 3 +++ lang/serendipity_lang_da.inc.php | 3 +++ lang/serendipity_lang_de.inc.php | 3 +++ lang/serendipity_lang_en.inc.php | 3 +++ lang/serendipity_lang_es.inc.php | 3 +++ lang/serendipity_lang_fa.inc.php | 3 +++ lang/serendipity_lang_fi.inc.php | 3 +++ lang/serendipity_lang_fr.inc.php | 3 +++ lang/serendipity_lang_hu.inc.php | 3 +++ lang/serendipity_lang_is.inc.php | 3 +++ lang/serendipity_lang_it.inc.php | 3 +++ lang/serendipity_lang_ja.inc.php | 3 +++ lang/serendipity_lang_ko.inc.php | 3 +++ lang/serendipity_lang_nl.inc.php | 3 +++ lang/serendipity_lang_no.inc.php | 3 +++ lang/serendipity_lang_pt.inc.php | 3 +++ lang/serendipity_lang_pt_PT.inc.php | 3 +++ lang/serendipity_lang_ro.inc.php | 3 +++ lang/serendipity_lang_ru.inc.php | 3 +++ lang/serendipity_lang_se.inc.php | 3 +++ lang/serendipity_lang_tn.inc.php | 3 +++ lang/serendipity_lang_tw.inc.php | 3 +++ lang/serendipity_lang_zh.inc.php | 3 +++ 56 files changed, 192 insertions(+), 23 deletions(-) diff --git a/docs/NEWS b/docs/NEWS index 516dd0c..cab1ac5 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,10 @@ Version 0.9 () ------------------------------------------------------------------------ + * More Security: When changing the password in your personal preferences, + you need to insert the old password. Thanks to Nenad Jovanovic for + contacting me about this issue! (garvinhicking) + * Fix not showing thumbnail images in media database when thumbSuffix is empty. Thanks to Brian J. France! diff --git a/include/admin/personal.inc.php b/include/admin/personal.inc.php index ae8842d..68b9529 100644 --- a/include/admin/personal.inc.php +++ b/include/admin/personal.inc.php @@ -16,6 +16,8 @@ if ( $serendipity['GET']['adminAction'] == 'save' ) { $config = serendipity_parseTemplate(S9Y_CONFIG_USERTEMPLATE); if (!serendipity_checkPermission('adminUsersEditUserlevel') && (int)$_POST['userlevel'] > $serendipity['serendipityUserlevel']) { echo '
' . CREATE_NOT_AUTHORIZED_USERLEVEL . '
'; + } elseif (!empty($_POST['password']) && $_POST['check_password'] != $_SESSION['serendipityPassword'] && md5($_POST['check_password']) != $_SESSION['serendipityPassword']) { + echo '
' . USERCONF_CHECK_PASSWORD_ERROR . '
'; } else { foreach($config as $category) { foreach ($category['items'] as $item) { diff --git a/include/tpl/config_personal.inc.php b/include/tpl/config_personal.inc.php index 47feb79..c63b599 100644 --- a/include/tpl/config_personal.inc.php +++ b/include/tpl/config_personal.inc.php @@ -22,6 +22,13 @@ 'default' => '', 'permission' => 'personalConfiguration'), + array('var' => 'check_password', + 'title' => USERCONF_CHECK_PASSWORD, + 'description' => USERCONF_CHECK_PASSWORD_DESC, + 'type' => 'protected', + 'default' => '', + 'permission' => 'personalConfiguration'), + array('var' => 'realname', 'title' => USERCONF_REALNAME, 'description' => USERCONF_REALNAME_DESC, diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 560ff64..fb8351e 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -1,4 +1,4 @@ - @@ -766,3 +766,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index 3f94985..e7f85b0 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -782,3 +782,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 5e1bf1e..5fcc082 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -782,3 +782,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index e833287..e10966f 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -1,4 +1,4 @@ - @@ -781,3 +781,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 832c966..7867e13 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ -, @@ -793,3 +793,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 59377fc..b0d2e64 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -1,4 +1,4 @@ - @@ -781,3 +781,6 @@ @define('INSTALL_ACL', 'اعمال کردن دسترسی خواندن برای موضوع ها'); @define('INSTALL_ACL_DESC', 'در صورت فعال بودن این گزینه, در صورتی که کاربران عضو شده، وارد سیستم شوند، دسترسی کاربران گروه ها اعمال می شود. در صورت غیر فعال بودن، دسترسی خواندن موضوعات اعمال نمی شود، اما کمی سرعت وبلاگ را زیاد می کند. پس اگر به وبلاگ چند کاربره با دسترسی محدود در خواندن نیازی ندارید، این گزینه را غیر فعال کنید.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 9fcdaae..5bb9b6f 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -786,3 +786,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 79b9852..3a57fbc 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -780,3 +780,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index a16d24c..fc92cfe 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -781,3 +781,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index b0e6287..9c72f6c 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -1,4 +1,4 @@ -, 2004-2005. @@ -784,3 +784,6 @@ Serendipity のアップグレードステージを無視しました。正し @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 2abcfa3..4d0595c 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -782,3 +782,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 66bb99b..d742f19 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -782,3 +782,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 1e31d2c..04d29cb 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -782,3 +782,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index ecb2d64..db56c1a 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -784,3 +784,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index eed7890..599047e 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -783,3 +783,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 7cae57e..4763721 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -779,3 +779,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index 6947137..e6cda5a 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -782,3 +782,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 90c988e..d947deb 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -781,3 +781,6 @@ @define('INSTALL_ACL', 'Apply read-permissions for categories'); @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.'); @define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".'); +@define('USERCONF_CHECK_PASSWORD', 'Old Password'); +@define('USERCONF_CHECK_PASSWORD_DESC', 'If you change the password in the field above, you need to enter the current user password into this field.'); +@define('USERCONF_CHECK_PASSWORD_ERROR', 'You did not specify the right old password, and are not authorized to change the new password. Your settings were not saved.'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index b4fa8bb..75b2e16 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -1,4 +1,4 @@ -