Skip to content

Commit 9aaa6b1

Browse files
committed
ENHANCEMENT: change those harded-coded 'sapphire' to 'framework' either in javascript code or inline document, or a <a> href propty.
1 parent 1fca491 commit 9aaa6b1

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

dev/install/config-form.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2>CMS / Framework Installation <?php if($silverstripe_version) echo "<small>Ve
3232
<?php if(isset($hasErrorOtherThanDatabase)) { ?>
3333
<p class="message error">
3434
You aren't currently able to install the software. Please <a href="#requirements">see below</a> for details.<br>
35-
If you are having problems meeting the requirements, see the <a href="http://doc.silverstripe.org/sapphire/en/installation/server-requirements">server requirements</a>.
35+
If you are having problems meeting the requirements, see the <a href="http://doc.silverstripe.org/framework/en/installation/server-requirements">server requirements</a>.
3636
</p>
3737
<?php if (isset($phpIniLocation)) { ?>
3838
<p>Your php.ini file is located at <?php echo $phpIniLocation; ?></p>
@@ -46,7 +46,7 @@ <h2>CMS / Framework Installation <?php if($silverstripe_version) echo "<small>Ve
4646
<?php } else if($req->hasWarnings()) { ?>
4747
<div class="message warning">
4848
<p>There are some issues that we recommend you look at before installing, however, you are still able to install the software.
49-
<br>Please see below for details. If you are having problems meeting the requirements, see the <a href="http://doc.silverstripe.org/sapphire/en/installation/server-requirements">server requirements</a>.</p>
49+
<br>Please see below for details. If you are having problems meeting the requirements, see the <a href="http://doc.silverstripe.org/framework/en/installation/server-requirements">server requirements</a>.</p>
5050
</div>
5151
<?php } else if(!$dbReq->hasErrors() && !$adminReq->hasErrors()) { ?>
5252
<div class="message goodInstall"><p>You're ready to install! Please confirm the configuration options below. <a href="#install">Install SilverStripe</a></p>
@@ -71,7 +71,7 @@ <h3 class="sectionHeading" id="requirements">Requirements <small>Step 1 of 5</sm
7171
<?php $dbReq->showTable(); ?>
7272

7373
<p class="helpText requirementsHelpText">
74-
Read more about our <a href="http://doc.silverstripe.org/sapphire/en/installation/server-requirements" target="_blank">server requirements</a>.
74+
Read more about our <a href="http://doc.silverstripe.org/framework/en/installation/server-requirements" target="_blank">server requirements</a>.
7575
</p>
7676

7777
<div class="action">
@@ -178,7 +178,7 @@ <h3 class="sectionHeading">Database Configuration <small>Step 2 of 5</small></h3
178178
<?php if($envFileExists) { ?>
179179
<div id="use_environment_field" class="field">
180180
<input id="use_environment" type="checkbox" name="useEnv" <?php if($usingEnv) echo "checked=\"checked\"" ?>>
181-
<label for="use_environment">Use _ss_environment file for configuration (<a href="http://doc.silverstripe.org/sapphire/en/topics/environment-management" target="_blank">?</a>)</label>
181+
<label for="use_environment">Use _ss_environment file for configuration (<a href="http://doc.silverstripe.org/framework/en/topics/environment-management" target="_blank">?</a>)</label>
182182
</div>
183183
<?php } ?>
184184

@@ -244,7 +244,7 @@ <h3 class="sectionHeading">CMS Admin Account <small>Step 3 of 5</small></h3>
244244
<h3 class="sectionHeading">Theme selection <small>Step 4 of 5</small></h3>
245245
<p class="helpText">You can change the theme or <a href="http://silverstripe.org/themes">download</a> another from the SilverStripe website after installation.</p>
246246
<ul id="Themes">
247-
<li><input type="radio" name="template" value="simple" id="Simple" <?php if(!isset($_POST['template']) || $_POST['template'] == 'simple') {?>checked="checked"<?php }?>><label for="Simple"><a href="https://github.com/silverstripe-themes/silverstripe-simple">Simple</a> - our default theme ready to use, or begin the <a href="http://doc.silverstripe.org/sapphire/en/tutorials" target="_blank">tutorial</a>.</label></li>
247+
<li><input type="radio" name="template" value="simple" id="Simple" <?php if(!isset($_POST['template']) || $_POST['template'] == 'simple') {?>checked="checked"<?php }?>><label for="Simple"><a href="https://github.com/silverstripe-themes/silverstripe-simple">Simple</a> - our default theme ready to use, or begin the <a href="http://doc.silverstripe.org/framework/en/tutorials" target="_blank">tutorial</a>.</label></li>
248248
<li><input type="radio" name="template" value="tutorial" id="EmptyTemplate" <?php if(isset($_POST['template']) && $_POST['template'] == 'tutorial') {?>checked="checked"<?php }?>><label for="EmptyTemplate">Empty template</label></li>
249249
</ul>
250250
<h3 class="sectionHeading" id="install">Confirm Install <small>Step 5 of 5</small></h3>

dev/install/php5-required.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<html>
22
<head>
33
<title>PHP 5.3.2 is required</title>
4-
<link rel="stylesheet" type="text/css" href="sapphire/dev/install/css/install.css">
4+
<link rel="stylesheet" type="text/css" href="framework/dev/install/css/install.css">
55
</head>
66
<body>
77
<div id="BgContainer">

forms/DateField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* configuration accordingly. Changing the locale through {@link setLocale()} will not update the
3838
* `dateformat` configuration automatically.
3939
*
40-
* See http://doc.silverstripe.org/sapphire/en/topics/i18n for more information about localizing form fields.
40+
* See http://doc.silverstripe.org/framework/en/topics/i18n for more information about localizing form fields.
4141
*
4242
* # Usage
4343
*

javascript/i18n.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if(typeof(ss) == 'undefined') ss = {};
44
* Lightweight clientside i18n implementation.
55
* Caution: Only available after DOM loaded because we need to detect the language
66
*
7-
* For non-i18n stub implementation, see sapphire/javascript/i18nx.js
7+
* For non-i18n stub implementation, see framework/javascript/i18nx.js
88
*
99
* Based on jQuery i18n plugin: 1.0.0 Feb-10-2008
1010
*

javascript/i18nx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ if(typeof(ss) == 'undefined') ss = {};
22

33
/**
44
* Stub implementation for ss.i18n code.
5-
* Use instead of sapphire/javascript/i18n.js
5+
* Use instead of framework/javascript/i18n.js
66
* if you want to use any SilverStripe javascript
77
* without internationalization support.
88
*/

tests/core/manifest/ClassLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Tests for the {@link SS_ClassManifest} class.
44
*
5-
* @package sapphire
5+
* @package framework
66
* @subpackage tests
77
*/
88
class ClassLoaderTest extends SapphireTest {

thirdparty/greybox/greybox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ var GB_ONLY_ONE = null;
2020
// modified 2006-01-06 by Silverstripe Ltd.
2121
try {
2222
var theBaseHref = document.getElementsByTagName("base")[0].href;
23-
var GB_IMG_DIR = theBaseHref + "sapphire/thirdparty/greybox/";
23+
var GB_IMG_DIR = theBaseHref + "framework/thirdparty/greybox/";
2424
} catch(err) {
25-
var GB_IMG_DIR = "sapphire/thirdparty/greybox/";
25+
var GB_IMG_DIR = "framework/thirdparty/greybox/";
2626
}
2727

2828
function GreyBox() {

thirdparty/zend_translate_railsyaml/tests/TestHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* distribution.
4747
*/
4848
$ds = DIRECTORY_SEPARATOR;
49-
$zfRoot = realpath(dirname(dirname(dirname(__FILE__)))) . $ds . 'sapphire' . $ds . 'thirdparty';
49+
$zfRoot = realpath(dirname(dirname(dirname(__FILE__)))) . $ds . 'framework' . $ds . 'thirdparty';
5050
$zfCoreLibrary = "$zfRoot";
5151
$zfCoreTests = "$zfRoot/tests";
5252
$zfCustomLibrary = realpath(dirname(dirname(__FILE__))) . $ds . 'library';

0 commit comments

Comments
 (0)