Send some config item to the client. re #73

This commit is contained in:
Sébastien Lucas 2013-06-19 21:37:47 +02:00
parent 4410a5cc82
commit d4af721516

View file

@ -75,9 +75,12 @@
"sortorderAsc" => localize("search.sortorder.asc"), "sortorderAsc" => localize("search.sortorder.asc"),
"sortorderDesc" => localize("search.sortorder.desc")), "sortorderDesc" => localize("search.sortorder.desc")),
"url" => array ( "url" => array (
"detailUrl" => "index.php?page=13&id={0}&db={1}", "detailUrl" => "index.php?page=13&id={0}&db={1}",
"coverUrl" => "fetch.php?id={0}&db={1}", "coverUrl" => "fetch.php?id={0}&db={1}",
"thumbnailUrl" => "fetch.php?height=70&id={0}&db={1}")); "thumbnailUrl" => "fetch.php?height=70&id={0}&db={1}"),
"config" => array (
"use_fancyapps" => $config ["cops_use_fancyapps"],
"max_item_per_page" => $config['cops_max_item_per_page']));
} }
$out ["containsBook"] = 0; $out ["containsBook"] = 0;