Show number of tags in metabox label
SPR-939
This commit is contained in:
parent
e6acdc2663
commit
67d7dea5e8
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ class Template {
|
|||
* @return array
|
||||
*/
|
||||
public function getMetaBoxTabs() {
|
||||
global $lang;
|
||||
global $lang, $INFO;
|
||||
$tabs = array();
|
||||
|
||||
$toc = tpl_toc(true);
|
||||
|
@ -106,7 +106,7 @@ class Template {
|
|||
'id' => 'spr__tab-tags',
|
||||
'label' => tpl_getLang('tab_tags'),
|
||||
'tab' => $this->plugins['tagging']->tpl_tags(false),
|
||||
'count' => null, // FIXME
|
||||
'count' => count($this->plugins['tagging']->findItems(array('pid' => $INFO['id']), 'tag')),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue