Esempio n. 1
0
    echo JText::_('JContent_No_Parents');
    ?>
</p>
<?php 
} else {
    ?>
	<h3><?php 
    echo JText::_('JContent_Parents');
    ?>
</h3>
	<ul>
		<?php 
    foreach ($this->parents as &$item) {
        ?>
		<li>
			<a href="<?php 
        echo JRoute::_(WeblinksRoute::category($item->slug));
        ?>
">
				<?php 
        echo $this->escape($item->title);
        ?>
</a>
		</li>
		<?php 
    }
    ?>
	</ul>

<?php 
}
Esempio n. 2
0
        $item->level_diff = isset($this->items[$i + 1]) ? $item->level - $this->items[$i + 1]->level : 0;
    }
    echo '<ul>';
    for ($i = 0; $i < $itemcount; $i++) {
        $item =& $this->items[$i];
        // The next item is deeper.
        if ($item->deeper) {
            echo "<li>";
        } elseif ($item->shallower) {
            echo "<li>";
        } else {
            echo "<li>";
        }
        ?>
  	    <span class="jitem-title"><a href="<?php 
        echo WeblinksRoute::category($this->escape($item->slug));
        ?>
">
        	<?php 
        echo $this->escape($item->title);
        ?>
</a>
        </span>
        <?php 
        if ($item->description) {
            ?>
        	<div class="jdescription">
            	<?php 
            echo $item->description;
            ?>
            </div>