echo JHtml::_('jgrid.state', JHtmlUsers::blockStates($self), $item->block, $i, 'users.', !$self);
        ?>
					<?php 
    } else {
        ?>
						<?php 
        echo JText::_($item->block ? 'JNO' : 'JYES');
        ?>
					<?php 
    }
    ?>
				</td>
				<td class="center">
					<?php 
    $activated = empty($item->activation) ? 0 : 1;
    echo JHtml::_('jgrid.state', JHtmlUsers::activateStates(), $activated, $i, 'users.', (bool) $activated);
    ?>
				</td>
				<td class="center">
					<?php 
    if (substr_count($item->group_names, "\n") > 1) {
        ?>
						<span class="hasTooltip" title="<?php 
        echo JHtml::tooltipText(JText::_('COM_USERS_HEADING_GROUPS'), nl2br($item->group_names), 0);
        ?>
"><?php 
        echo JText::_('COM_USERS_USERS_MULTIPLE_GROUPS');
        ?>
</span>
					<?php 
    } else {
예제 #2
0
							<?php 
        }
        ?>
						</td>
						<td>
							<?php 
        echo $this->escape($item->username);
        ?>
						</td>
						<td class="center">
							<?php 
        if ($canChange) {
            ?>
								<?php 
            $self = $loggeduser->id == $item->id;
            echo JHtml::_('jgrid.state', JHtmlUsers::blockStates($self), $item->block, $i, 'users.', !$self);
            ?>
							<?php 
        } else {
            ?>
								<?php 
            echo JText::_($item->block ? 'JNO' : 'JYES');
            ?>
							<?php 
        }
        ?>
						</td>

						<td>
							<?php 
        if (substr_count($item->group_names, "\n") > 1) {