mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge remote-tracking branch 'origin/3.1' into 3.2
This commit is contained in:
commit
8de0106fea
@ -1478,7 +1478,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
|||||||
if(!SiteTree::get_by_link(Config::inst()->get('RootURLController', 'default_homepage_link'))) {
|
if(!SiteTree::get_by_link(Config::inst()->get('RootURLController', 'default_homepage_link'))) {
|
||||||
$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.org">developer documentation</a>, or begin <a href="http://doc.silverstripe.org/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>.</p><p>You can now access the <a href="http://docs.silverstripe.org">developer documentation</a>, or begin the <a href="http://www.silverstripe.org/learn/lessons">SilverStripe lessons</a>.</p>');
|
||||||
$homepage->URLSegment = Config::inst()->get('RootURLController', 'default_homepage_link');
|
$homepage->URLSegment = Config::inst()->get('RootURLController', 'default_homepage_link');
|
||||||
$homepage->Sort = 1;
|
$homepage->Sort = 1;
|
||||||
$homepage->write();
|
$homepage->write();
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<div class="cms-content-batchactions">
|
<div class="cms-content-batchactions">
|
||||||
<div class="view-mode-batchactions-wrapper">
|
<label class="view-mode-batchactions-wrapper">
|
||||||
<input id="view-mode-batchactions" name="view-mode-batchactions" type="checkbox" />
|
<input id="view-mode-batchactions" name="view-mode-batchactions" type="checkbox" />
|
||||||
<label for="view-mode-batchactions"><% _t("CMSPagesController_ContentToolbar_ss.MULTISELECT","Multi-selection") %></label>
|
<span class="view-mode-batchactions-label"><% _t("CMSPagesController_ContentToolbar_ss.MULTISELECT","Multi-selection") %></span>
|
||||||
</div>
|
</label>
|
||||||
|
|
||||||
$BatchActionsForm
|
$BatchActionsForm
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user