Better bootstrap template with as little text as possible.
This commit is contained in:
parent
bfa0ca3788
commit
90847eb85b
7 changed files with 33 additions and 22 deletions
|
@ -66,10 +66,10 @@ class CustomColumn extends Base {
|
|||
}
|
||||
|
||||
public static function getCount($customId) {
|
||||
$nCustoms = parent::getDb ()->query('select count(*) from ' . self::getTableName ($customId))->fetchColumn();
|
||||
$nCustoms = parent::executeQuerySingle ('select count(*) from ' . self::getTableName ($customId));
|
||||
$entry = new Entry (self::getAllTitle ($customId), self::getAllCustomsId ($customId),
|
||||
str_format (localize("tags.alphabetical", $nCustoms), $nCustoms), "text",
|
||||
array ( new LinkNavigation (self::getUriAllCustoms ($customId))));
|
||||
array ( new LinkNavigation (self::getUriAllCustoms ($customId))), "", $nCustoms);
|
||||
return $entry;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue