mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
show number of keywords per category in select menu
This commit is contained in:
parent
913baaa7ce
commit
cc144f6c0f
|
@ -221,7 +221,7 @@ $(document).ready( function() {
|
|||
foreach ($categories as $category) {
|
||||
$owner = $category->getOwner();
|
||||
if ($user->isAdmin() || ($owner->getID() == $user->getID()))
|
||||
$options[] = array($category->getID(), htmlspecialchars($category->getName()), $selcategory && $category->getID()==$selcategory->getID());
|
||||
$options[] = array($category->getID(), htmlspecialchars($category->getName()), $selcategory && $category->getID()==$selcategory->getID(), array(array('data-subtitle', $category->countKeywordLists().' '.getMLText('keywords'))));
|
||||
}
|
||||
$this->formField(
|
||||
null, //getMLText("selection"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user