mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR added direct links to items in the backlinks report (from r88277) (from r98085)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102578 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
39615a4a09
commit
0ee0244a01
@ -1624,13 +1624,15 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
|||||||
'SiteTree',
|
'SiteTree',
|
||||||
array(
|
array(
|
||||||
'Title' => 'Title',
|
'Title' => 'Title',
|
||||||
|
'AbsoluteLink' => 'URL'
|
||||||
),
|
),
|
||||||
'"ChildID" = ' . $this->ID,
|
'"ChildID" = ' . $this->ID,
|
||||||
'',
|
'',
|
||||||
'LEFT JOIN "SiteTree_LinkTracking" ON "SiteTree"."ID" = "SiteTree_LinkTracking"."SiteTreeID"'
|
'LEFT JOIN "SiteTree_LinkTracking" ON "SiteTree"."ID" = "SiteTree_LinkTracking"."SiteTreeID"'
|
||||||
);
|
);
|
||||||
$backLinksTable->setFieldFormatting(array(
|
$backLinksTable->setFieldFormatting(array(
|
||||||
'Title' => '<a href=\"admin/show/$ID\">$Title</a>'
|
'Title' => '<a href=\"admin/show/$ID\">$Title</a>',
|
||||||
|
'AbsoluteLink' => '<a href=\"$value\">$value</a>',
|
||||||
));
|
));
|
||||||
$backLinksTable->setPermissions(array(
|
$backLinksTable->setPermissions(array(
|
||||||
'show',
|
'show',
|
||||||
|
Loading…
Reference in New Issue
Block a user