ENHANCMENT improved reporting around broken links/files (from r88993) (from r96305)

This commit is contained in:
Tom Rix 2010-03-01 22:13:35 +00:00
parent c91684d6d1
commit a85521fcb1
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ class SiteTreeSubsites extends SiteTreeDecorator {
if($reverse) {
$text = '<p>In addition, this page is marked as related by the following pages: </p><ul>';
foreach($reverse as $rpage) {
$text .= '<ul><a href="admin/show/' . $rpage->ID . '">' . $rpage->Title . '</a></ul>';
$text .= '<ul><a href="admin/show/' . $rpage->ID . '">' . $rpage->Title . '</a> '.$rpage->AbsoluteLink().'</ul>';
}
$text .= '</ul>';

View File

@ -84,7 +84,7 @@ class SubsitesVirtualPage extends VirtualPage {
if ($this->CopyContentFromID) $this->HasBrokenLink = DataObject::get_by_id('SiteTree', $this->CopyContentFromID) ? false : true;
Subsite::$disable_subsite_filter = $oldState;
}
function onBeforeWrite() {
parent::onBeforeWrite();