MINOR #2696 - Add message when trying to load the CMS with javascript

disabled (simon_w)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61826 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2008-09-01 05:03:38 +00:00
parent c2da78d2e9
commit e9cb69118b
2 changed files with 5 additions and 1 deletions

View File

@ -471,6 +471,10 @@ $lang['en_US']['LeftAndMain.ss']['LOADING'] = array(
'Loading...',
PR_HIGH
);
$lang['en_US']['LeftAndMain.ss']['REQUIREJS'] = array(
'The CMS requires that you have JavaScript enabled.',
PR_HIGH
);
$lang['en_US']['LeftAndMain.ss']['SSWEB'] = 'Silverstripe Website';
$lang['en_US']['LeftAndMain.ss']['APPVERSIONTEXT1'] = 'This is the';
$lang['en_US']['LeftAndMain.ss']['APPVERSIONTEXT2'] = 'version that you are currently running, technically it\'s the CVS branch';

View File

@ -7,7 +7,7 @@
</head>
<body class="stillLoading $CSSClasses">
<div id="Loading" style="background: #FFF url($LoadingImage) 50% 50% no-repeat; position: absolute;z-index: 100000;height: 100%;width: 100%;margin: 0;padding: 0;z-index: 100000;position: absolute;"><% _t('LOADING','Loading...',PR_HIGH) %></div>
<div id="Loading" style="background: #FFF url($LoadingImage) 50% 50% no-repeat; position: absolute;z-index: 100000;height: 100%;width: 100%;margin: 0;padding: 0;z-index: 100000;position: absolute;"><% _t('LOADING','Loading...',PR_HIGH) %><noscript><h1><% _t('REQUIREJS','The CMS requires that you have JavaScript enabled.',PR_HIGH) %></h1></noscript></div>
<div id="top">
<% include CMSTopMenu %>