Skip to content

Commit

Permalink
com-users
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Sep 2, 2018
1 parent f4a4f2a commit 6437734
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
<span class="hasTooltip" title="<?php echo HTMLHelper::_('tooltipText', $key, $action[1]); ?>"><?php echo Text::_($key); ?></span>
</th>
<?php endforeach; ?>
<th style="width:6%" class="nowrap text-center">
<th style="width:6%" class="nowrap">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_USERS_HEADING_LFT', 'a.lft', $listDirn, $listOrder); ?>
</th>
<th style="width:3%" class="nowrap text-center">
<th style="width:3%" class="nowrap">
<?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
</th>
</tr>
Expand Down Expand Up @@ -77,11 +77,11 @@
<span class="<?php echo $class; ?>"></span>
</td>
<?php endforeach; ?>
<td class="text-center">
<td>
<?php echo (int) $item->lft; ?>
- <?php echo (int) $item->rgt; ?>
</td>
<td class="text-center">
<td>
<?php echo (int) $item->id; ?>
</td>
</tr>
Expand Down
8 changes: 4 additions & 4 deletions administrator/components/com_users/tmpl/debuguser/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
<span class="hasTooltip" title="<?php echo HTMLHelper::_('tooltipText', $key, $action[1]); ?>"><?php echo Text::_($key); ?></span>
</th>
<?php endforeach; ?>
<th style="width:6%" class="nowrap text-center">
<th style="width:6%" class="nowrap">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_USERS_HEADING_LFT', 'a.lft', $listDirn, $listOrder); ?>
</th>
<th style="width:3%" class="nowrap text-center">
<th style="width:3%" class="nowrap">
<?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
</th>
</tr>
Expand Down Expand Up @@ -77,11 +77,11 @@
<span class="<?php echo $class; ?>"></span>
</td>
<?php endforeach; ?>
<td class="text-center">
<td>
<?php echo (int) $item->lft; ?>
- <?php echo (int) $item->rgt; ?>
</td>
<td class="text-center">
<td>
<?php echo (int) $item->id; ?>
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions administrator/components/com_users/tmpl/groups/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<span class="icon-unpublish hasTooltip" aria-hidden="true" title="<?php echo Text::_('COM_USERS_COUNT_DISABLED_USERS'); ?>"></span>
<span class="d-none d-md-inline"><?php echo Text::_('COM_USERS_COUNT_DISABLED_USERS'); ?></span>
</th>
<th scope="col" style="width:10%" class="nowrap d-none d-md-table-cell text-center">
<th scope="col" style="width:10%" class="nowrap d-none d-md-table-cell">
<?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
</th>
</tr>
Expand Down Expand Up @@ -102,7 +102,7 @@
<a class="badge <?php echo $item->count_disabled > 0 ? 'badge-danger' : 'badge-secondary'; ?>" href="<?php echo Route::_('index.php?option=com_users&view=users&filter[group_id]=' . (int) $item->id . '&filter[state]=1'); ?>">
<?php echo $item->count_disabled; ?></a>
</td>
<td class="d-none d-md-table-cell text-center">
<td class="d-none d-md-table-cell">
<?php echo (int) $item->id; ?>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion administrator/components/com_users/tmpl/levels/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<th scope="col" style="width:1%" class="nowrap text-center d-none d-md-table-cell">
<?php echo HTMLHelper::_('searchtools.sort', '', 'a.ordering', $listDirn, $listOrder, null, 'asc', 'JGRID_HEADING_ORDERING', 'icon-menu-2'); ?>
</th>
<td style="width:1%">
<td style="width:1%" class="text-center">
<?php echo HTMLHelper::_('grid.checkall'); ?>
</td>
<th scope="col">
Expand Down
24 changes: 12 additions & 12 deletions administrator/components/com_users/tmpl/users/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<th scope="col" class="nowrap">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_USERS_HEADING_NAME', 'a.name', $listDirn, $listOrder); ?>
</th>
<th scope="col" style="width:10%" class="nowrap text-center">
<th scope="col" style="width:10%" class="nowrap">
<?php echo HTMLHelper::_('searchtools.sort', 'JGLOBAL_USERNAME', 'a.username', $listDirn, $listOrder); ?>
</th>
<th scope="col" style="width:5%" class="nowrap text-center">
Expand All @@ -57,19 +57,19 @@
<th scope="col" style="width:5%" class="nowrap text-center d-none d-md-table-cell">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_USERS_HEADING_ACTIVATED', 'a.activation', $listDirn, $listOrder); ?>
</th>
<th scope="col" style="width:12%" class="nowrap text-center">
<th scope="col" style="width:12%" class="nowrap">
<?php echo Text::_('COM_USERS_HEADING_GROUPS'); ?>
</th>
<th scope="col" style="width:12%" class="nowrap d-none d-lg-table-cell text-center">
<th scope="col" style="width:12%" class="nowrap d-none d-lg-table-cell">
<?php echo HTMLHelper::_('searchtools.sort', 'JGLOBAL_EMAIL', 'a.email', $listDirn, $listOrder); ?>
</th>
<th scope="col" style="width:12%" class="nowrap d-none d-lg-table-cell text-center">
<th scope="col" style="width:12%" class="nowrap d-none d-lg-table-cell">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_USERS_HEADING_LAST_VISIT_DATE', 'a.lastvisitDate', $listDirn, $listOrder); ?>
</th>
<th scope="col" style="width:12%" class="nowrap d-none d-lg-table-cell text-center">
<th scope="col" style="width:12%" class="nowrap d-none d-lg-table-cell">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_USERS_HEADING_REGISTRATION_DATE', 'a.registerDate', $listDirn, $listOrder); ?>
</th>
<th scope="col" style="width:5%" class="nowrap d-none d-md-table-cell text-center">
<th scope="col" style="width:5%" class="nowrap d-none d-md-table-cell">
<?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
</th>
</tr>
Expand Down Expand Up @@ -122,7 +122,7 @@
<?php echo Text::_('COM_USERS_DEBUG_USER'); ?></a></div>
<?php endif; ?>
</th>
<td class="break-word text-center">
<td class="break-word">
<?php echo $this->escape($item->username); ?>
</td>
<td class="text-center">
Expand All @@ -139,27 +139,27 @@
echo HTMLHelper::_('jgrid.state', JHtmlUsers::activateStates(), $activated, $i, 'users.', (boolean) $activated);
?>
</td>
<td class="text-center">
<td>
<?php if (substr_count($item->group_names, "\n") > 1) : ?>
<span class="hasTooltip" title="<?php echo HTMLHelper::_('tooltipText', Text::_('COM_USERS_HEADING_GROUPS'), nl2br($item->group_names), 0); ?>"><?php echo Text::_('COM_USERS_USERS_MULTIPLE_GROUPS'); ?></span>
<?php else : ?>
<?php echo nl2br($item->group_names); ?>
<?php endif; ?>
</td>
<td class="d-none d-lg-table-cell break-word text-center">
<td class="d-none d-lg-table-cell break-word">
<?php echo PunycodeHelper::emailToUTF8($this->escape($item->email)); ?>
</td>
<td class="d-none d-lg-table-cell text-center">
<td class="d-none d-lg-table-cell">
<?php if ($item->lastvisitDate != $this->db->getNullDate()) : ?>
<?php echo HTMLHelper::_('date', $item->lastvisitDate, Text::_('DATE_FORMAT_LC6')); ?>
<?php else : ?>
<?php echo Text::_('JNEVER'); ?>
<?php endif; ?>
</td>
<td class="d-none d-lg-table-cell text-center">
<td class="d-none d-lg-table-cell">
<?php echo HTMLHelper::_('date', $item->registerDate, Text::_('DATE_FORMAT_LC6')); ?>
</td>
<td class="d-none d-md-table-cell text-center">
<td class="d-none d-md-table-cell">
<?php echo (int) $item->id; ?>
</td>
</tr>
Expand Down

0 comments on commit 6437734

Please sign in to comment.