Better bootstrap template with as little text as possible.

This commit is contained in:
Sébastien Lucas 2014-05-30 15:00:46 +02:00
parent bfa0ca3788
commit 90847eb85b
7 changed files with 33 additions and 22 deletions

View file

@ -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;
}