Skip to content

Commit

Permalink
Use yes/no for switches..
Browse files Browse the repository at this point in the history
  • Loading branch information
chmst committed Jul 9, 2018
1 parent 99a640c commit 3332a79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_users/forms/user.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
class="switcher switcher-danger"
default="0"
>
<option value="0">COM_USERS_USER_FIELD_ENABLE</option>
<option value="1">COM_USERS_USER_FIELD_BLOCK</option>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>

<field
Expand Down
4 changes: 1 addition & 3 deletions administrator/language/en-GB/en-GB.com_users.ini
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,8 @@ COM_USERS_USER_BATCH_FAILED="An error was encountered while performing the batch
COM_USERS_USER_BATCH_SUCCESS="Batch operation completed."
COM_USERS_USER_FIELD_BACKEND_LANGUAGE_LABEL="Backend Language"
COM_USERS_USER_FIELD_BACKEND_TEMPLATE_LABEL="Backend Template Style"
COM_USERS_USER_FIELD_BLOCK="Blocked"
COM_USERS_USER_FIELD_BLOCK_LABEL="User Status"
COM_USERS_USER_FIELD_BLOCK_LABEL="Block User?"
COM_USERS_USER_FIELD_EDITOR_LABEL="Editor"
COM_USERS_USER_FIELD_ENABLE="Enabled"
COM_USERS_USER_FIELD_FRONTEND_LANGUAGE_LABEL="Frontend Language"
COM_USERS_USER_FIELD_HELPSITE_LABEL="Help Site"
COM_USERS_USER_FIELD_LASTRESET_LABEL="Last Reset Date"
Expand Down

0 comments on commit 3332a79

Please sign in to comment.