Add a global parameter to enable tag filtering with books. re #46

Also fix many problem with util.js
This commit is contained in:
Sébastien Lucas 2013-07-03 23:36:38 +02:00
parent 1a92d7e1c1
commit 35d6a5ab4e
3 changed files with 19 additions and 9 deletions

View file

@ -139,7 +139,7 @@
/*
* Filter on tags to book list
* Only works with the OPDS catalog for now
* Only works with the OPDS catalog
* Usage : array ("I only want to see books using the tag : Tag1" => "Tag1",
* "I only want to see books not using the tag : Tag1" => "!Tag1",
* "I want to see every books" => "",
@ -194,5 +194,12 @@
"smtp.secure" => "",
"address.from" => "cops@slucas.fr"
);
/*
* Use filter in HTML catalog
* 1 : Yes (enable)
* 0 : No
*/
$config['cops_html_tag_filter'] = "1";
?>