mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-09-28 04:59:04 +00:00
Add code to display number of links
This commit is contained in:
parent
8aa92f906b
commit
d749a317ef
@ -37,6 +37,11 @@ if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) :
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<?php if ($this->params->get('show_cat_num_links') == 1) :?>
|
||||||
|
<span class="weblink-count badge bg-info">
|
||||||
|
<?php echo JText::_('COM_WEBLINKS_NUM'); ?>
|
||||||
|
<?php echo $child->numitems; ?> </span>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if (count($child->getChildren()) > 0 ) :
|
<?php if (count($child->getChildren()) > 0 ) :
|
||||||
$this->children[$child->id] = $child->getChildren();
|
$this->children[$child->id] = $child->getChildren();
|
||||||
|
Loading…
Reference in New Issue
Block a user