mlanthaler: Changed the login messages to reflect the fact that more authentication methods are available.

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41793 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-14 19:26:56 +00:00
parent 19e222b5c2
commit 74214051b8
3 changed files with 242 additions and 242 deletions

View File

@ -36,7 +36,7 @@ abstract class LeftAndMain extends Controller {
// Access failure! // Access failure!
if(!$isAllowed) { if(!$isAllowed) {
$messageSet = array( $messageSet = array(
'default' => "Enter your email address and password to access the CMS.", 'default' => "Please choose an authentication method and enter your credentials to access the CMS.",
'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below", 'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below",
'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.", 'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.",
); );

View File

@ -13,7 +13,7 @@ class NewsletterAdmin extends LeftAndMain {
/* /*
if(!$this->can('AdminCMS')) { if(!$this->can('AdminCMS')) {
$messageSet = array( $messageSet = array(
'default' => "Enter your email address and password to access the CMS.", 'default' => "Please choose an authentication method and enter your credentials to access the CMS.",
'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below", 'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below",
'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.", 'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.",
); );

View File

@ -10,7 +10,7 @@ class StaticExporter extends Controller {
parent::init(); parent::init();
if(!$this->can('AdminCMS')) { if(!$this->can('AdminCMS')) {
$messageSet = array( $messageSet = array(
'default' => "Enter your email address and password to access the CMS.", 'default' => "Please choose an authentication method and enter your credentials to access the CMS.",
'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below", 'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below",
'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.", 'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.",
); );