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

@ -102,7 +102,7 @@ class JSONRenderer
$out ["book"] = self::getBookContentArray ($entry->book);
return $out;
}
return array ( "title" => $entry->title, "content" => $entry->content, "navlink" => $entry->getNavLink () );
return array ( "title" => $entry->title, "content" => $entry->content, "navlink" => $entry->getNavLink (), "number" => $entry->numberOfElement );
}
public static function getContentArrayTypeahead ($page) {