Correct link to editing a subsite virtual page.

This commit is contained in:
Will Rossiter 2015-07-27 10:57:10 +12:00
parent 0274b9effd
commit 9c9e0bfa94

View File

@ -51,7 +51,7 @@ class SubsitesVirtualPage extends VirtualPage {
// Create links back to the original object in the CMS
if($this->CopyContentFromID) {
$editLink = "admin/page/edit/show/$this->CopyContentFromID/?SubsiteID=" . $this->CopyContentFrom()->SubsiteID;
$editLink = "admin/pages/edit/show/$this->CopyContentFromID/?SubsiteID=" . $this->CopyContentFrom()->SubsiteID;
$linkToContent = "
<a class=\"cmsEditlink\" href=\"$editLink\">" .
_t('VirtualPage.EDITCONTENT', 'Click here to edit the content') .