phpcs noticebyurl.php
This commit is contained in:
parent
f5256eb028
commit
f3999ab92d
@ -80,6 +80,12 @@ class NoticebyurlAction extends Action
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Title of the page
|
||||||
|
*
|
||||||
|
* @return string page title
|
||||||
|
*/
|
||||||
|
|
||||||
function title()
|
function title()
|
||||||
{
|
{
|
||||||
if ($this->page == 1) {
|
if ($this->page == 1) {
|
||||||
@ -104,6 +110,14 @@ class NoticebyurlAction extends Action
|
|||||||
$this->showPage();
|
$this->showPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show main page content.
|
||||||
|
*
|
||||||
|
* Shows a list of the notices that link to the given URL
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
|
||||||
function showContent()
|
function showContent()
|
||||||
{
|
{
|
||||||
$nl = new NoticeList($this->notices, $this);
|
$nl = new NoticeList($this->notices, $this);
|
||||||
|
Loading…
Reference in New Issue
Block a user