mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fixed escaping errors in default homepage content
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48097 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ddb96b9dbd
commit
265d52d037
@ -709,7 +709,7 @@ class SiteTree extends DataObject {
|
|||||||
$homepage = new Page();
|
$homepage = new Page();
|
||||||
|
|
||||||
$homepage->Title = _t('SiteTree.DEFAULTHOMETITLE', 'Home');
|
$homepage->Title = _t('SiteTree.DEFAULTHOMETITLE', 'Home');
|
||||||
$homepage->Content = _t('SiteTree.DEFAULTHOMECONTENT', '<p>Welcome to SilverStripe! This is the default homepage. You can edit this page by opening <a href=\"admin/\">the CMS</a>. You can now access the <a href=\"http://doc.silverstripe.com\">developer documentation</a>, or begin <a href=\"http://doc.silverstripe.com/doku.php?id=tutorials\">the tutorials.</a></p>');
|
$homepage->Content = _t('SiteTree.DEFAULTHOMECONTENT', '<p>Welcome to SilverStripe! This is the default homepage. You can edit this page by opening <a href="admin/">the CMS</a>. You can now access the <a href="http://doc.silverstripe.com">developer documentation</a>, or begin <a href="http://doc.silverstripe.com/doku.php?id=tutorials">the tutorials.</a></p>');
|
||||||
$homepage->URLSegment = "home";
|
$homepage->URLSegment = "home";
|
||||||
$homepage->Status = "Published";
|
$homepage->Status = "Published";
|
||||||
$homepage->write();
|
$homepage->write();
|
||||||
|
Loading…
Reference in New Issue
Block a user