mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
Merge pull request #191 from wernerkrauss/patch-1
Wrong edit link in SubsitesVirtualPage
This commit is contained in:
commit
ce3f8c9060
@ -51,7 +51,7 @@ class SubsitesVirtualPage extends VirtualPage {
|
|||||||
|
|
||||||
// Create links back to the original object in the CMS
|
// Create links back to the original object in the CMS
|
||||||
if($this->CopyContentFromID) {
|
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 = "
|
$linkToContent = "
|
||||||
<a class=\"cmsEditlink\" href=\"$editLink\">" .
|
<a class=\"cmsEditlink\" href=\"$editLink\">" .
|
||||||
_t('VirtualPage.EDITCONTENT', 'Click here to edit the content') .
|
_t('VirtualPage.EDITCONTENT', 'Click here to edit the content') .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user