mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
added entity
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44648 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2a86989f02
commit
4ff41983d3
@ -166,7 +166,11 @@ class PageComment extends DataObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function RSSTitle() {
|
function RSSTitle() {
|
||||||
return "Comment by '". Convert::raw2xml($this->Name) . "' on " . $this->Parent()->Title;
|
return sprintf(
|
||||||
|
_t('PageComment.COMMENTBY', "Comment by '%s' on %s", PR_MEDIUM, 'Name, Page Title'),
|
||||||
|
Convert::raw2xml($this->Name),
|
||||||
|
$this->Parent()->Title
|
||||||
|
);
|
||||||
}
|
}
|
||||||
function rss() {
|
function rss() {
|
||||||
$parentcheck = isset($_REQUEST['pageid']) ? "ParentID = {$_REQUEST['pageid']}" : "ParentID > 0";
|
$parentcheck = isset($_REQUEST['pageid']) ? "ParentID = {$_REQUEST['pageid']}" : "ParentID > 0";
|
||||||
|
Loading…
Reference in New Issue
Block a user