\ No newline at end of file
diff --git a/templates/Includes/CMSPagesController_ContentToolbar.ss b/templates/Includes/CMSPagesController_ContentToolbar.ss
index 6717ce38..79118538 100644
--- a/templates/Includes/CMSPagesController_ContentToolbar.ss
+++ b/templates/Includes/CMSPagesController_ContentToolbar.ss
@@ -1,3 +1,7 @@
+
-<% include CMSPagesController_ContentToolActions %>
+
From 607fc58c8facfc0137abbbc7106c68c92b075447 Mon Sep 17 00:00:00 2001
From: Ingo Schommer
Date: Tue, 16 Oct 2012 18:25:49 +0200
Subject: [PATCH 11/14] Build status in README
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 1ad83f86..478fcb19 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
-## Overview
+## SilverStripe CMS
+
+[![Build Status](https://secure.travis-ci.org/silverstripe/silverstripe-cms.png)](http://travis-ci.org/silverstripe/silverstripe-cms)
PHP5 Content Management System (CMS), see [http://silverstripe.org](http://silverstripe.org). Requires the [`framework`](http://github.com/silverstripe/sapphire) module and a [`silverstripe-installer`](http://github.com/silverstripe/silverstripe-installer) base project.
From c9244456e04e1eee06adff2d29700f962a2b9ce7 Mon Sep 17 00:00:00 2001
From: Naomi Guyer
Date: Thu, 18 Oct 2012 14:47:11 +1300
Subject: [PATCH 12/14] BUG: Installation successful "CMS" link has broken href
(fixes #7874)
Fixed the template component of this bug. Language files will also need
to be updated. eg. "Start editing" should appear in the en lang files
as:
StartEditing: 'You can start editing your site''s content by opening the CMS
---
templates/Includes/Install_successfullyinstalled.ss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/Includes/Install_successfullyinstalled.ss b/templates/Includes/Install_successfullyinstalled.ss
index 44b01499..e7f9b5ce 100644
--- a/templates/Includes/Install_successfullyinstalled.ss
+++ b/templates/Includes/Install_successfullyinstalled.ss
@@ -10,7 +10,7 @@
<%t ContentController.Password "Password" %>: $Password
- <%t ContentController.StartEditing "You can start editing your site's content by opening the CMS." link="admin/" %>
+ <%t ContentController.StartEditing 'You can start editing your site\'s content by opening the CMS.' link="admin/" %>
From 72543440cb33e97279571c2cc1a054a6fd4a7531 Mon Sep 17 00:00:00 2001
From: Russell Michell
Date: Fri, 19 Oct 2012 16:04:32 +1300
Subject: [PATCH 13/14] BUGFIX: Fixed SideReport for use with Postgres (using
v8.4) which requires table/column-names to be quoted. MySQL seems OK with
either/both
---
code/reports/SideReport.php | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/code/reports/SideReport.php b/code/reports/SideReport.php
index 241cee4b..3e119c65 100644
--- a/code/reports/SideReport.php
+++ b/code/reports/SideReport.php
@@ -200,8 +200,8 @@ class SideReport_BrokenLinks extends SS_Report {
$classes = array_diff(ClassInfo::subclassesFor('SiteTree'), ClassInfo::subclassesFor('VirtualPage'), ClassInfo::subclassesFor('RedirectorPage'));
$classNames = "'".join("','", $classes)."'";
- if (isset($_REQUEST['OnLive'])) $ret = Versioned::get_by_stage('SiteTree', 'Live', "ClassName IN ($classNames) AND HasBrokenLink = 1");
- else $ret = DataObject::get('SiteTree', "ClassName IN ($classNames) AND HasBrokenLink = 1");
+ if (isset($_REQUEST['OnLive'])) $ret = Versioned::get_by_stage('SiteTree', 'Live', "\"ClassName\" IN ($classNames) AND \"HasBrokenLink\" = 1");
+ else $ret = DataObject::get('SiteTree', "\"ClassName\" IN ($classNames) AND \"HasBrokenLink\" = 1");
return $ret;
}
public function columns() {
@@ -238,8 +238,8 @@ class SideReport_BrokenFiles extends SS_Report {
$classes = array_diff(ClassInfo::subclassesFor('SiteTree'), ClassInfo::subclassesFor('VirtualPage'), ClassInfo::subclassesFor('RedirectorPage'));
$classNames = "'".join("','", $classes)."'";
- if (isset($_REQUEST['OnLive'])) $ret = Versioned::get_by_stage('SiteTree', 'Live', "ClassName IN ($classNames) AND HasBrokenFile = 1");
- else $ret = DataObject::get('SiteTree', "ClassName IN ($classNames) AND HasBrokenFile = 1");
+ if (isset($_REQUEST['OnLive'])) $ret = Versioned::get_by_stage('SiteTree', 'Live', "\"ClassName\" IN ($classNames) AND \"HasBrokenFile\" = 1");
+ else $ret = DataObject::get('SiteTree', "\"ClassName\" IN ($classNames) AND \"HasBrokenFile\" = 1");
return $ret;
}
public function columns() {
@@ -271,8 +271,8 @@ class SideReport_BrokenVirtualPages extends SS_Report {
}
public function sourceRecords($params = null) {
$classNames = "'".join("','", ClassInfo::subclassesFor('VirtualPage'))."'";
- if (isset($_REQUEST['OnLive'])) $ret = Versioned::get_by_stage('SiteTree', 'Live', "ClassName IN ($classNames) AND HasBrokenLink = 1");
- else $ret = DataObject::get('SiteTree', "ClassName IN ($classNames) AND HasBrokenLink = 1");
+ if (isset($_REQUEST['OnLive'])) $ret = Versioned::get_by_stage('SiteTree', 'Live', "\"ClassName\" IN ($classNames) AND \"HasBrokenLink\" = 1");
+ else $ret = DataObject::get('SiteTree', "\"ClassName\" IN ($classNames) AND \"HasBrokenLink\" = 1");
return $ret;
}
@@ -306,8 +306,8 @@ class SideReport_BrokenRedirectorPages extends SS_Report {
public function sourceRecords($params = null) {
$classNames = "'".join("','", ClassInfo::subclassesFor('RedirectorPage'))."'";
- if (isset($_REQUEST['OnLive'])) $ret = Versioned::get_by_stage('SiteTree', 'Live', "ClassName IN ($classNames) AND HasBrokenLink = 1");
- else $ret = DataObject::get('SiteTree', "ClassName IN ($classNames) AND HasBrokenLink = 1");
+ if (isset($_REQUEST['OnLive'])) $ret = Versioned::get_by_stage('SiteTree', 'Live', "\"ClassName\" IN ($classNames) AND \"HasBrokenLink\" = 1");
+ else $ret = DataObject::get('SiteTree', "\"ClassName\" IN ($classNames) AND \"HasBrokenLink\" = 1");
return $ret;
}
From b221f7ba7ae58c67e6cfe4cbbd6be7f45515ab1e Mon Sep 17 00:00:00 2001
From: Will Rossiter
Date: Tue, 23 Oct 2012 19:32:25 +1300
Subject: [PATCH 14/14] FIX Remove Metadata Label from RedirectorPage. (Fixes
#7959)
---
code/model/RedirectorPage.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/model/RedirectorPage.php b/code/model/RedirectorPage.php
index 6378bee0..a7ff2008 100644
--- a/code/model/RedirectorPage.php
+++ b/code/model/RedirectorPage.php
@@ -120,7 +120,7 @@ class RedirectorPage extends Page {
$fields->removeByName('Content', true);
// Remove all metadata fields, does not apply for redirector pages
- $fields->removeByName('MetaTagsHeader');
+ $fields->removeByName('Metadata');
$fields->removeByName('MetaTitle');
$fields->removeByName('MetaKeywords');
$fields->removeByName('MetaDescription');