Added support for optional flat-list display of "All Books"

Files modified:

config_default.php

base.php

changed class PageAllBooks to test for configuration option "cops_titles_split_first_letter".
Used getCurrentOption to prepare for making Split Letter options configurable in web GUI

book.php

added SQL_BOOKS_ALL query to have a flat-list datasource not grouped by first letter.
added const SQL_BOOKS_ALL to class Book
added public static function "getBooks", called from Base::PageAllBooks to retrieve the flat-list
Šis iesūtījums ir iekļauts:
At-Libitum 2013-11-08 17:53:11 +01:00
vecāks 5f7f8e6527
iesūtījums 8db9489e07
3 izmainītas datnes ar 21 papildinājumiem un 2 izdzēšanām

Apskatīt datni

@ -137,6 +137,13 @@
* 0 : No
*/
$config['cops_author_split_first_letter'] = "1";
/*
* split titles by first letter
* 1 : Yes
* 0 : No
*/
$config['cops_titles_split_first_letter'] = "1";
/*
* Enable the Lightboxes (for popups)