Skip to content

Commit

Permalink
Merge pull request #2 from zero-24/patch-16
Browse files Browse the repository at this point in the history
Just some smal CS fixes for 14408
  • Loading branch information
brianteeman authored Mar 7, 2017
2 parents fab4401 + f33d170 commit 2555c79
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
12 changes: 6 additions & 6 deletions administrator/components/com_users/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,36 +238,36 @@
/>

</fieldset>

<fieldset
name="debug"
label="COM_USERS_DEBUG_LABEL"
description="COM_USERS_DEBUG_DESC">

<field
name="debugUsers"
type="radio"
class="btn-group btn-group-yesno"
default="1"
label="COM_USERS_DEBUG_USERS_LABEL"
description="COM_USERS_DEBUG_USERS_DESC"
>
>
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>

<field
name="debugGroups"
type="radio"
class="btn-group btn-group-yesno"
default="1"
label="COM_USERS_DEBUG_GROUPS_LABEL"
description="COM_USERS_DEBUG_GROUPS_DESC"
>
>
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>

</fieldset>

<fieldset name="integration"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
JHtml::_('behavior.multiselect');
JHtml::_('formbehavior.chosen', 'select');

$user = JFactory::getUser();
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));

$user = JFactory::getUser();
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$debugGroups = $this->state->get('params')->get('debugGroups', 1);

JText::script('COM_USERS_GROUPS_CONFIRM_DELETE');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$loggeduser = JFactory::getUser();


// Create shortcut to parameters.
$debugUsers = $this->state->get('params')->get('debugUsers', 1);
?>
<form action="<?php echo JRoute::_('index.php?option=com_users&view=users'); ?>" method="post" name="adminForm" id="adminForm">
Expand Down

0 comments on commit 2555c79

Please sign in to comment.