Add subtitle in OPDS feed. suggested by Tyler J. Wagner.
This commit is contained in:
parent
1522c3c14d
commit
e7ac49244c
3 changed files with 12 additions and 0 deletions
2
base.php
2
base.php
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue