2009-09-09 Steffen Kamper <info@sk-typo3.de>
2009-09-09 Steffen Kamper <info@sk-typo3.de>
+ * Fixed bug #11895: Cookie detection in new t3skin login screen fails for certain cirumstances (thanks to Steffen Gebert)
* renamed t3lib_PageRenderer and the templates for backend/frontend
* Fixed bug #11908: Wrong labels in Media section in constants of css_styled_content
* renamed t3lib_PageRenderer and the templates for backend/frontend
* Fixed bug #11908: Wrong labels in Media section in constants of css_styled_content
'INFO_RELOAD' => $GLOBALS['LANG']->getLL('info.reset', true),
'ERROR_JAVASCRIPT' => $GLOBALS['LANG']->getLL('error.javascript', true),
'ERROR_COOKIES' => $GLOBALS['LANG']->getLL('error.cookies', true),
'INFO_RELOAD' => $GLOBALS['LANG']->getLL('info.reset', true),
'ERROR_JAVASCRIPT' => $GLOBALS['LANG']->getLL('error.javascript', true),
'ERROR_COOKIES' => $GLOBALS['LANG']->getLL('error.cookies', true),
+ 'ERROR_COOKIES_IGNORE' => $GLOBALS['LANG']->getLL('error.cookies_ignore', true),
'ERROR_CAPSLOCK' => $GLOBALS['LANG']->getLL('error.capslock', true),
'LABEL_DONATELINK' => $GLOBALS['LANG']->getLL('labels.donate', true),
'LABEL_USERNAME' => $GLOBALS['LANG']->getLL('labels.username', true),
'ERROR_CAPSLOCK' => $GLOBALS['LANG']->getLL('error.capslock', true),
'LABEL_DONATELINK' => $GLOBALS['LANG']->getLL('labels.donate', true),
'LABEL_USERNAME' => $GLOBALS['LANG']->getLL('labels.username', true),
<label index="error.login">Your login attempt did not succeed. Make sure to spell your username and password correctly, including upper/lowercase characters.</label>
<label index="error.javascript">Activate JavaScript, please!</label>
<label index="error.cookies">Activate Cookies, please!</label>
<label index="error.login">Your login attempt did not succeed. Make sure to spell your username and password correctly, including upper/lowercase characters.</label>
<label index="error.javascript">Activate JavaScript, please!</label>
<label index="error.cookies">Activate Cookies, please!</label>
+ <label index="error.cookies_ignore">Ignore!</label>
<label index="error.capslock">Attention: Caps lock enabled!</label>
<label index="warranty.by">Warranty is supplied by %s; %sclick for details.%s</label>
<label index="no.warranty">TYPO3 comes with ABSOLUTELY NO WARRANTY; %sclick for details.%s</label>
<label index="error.capslock">Attention: Caps lock enabled!</label>
<label index="warranty.by">Warranty is supplied by %s; %sclick for details.%s</label>
<label index="no.warranty">TYPO3 comes with ABSOLUTELY NO WARRANTY; %sclick for details.%s</label>
<p>\r
###ERROR_COOKIES###\r
</p>\r
<p>\r
###ERROR_COOKIES###\r
</p>\r
+ <p>\r
+ <a href="#" onclick="document.getElementById('t3-nocookies-error').style.display = 'none'; document.getElementById('t3-login-form-fields').style.display = 'block'; return false;">###ERROR_COOKIES_IGNORE###</a>\r
+ </p>\r
</div>\r
<div id="t3-login-form-fields">\r
###FORM###\r
</div>\r
<script type="text/javascript">\r
/*<![CDATA[*/\r
</div>\r
<div id="t3-login-form-fields">\r
###FORM###\r
</div>\r
<script type="text/javascript">\r
/*<![CDATA[*/\r
- var cookieEnabled = (navigator.cookieEnabled) ? true : false;\r
- \r
- if (typeof navigator.cookieEnabled == "undefined" && !cookieEnabled) {\r
- document.cookie = "testcookie";\r
- cookieEnabled = (document.cookie.indexOf("testcookie") != -1) ? true : false;\r
- }\r
+ document.cookie = "testcookie";\r
+ cookieEnabled = (document.cookie.indexOf("testcookie") != -1) ? true : false;\r
if (cookieEnabled) {\r
document.getElementById("t3-login-form-fields").style.display = 'block';\r
}\r
if (cookieEnabled) {\r
document.getElementById("t3-login-form-fields").style.display = 'block';\r
}\r