} else {
        echo JText::_($row->name);
    }
    ?>
					</td>
					<td>
						<?php 
    echo JHTML::_('select.genericlist', $this->lists['parent_id'], 'parent_id' . $row->id, '' . 'class="inputbox" size="1" onchange="document.getElementById(\'cb' . $i . '\').checked=true"', 'value', 'text', $row->parent_id);
    ?>
					</td>
					<td class="center"><?php 
    echo JText::_(JoomleagueHelper::getSportsTypeName($row->sports_type_id));
    ?>
</td>
					<td class="center"><?php 
    echo JText::_(JoomleagueHelper::getPosPersonTypeName($row->persontype));
    ?>
</td>
					<td class="center">
						<?php 
    if ($row->countEvents == 0) {
        $imageTitle = JText::_('COM_JOOMLEAGUE_ADMIN_POSITIONS_NO_EVENTS');
        echo JHTML::_('image', 'administrator/components/com_joomleague/assets/images/error.png', $imageTitle, 'title= "' . $imageTitle . '"');
    } else {
        $imageTitle = JText::sprintf('COM_JOOMLEAGUE_ADMIN_POSITIONS_NR_EVENTS', $row->countEvents);
        echo JHTML::_('image', 'administrator/components/com_joomleague/assets/images/ok.png', $imageTitle, 'title= "' . $imageTitle . '"');
    }
    ?>
					</td>
					<td class="center">
						<?php 
예제 #2
0
    } else {
        echo JText::_($row->name);
    }
    ?>
					</td>
					<td>
						<?php 
    echo JHtml::_('select.genericlist', $this->lists['parent_id'], 'parent_id' . $row->id, '' . 'class="inputbox" size="1" onchange="document.getElementById(\'cb' . $i . '\').checked=true"', 'value', 'text', $row->parent_id);
    ?>
					</td>
					<td class="center"><?php 
    echo JoomleagueHelper::getSportsTypeName($row->sports_type_id);
    ?>
</td>
					<td class="center"><?php 
    echo JoomleagueHelper::getPosPersonTypeName($row->persontype);
    ?>
</td>
					<td class="center">
						<?php 
    if ($row->countEvents == 0) {
        $imageTitle = JText::_('COM_JOOMLEAGUE_ADMIN_POSITIONS_NO_EVENTS');
        echo JHtml::_('image', 'administrator/components/com_joomleague/assets/images/error.png', $imageTitle, 'title= "' . $imageTitle . '"');
    } else {
        $imageTitle = JText::sprintf('COM_JOOMLEAGUE_ADMIN_POSITIONS_NR_EVENTS', $row->countEvents);
        echo JHtml::_('image', 'administrator/components/com_joomleague/assets/images/ok.png', $imageTitle, 'title= "' . $imageTitle . '"');
    }
    ?>
					</td>
					<td class="center">
						<?php