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:
Ingo Schommer 2010-04-13 02:00:41 +00:00
parent 39615a4a09
commit 0ee0244a01

View File

@ -1624,13 +1624,15 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
'SiteTree',
array(
'Title' => 'Title',
'AbsoluteLink' => 'URL'
),
'"ChildID" = ' . $this->ID,
'',
'LEFT JOIN "SiteTree_LinkTracking" ON "SiteTree"."ID" = "SiteTree_LinkTracking"."SiteTreeID"'
);
$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(
'show',