From 37b29231e47a0c4458dc1c15d98588f16f07e1e2 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Thu, 06 Aug 2015 03:18:44 -0400 Subject: [PATCH] - don't set password via remoting if field is empty --- interface/web/sites/lib/lang/en_shell_user.lng | 56 +++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 35 insertions(+), 21 deletions(-) diff --git a/interface/web/sites/lib/lang/en_shell_user.lng b/interface/web/sites/lib/lang/en_shell_user.lng index ef9ed88..1b605b5 100644 --- a/interface/web/sites/lib/lang/en_shell_user.lng +++ b/interface/web/sites/lib/lang/en_shell_user.lng @@ -1,22 +1,36 @@ <?php -$wb["uid_txt"] = 'Web Username'; -$wb["gid_txt"] = 'Group'; -$wb["shell_txt"] = 'Shell'; -$wb["dir_txt"] = 'Dir'; -$wb["btn_save_txt"] = 'Save'; -$wb["btn_cancel_txt"] = 'Cancel'; -$wb["server_id_txt"] = 'Server'; -$wb["parent_domain_id_txt"] = 'Site'; -$wb["username_txt"] = 'Username'; -$wb["password_txt"] = 'Password'; -$wb["chroot_txt"] = 'Chroot Shell'; -$wb["quota_size_txt"] = 'Quota'; -$wb["active_txt"] = 'Active'; -$wb["username_error_empty"] = 'Username is empty.'; -$wb["username_error_unique"] = 'The username must be unique.'; -$wb["username_error_regex"] = 'The username contains charachters that are not allowed.'; -$wb["quota_size_error_empty"] = 'Quota is empty.'; -$wb["uid_error_empty"] = 'UID empty.'; -$wb["uid_error_empty"] = 'GID empty.'; -$wb["directory_error_empty"] = 'Directory empty.'; -?> \ No newline at end of file +$wb['puser_txt'] = "Web Username"; +$wb['pgroup_txt'] = "Web Group"; +$wb['shell_txt'] = "Shell"; +$wb['dir_txt'] = "Base Dir"; +$wb['server_id_txt'] = "Server"; +$wb['parent_domain_id_txt'] = "Site"; +$wb['username_txt'] = "Username"; +$wb['password_txt'] = "Password"; +$wb['password_strength_txt'] = "Password strength"; +$wb['chroot_txt'] = "Chroot Shell"; +$wb['quota_size_txt'] = "Quota"; +$wb['active_txt'] = "Active"; +$wb['username_error_empty'] = "Username is empty."; +$wb['username_error_unique'] = "The username must be unique."; +$wb['username_error_regex'] = "The username contains characters that are not allowed."; +$wb['quota_size_error_empty'] = "Quota is empty."; +$wb['uid_error_empty'] = "GID empty."; +$wb['directory_error_empty'] = "Directory empty."; +$wb['limit_shell_user_txt'] = "The max number of shell users is reached."; +$wb['parent_domain_id_error_empty'] = "No website selected."; +$wb['ssh_rsa_txt'] = "SSH-RSA Public Key (for key-based logins)"; +$wb['dir_dot_error'] = "No .. in path allowed."; +$wb['dir_slashdot_error'] = "No ./ in path allowed."; +$wb['generate_password_txt'] = 'Generate Password'; +$wb['repeat_password_txt'] = 'Repeat Password'; +$wb['password_mismatch_txt'] = 'The passwords do not match.'; +$wb['password_match_txt'] = 'The passwords do match.'; +$wb['username_must_not_exceed_32_chars_txt'] = 'The username must not exceed 32 characters.'; +$wb['username_not_allowed_txt'] = 'The username is not allowed.'; +$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group'; +$wb['directory_error_regex'] = 'Invalid directory'; +$wb['shell_error_regex'] = 'Invalid shell'; +$wb['invalid_username_txt'] = 'Invalid Username'; +$wb['directory_error_notinweb'] = 'The directory has to be inside the web root.'; +?> -- Gitblit v1.9.1