Location: PHPKode > projects > injooosm > components/com_injooosm/views/cats/tmpl/default.php
<?php
/**
 * Joomla! 1.5 component injooosm
 *
 * @version $Id: default.php 2009-11-22 14:03:00$
 * @author Christian Knorr
 * @package injooosm
 * @subpackage frontend
 * @license GNU/GPL
 * @filesource
 *
 *
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

echo $this->lh;
?>
<table width="100%" class="tracktable" >
    <thead>
        <tr class="sectiontableheader">
            <th width="100px" align="center"><?php echo JText::_('OSM_CAT'); ?></th>
            <th align="center"><?php echo JText::_('OSM_DESCRIPTION'); ?></th>
        </tr>
    </thead>
    <tbody>
    <?php
        $k = 0;
        for($i=0, $n=count($this->cats); $i<$n; $i++) {
            $cat = $this->cats[$i];
            $link = JRoute::_('index.php?option=com_injooosm&view=files&layout=list&search='.$cat->title);
            ?>
    <tr class="sectiontableentry<?php echo $k; ?>">
        <td><b><a href="<?php echo $link; ?>" ><?php echo str_replace('.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<sup>|_</sup>','&bull;',$cat->treename).$cat->title; ?></a></b></td>
        <td><?php echo $cat->description; ?></td>
    </tr>
            <?php
        $k = 1 -$k;
        }
    ?>
    </tbody>
</table>

<?php
echo $this->footer;
Return current item: injooosm