forked from GNUsocial/gnu-social
phpcs showbookmark.php
This commit is contained in:
parent
f3999ab92d
commit
3fea4aba7f
@ -113,6 +113,14 @@ class ShowbookmarkAction extends ShownoticeAction
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Title of the page
|
||||||
|
*
|
||||||
|
* Used by Action class for layout.
|
||||||
|
*
|
||||||
|
* @return string page tile
|
||||||
|
*/
|
||||||
|
|
||||||
function title()
|
function title()
|
||||||
{
|
{
|
||||||
return sprintf(_('%s\'s bookmark for "%s"'),
|
return sprintf(_('%s\'s bookmark for "%s"'),
|
||||||
@ -120,6 +128,12 @@ class ShowbookmarkAction extends ShownoticeAction
|
|||||||
$this->bookmark->title);
|
$this->bookmark->title);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Overload page title display to show bookmark link
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
|
||||||
function showPageTitle()
|
function showPageTitle()
|
||||||
{
|
{
|
||||||
$this->elementStart('h1');
|
$this->elementStart('h1');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user