Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG: Installer templates

Installer was feeing the title "Title" to the template. Template
rearranged for usability concerns (people were missing the email and
password when going to the CMS login page)
  • Loading branch information...
commit 4fdc76d9047cc1c4a12e56d7654fe262dfb9b62b 1 parent 2e791ab
@adrexia adrexia authored
View
2  code/controllers/ContentController.php
@@ -401,7 +401,7 @@ function successfullyinstalled() {
));
return array(
- "Title" => DBField::create_field('Varchar', "Title", "Installation Successful"),
+ "Title" => _t("ContentController.INSTALL_SUCCESS", "Installation Successful!"),
"Content" => $data->renderWith('Install_successfullyinstalled'),
);
}
View
15 templates/Includes/Install_successfullyinstalled.ss
@@ -1,17 +1,18 @@
-<p style="margin: 1em 0">
- <b><%t ContentController.InstallSuccessCongratulations "SilverStripe has been successfully installed." %></b>
+<p>
+ <%t ContentController.InstallSuccessCongratulations "SilverStripe has been successfully installed!" %>
</p>
<% if Project == 'tutorial' %>
- <%t ContentController.PostInstallTutorialIntro 'This website is a simplistic version of a SilverStripe 2 site. To extend this, please take a look at {link}.' link='<a href="http://doc.silverstripe.org/doku.php?id=tutorials">our new tutorials</a>' %>
+ <%t ContentController.PostInstallTutorialIntro 'This website is a simplistic version of a SilverStripe 3 site. To extend this, please take a look at {link}.' link='<a href="http://doc.silverstripe.org/doku.php?id=tutorials">our tutorials</a>' %>
<% end_if %>
+ <p><strong>&nbsp; &nbsp; <%t ContentController.Email "Email" %>: $Username</strong></br>
+ <strong>&nbsp; &nbsp; <%t ContentController.Password "Password" %>: $Password</strong></p>
+
<p>
- <%t ContentController.StartEditing 'You can start editing your site\'s content by opening <a href="{link}">the CMS</a>.' link="admin/" %>
- <br />
- &nbsp; &nbsp; <%t ContentController.Email "Email" %>: $Username<br />
- &nbsp; &nbsp; <%t ContentController.Password "Password" %>: $Password<br />
+ <%t ContentController.StartEditing "You can start editing your site's content by opening <a href=\"{link}\">the CMS</a>." link="admin/" %>
</p>
+
<div style="background:#fcf8f2; border-radius:4px; border: 1px solid #ffc28b; padding:5px; margin:5px;">
<img src="cms/images/dialogs/alert.gif" style="border: none; margin-right: 10px; float: left; height:48px; width:48px" />
<p style="color: #cb6a1c; margin-bottom:0;">
Please sign in to comment.
Something went wrong with that request. Please try again.