Add subtitle in OPDS feed. suggested by Tyler J. Wagner.

This commit is contained in:
Sébastien Lucas 2012-12-22 18:23:17 +01:00
parent 1522c3c14d
commit e7ac49244c
3 changed files with 12 additions and 0 deletions

View file

@ -188,6 +188,7 @@ class EntryBook extends Entry
class Page
{
public $title;
public $subtitle = "";
public $idPage;
public $idGet;
public $query;
@ -243,6 +244,7 @@ class Page
{
global $config;
$this->title = $config['cops_title_default'];
$this->subtitle = $config['cops_subtitle_default'];
array_push ($this->entryArray, Author::getCount());
array_push ($this->entryArray, Serie::getCount());
array_push ($this->entryArray, Tag::getCount());