diff --git a/interface/web/sites/database_user_edit.php b/interface/web/sites/database_user_edit.php index 1fec35c5f180be5707b46297deda6133f4fa4157..5224cc50a8cca00470c69c3800dbbd9b50e61e29 100644 --- a/interface/web/sites/database_user_edit.php +++ b/interface/web/sites/database_user_edit.php @@ -182,6 +182,9 @@ class page_action extends tform_actions { //* Database username shall not be empty if($this->dataRecord['database_user'] == '') $app->tform->errorMessage .= $app->tform->wordbook["database_user_error_empty"].'<br />'; + + //* Database password shall not be empty + if($this->dataRecord['database_password'] == '') $app->tform->errorMessage .= $app->tform->wordbook["database_password_error_empty"].'<br />'; //* Get the database name and database user prefix $app->uses('getconf,tools_sites'); diff --git a/interface/web/sites/lib/lang/ar_database_user.lng b/interface/web/sites/lib/lang/ar_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/ar_database_user.lng +++ b/interface/web/sites/lib/lang/ar_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/bg_database_user.lng b/interface/web/sites/lib/lang/bg_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/bg_database_user.lng +++ b/interface/web/sites/lib/lang/bg_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/br_database_user.lng b/interface/web/sites/lib/lang/br_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/br_database_user.lng +++ b/interface/web/sites/lib/lang/br_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/ca_database_user.lng b/interface/web/sites/lib/lang/ca_database_user.lng index ed143d572c7724ef129fe942b0cac9cb14faa960..2b19491e9633c91b1aaa0b3fa946fa87dc8959cb 100644 --- a/interface/web/sites/lib/lang/ca_database_user.lng +++ b/interface/web/sites/lib/lang/ca_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 resultat'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/cz_database_user.lng b/interface/web/sites/lib/lang/cz_database_user.lng index 81c77a1a808f6a24e57bca934b593efa3b234e43..165bcf8ec05831e5ef62297b2f9a156c25407659 100644 --- a/interface/web/sites/lib/lang/cz_database_user.lng +++ b/interface/web/sites/lib/lang/cz_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 výsledků'; $wb['globalsearch_searchfield_watermark_txt'] = 'Hledat'; $wb['globalsearch_suggestions_text_txt'] = 'Návrhy'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/de_database_user.lng b/interface/web/sites/lib/lang/de_database_user.lng index 3c14f2723a06c46da12949240423601390aa1901..1fdd237fd8f487d7e67ccf6e8b00eca727d8bfb5 100644 --- a/interface/web/sites/lib/lang/de_database_user.lng +++ b/interface/web/sites/lib/lang/de_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 Treffer'; $wb['globalsearch_searchfield_watermark_txt'] = 'Suche'; $wb['globalsearch_suggestions_text_txt'] = 'Vorschläge'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Datenbank-Passwort ist leer.'; ?> diff --git a/interface/web/sites/lib/lang/dk_database_user.lng b/interface/web/sites/lib/lang/dk_database_user.lng index 51110c772cc7d408c6334a14ff0b2a54892f2ef7..c915824e9074b756b7831558ca37c7f98ce0f4de 100644 --- a/interface/web/sites/lib/lang/dk_database_user.lng +++ b/interface/web/sites/lib/lang/dk_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 resultater'; $wb['globalsearch_searchfield_watermark_txt'] = 'Søg'; $wb['globalsearch_suggestions_text_txt'] = 'Forslag'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/el_database_user.lng b/interface/web/sites/lib/lang/el_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/el_database_user.lng +++ b/interface/web/sites/lib/lang/el_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/en_database_user.lng b/interface/web/sites/lib/lang/en_database_user.lng index 3f478f1a35c9696af481151dcdaca9a19a3a2674..dee9ddb0808a4e4c70454d0790208b012271daae 100644 --- a/interface/web/sites/lib/lang/en_database_user.lng +++ b/interface/web/sites/lib/lang/en_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = "0 results"; $wb['globalsearch_searchfield_watermark_txt'] = "Search"; $wb['globalsearch_suggestions_text_txt'] = "Suggestions"; $wb['limit_database_user_txt'] = "The max. number of database users is reached."; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/es_database_user.lng b/interface/web/sites/lib/lang/es_database_user.lng index eeea4bcabd0fbb95d612a8005c4aed5c681f1045..c1cd3ffa396487f0ce38d0c7d34d3668e163a2f4 100644 --- a/interface/web/sites/lib/lang/es_database_user.lng +++ b/interface/web/sites/lib/lang/es_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 resultados'; $wb['globalsearch_searchfield_watermark_txt'] = 'Buscar'; $wb['globalsearch_suggestions_text_txt'] = 'Sugerencias'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/fi_database_user.lng b/interface/web/sites/lib/lang/fi_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/fi_database_user.lng +++ b/interface/web/sites/lib/lang/fi_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/fr_database_user.lng b/interface/web/sites/lib/lang/fr_database_user.lng index 95903514d77888b3c2822eed9dea4ca4d0a16b24..376386a75a440eea5fe89120bb95ab796072e678 100644 --- a/interface/web/sites/lib/lang/fr_database_user.lng +++ b/interface/web/sites/lib/lang/fr_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/hr_database_user.lng b/interface/web/sites/lib/lang/hr_database_user.lng index 93f20936c562d80949e75f896964097be190072a..825d685a09e129ad53124643f680cdda18345406 100644 --- a/interface/web/sites/lib/lang/hr_database_user.lng +++ b/interface/web/sites/lib/lang/hr_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 rezultata'; $wb['globalsearch_searchfield_watermark_txt'] = 'Traži'; $wb['globalsearch_suggestions_text_txt'] = 'Sugestija'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/hu_database_user.lng b/interface/web/sites/lib/lang/hu_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/hu_database_user.lng +++ b/interface/web/sites/lib/lang/hu_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/id_database_user.lng b/interface/web/sites/lib/lang/id_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/id_database_user.lng +++ b/interface/web/sites/lib/lang/id_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/it_database_user.lng b/interface/web/sites/lib/lang/it_database_user.lng index 82051d944d921c98a6e6401ff507160a7e7d6d70..c0cb43b9d5bcdaa6a674413fa090785984d11cc1 100644 --- a/interface/web/sites/lib/lang/it_database_user.lng +++ b/interface/web/sites/lib/lang/it_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Cerca'; $wb['globalsearch_suggestions_text_txt'] = 'Suggerimenti'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/ja_database_user.lng b/interface/web/sites/lib/lang/ja_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/ja_database_user.lng +++ b/interface/web/sites/lib/lang/ja_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/nl_database_user.lng b/interface/web/sites/lib/lang/nl_database_user.lng index d23dec7388265f6845602d269324eb78a24b8fbb..cec8e7ac3f878ead9869d0e2c6aa89d25300968b 100644 --- a/interface/web/sites/lib/lang/nl_database_user.lng +++ b/interface/web/sites/lib/lang/nl_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 resultaten'; $wb['globalsearch_searchfield_watermark_txt'] = 'Zoeken'; $wb['globalsearch_suggestions_text_txt'] = 'Suggesties'; $wb['limit_database_user_txt'] = 'Het max. aantal database gebruikers is bereikt.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/pl_database_user.lng b/interface/web/sites/lib/lang/pl_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/pl_database_user.lng +++ b/interface/web/sites/lib/lang/pl_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/pt_database_user.lng b/interface/web/sites/lib/lang/pt_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/pt_database_user.lng +++ b/interface/web/sites/lib/lang/pt_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/ro_database_user.lng b/interface/web/sites/lib/lang/ro_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/ro_database_user.lng +++ b/interface/web/sites/lib/lang/ro_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/ru_database_user.lng b/interface/web/sites/lib/lang/ru_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/ru_database_user.lng +++ b/interface/web/sites/lib/lang/ru_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/se_database_user.lng b/interface/web/sites/lib/lang/se_database_user.lng index 1b2620f070b9af45480f0967cbbb0e8708085a86..a1d349f9a38378ee50e2422aa70676cf990c4ede 100644 --- a/interface/web/sites/lib/lang/se_database_user.lng +++ b/interface/web/sites/lib/lang/se_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 resultat'; $wb['globalsearch_searchfield_watermark_txt'] = 'Sök'; $wb['globalsearch_suggestions_text_txt'] = 'Förslag'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/sk_database_user.lng b/interface/web/sites/lib/lang/sk_database_user.lng index d00aefe1f35bb6ccb821c9cc6085f50870d23139..ab7b59f6495eed677699e39ab038c6fd6ddc9e2b 100644 --- a/interface/web/sites/lib/lang/sk_database_user.lng +++ b/interface/web/sites/lib/lang/sk_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results'; $wb['globalsearch_searchfield_watermark_txt'] = 'Search'; $wb['globalsearch_suggestions_text_txt'] = 'Suggestions'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?> diff --git a/interface/web/sites/lib/lang/tr_database_user.lng b/interface/web/sites/lib/lang/tr_database_user.lng index 2c030229731aa5178a03f1d448ae30899d7ba7ca..785c4ecce4d125f061be335383e162935149b07e 100644 --- a/interface/web/sites/lib/lang/tr_database_user.lng +++ b/interface/web/sites/lib/lang/tr_database_user.lng @@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 sonuç'; $wb['globalsearch_searchfield_watermark_txt'] = 'Arama'; $wb['globalsearch_suggestions_text_txt'] = 'Öneriler'; $wb['limit_database_user_txt'] = 'The max. number of database users is reached.'; +$wb['database_password_error_empty'] = 'Database password is empty.'; ?>