From be52730af6a65a3cb72a1a2513ba9a686286e689 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Wed, 15 Feb 2006 14:45:56 +0000 Subject: [PATCH] Check for empty username --- include/admin/personal.inc.php | 2 ++ lang/UTF-8/serendipity_lang_bg.inc.php | 1 + lang/UTF-8/serendipity_lang_cn.inc.php | 3 ++- lang/UTF-8/serendipity_lang_cs.inc.php | 3 ++- lang/UTF-8/serendipity_lang_cz.inc.php | 3 ++- lang/UTF-8/serendipity_lang_da.inc.php | 3 ++- lang/UTF-8/serendipity_lang_de.inc.php | 3 ++- lang/UTF-8/serendipity_lang_en.inc.php | 3 ++- lang/UTF-8/serendipity_lang_es.inc.php | 3 ++- lang/UTF-8/serendipity_lang_fa.inc.php | 3 ++- lang/UTF-8/serendipity_lang_fi.inc.php | 3 ++- lang/UTF-8/serendipity_lang_fr.inc.php | 3 ++- lang/UTF-8/serendipity_lang_hu.inc.php | 1 + lang/UTF-8/serendipity_lang_is.inc.php | 3 ++- lang/UTF-8/serendipity_lang_it.inc.php | 3 ++- lang/UTF-8/serendipity_lang_ja.inc.php | 3 ++- lang/UTF-8/serendipity_lang_ko.inc.php | 3 ++- lang/UTF-8/serendipity_lang_nl.inc.php | 3 ++- lang/UTF-8/serendipity_lang_no.inc.php | 3 ++- lang/UTF-8/serendipity_lang_pt.inc.php | 3 ++- lang/UTF-8/serendipity_lang_pt_PT.inc.php | 1 + lang/UTF-8/serendipity_lang_ro.inc.php | 1 + lang/UTF-8/serendipity_lang_ru.inc.php | 3 ++- lang/UTF-8/serendipity_lang_se.inc.php | 1 + lang/UTF-8/serendipity_lang_ta.inc.php | 1 + lang/UTF-8/serendipity_lang_tn.inc.php | 3 ++- lang/UTF-8/serendipity_lang_tw.inc.php | 3 ++- lang/UTF-8/serendipity_lang_zh.inc.php | 3 ++- lang/addlang.txt | 3 +-- lang/plugin_lang.php | 1 + lang/serendipity_lang_bg.inc.php | 1 + lang/serendipity_lang_cn.inc.php | 1 + lang/serendipity_lang_cs.inc.php | 1 + lang/serendipity_lang_cz.inc.php | 1 + lang/serendipity_lang_da.inc.php | 1 + lang/serendipity_lang_de.inc.php | 1 + lang/serendipity_lang_en.inc.php | 1 + lang/serendipity_lang_es.inc.php | 1 + lang/serendipity_lang_fa.inc.php | 1 + lang/serendipity_lang_fi.inc.php | 1 + lang/serendipity_lang_fr.inc.php | 1 + lang/serendipity_lang_hu.inc.php | 1 + lang/serendipity_lang_is.inc.php | 1 + lang/serendipity_lang_it.inc.php | 1 + lang/serendipity_lang_ja.inc.php | 1 + lang/serendipity_lang_ko.inc.php | 1 + lang/serendipity_lang_nl.inc.php | 1 + lang/serendipity_lang_no.inc.php | 1 + lang/serendipity_lang_pt.inc.php | 1 + lang/serendipity_lang_pt_PT.inc.php | 1 + lang/serendipity_lang_ro.inc.php | 1 + lang/serendipity_lang_ru.inc.php | 1 + lang/serendipity_lang_se.inc.php | 1 + lang/serendipity_lang_ta.inc.php | 1 + lang/serendipity_lang_tn.inc.php | 1 + lang/serendipity_lang_tw.inc.php | 1 + lang/serendipity_lang_zh.inc.php | 1 + 57 files changed, 79 insertions(+), 23 deletions(-) diff --git a/include/admin/personal.inc.php b/include/admin/personal.inc.php index 9274641..ce562ea 100644 --- a/include/admin/personal.inc.php +++ b/include/admin/personal.inc.php @@ -17,6 +17,8 @@ if ($serendipity['GET']['adminAction'] == 'save' && serendipity_checkFormToken() if ( (!serendipity_checkPermission('adminUsersEditUserlevel') || !serendipity_checkPermission('adminUsersMaintainOthers') ) && (int)$_POST['userlevel'] > $serendipity['serendipityUserlevel']) { echo '
' . CREATE_NOT_AUTHORIZED_USERLEVEL . '
'; + } elseif (empty($_POST['username'])) { + echo '
' . USERCONF_CHECK_USERNAME_ERROR . '
'; } elseif (!empty($_POST['password']) && $_POST['check_password'] != $_SESSION['serendipityPassword'] && md5($_POST['check_password']) != $_SESSION['serendipityPassword']) { echo '
' . USERCONF_CHECK_PASSWORD_ERROR . '
'; } else { diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index d3034b4..f5abb76 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -797,3 +797,4 @@ @define('INSTALL_RSSFETCHLIMIT_DESC', 'Брой на статиите, които да бъдат извеждани в RSS емисии.'); @define('INSTAL_DB_UTF8', 'Разрешаване на прекодирането на символите при работа с MySQL база данни'); @define('INSTAL_DB_UTF8_DESC', 'Специално за MySQL. Отговор \'Да\' изпълнява \'SET NAMES\', за да определи кодирането на символите в базата данни. Включете или изключете тази опция, ако виждате нечетими символи в статиите.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index abfcae9..e464308 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 3b067dc..247a067 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index f140931..09e6983 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -1,4 +1,4 @@ - @@ -811,3 +811,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 7e73e96..2e30810 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ -, @@ -827,3 +827,4 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('INSTAL_DB_UTF8_DESC', 'Envía una consulta MySQL "SET NAMES" para definir el juego de caracteres requerido por la base de datos. Actívalo o desactívalo sí ves caracteres extraños en tu blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 0bc6396..924f46b 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -1,4 +1,4 @@ - @@ -811,3 +811,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 622c697..d8b9d06 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -809,3 +809,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index 3195f9f..18a550e 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -1,4 +1,4 @@ - @@ -816,3 +816,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index e659000..084cec9 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -810,3 +810,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 0265b15..6f8df5c 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -810,3 +810,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index 1d75bae..f074c78 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -1,4 +1,4 @@ - @@ -811,3 +811,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 2ed4de5..bccb509 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. @@ -813,3 +813,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index da77332..b8fa3ae 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 15e81ed..f6441f6 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 8c9b299..769e48c 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 67eb376..fc2412b 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -814,3 +814,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 4d0cdf0..ed51dfe 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -817,3 +817,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 2945f47..89e4595 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -810,3 +810,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index 02f5507..db595ed 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -813,3 +813,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index 6c6126d..6980f75 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -809,3 +809,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_ta.inc.php b/lang/UTF-8/serendipity_lang_ta.inc.php index 610e74b..cd00712 100644 --- a/lang/UTF-8/serendipity_lang_ta.inc.php +++ b/lang/UTF-8/serendipity_lang_ta.inc.php @@ -809,3 +809,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index 5651c51..aa02eda 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -1,4 +1,4 @@ - @@ -812,3 +812,4 @@ $i18n_unknown = 'tw'; @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 9950167..e256437 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -812,3 +812,4 @@ $i18n_unknown = 'tw'; @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index a1ebeac..4888504 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -1,4 +1,4 @@ - $constants) { @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index e94fa9c..cc939b7 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -797,3 +797,4 @@ @define('INSTALL_RSSFETCHLIMIT_DESC', 'Áðîé íà ñòàòèèòå, êîèòî äà áúäàò èçâåæäàíè â RSS åìèñèè.'); @define('INSTAL_DB_UTF8', 'Ðàçðåøàâàíå íà ïðåêîäèðàíåòî íà ñèìâîëèòå ïðè ðàáîòà ñ MySQL áàçà äàííè'); @define('INSTAL_DB_UTF8_DESC', 'Ñïåöèàëíî çà MySQL. Îòãîâîð \'Äà\' èçïúëíÿâà \'SET NAMES\', çà äà îïðåäåëè êîäèðàíåòî íà ñèìâîëèòå â áàçàòà äàííè. Âêëþ÷åòå èëè èçêëþ÷åòå òàçè îïöèÿ, àêî âèæäàòå íå÷åòèìè ñèìâîëè â ñòàòèèòå.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index af5a08f..19d3b9a 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -810,3 +810,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index 8af5271..553b8bd 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index 8f7055d..da24674 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index 2fc9fae..d1dca4b 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -811,3 +811,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index e9e80f5..d5005ce 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -810,3 +810,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index c1632a8..e12d830 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -809,3 +809,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index 5d48e21..13c375c 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -827,3 +827,4 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('INSTAL_DB_UTF8_DESC', 'Envía una consulta MySQL "SET NAMES" para definir el juego de caracteres requerido por la base de datos. Actívalo o desactívalo sí ves caracteres extraños en tu blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index f714c57..fbdf45a 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -811,3 +811,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index 73eda22..01e308f 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -809,3 +809,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index f187c60..c9018d4 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -816,3 +816,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index b874f74..eb1f240 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -810,3 +810,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index a777800..3b26a03 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -810,3 +810,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index 9a10fd6..f9a7b8b 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -811,3 +811,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index 96b993a..1bd4d39 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -813,3 +813,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index 1311847..0233251 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index 7d94c1c..b4b1a52 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index dea5974..7a934b4 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -812,3 +812,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index 732c500..3451cc0 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -814,3 +814,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index 150437a..d8317bd 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -817,3 +817,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 2945f47..89e4595 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -810,3 +810,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index e3ec56a..b0a7685 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -813,3 +813,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index eabbc39..da56fef 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -809,3 +809,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index 610e74b..cd00712 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -809,3 +809,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index c8c2fb3..3296d2a 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -812,3 +812,4 @@ $i18n_unknown = 'tw'; @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index addbd97..9a5cc7b 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -812,3 +812,4 @@ $i18n_unknown = 'tw'; @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index 9b6ca26..028089d 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -810,3 +810,4 @@ @define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); @define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); @define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); +@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); -- 2.39.5