You can’t use noscript inside the head see #4400 & http://reference.sitepoint.com/html/noscript

skala
Julio Montoya 13 years ago
parent 4a916be813
commit 2042d4e3a6
  1. 4
      index.php
  2. 1
      main/template/default/layout/main_header.tpl

@ -38,8 +38,7 @@ $htmlHeadXtra[] ='
pause : 10000
});
});
</script>
<noscript>'.get_lang("NoJavascript").'</noscript>';
</script>';
//set cookie for check if client browser are cookies enabled
setcookie("TestCookie", "cookies_yes", time()+3600);
@ -86,7 +85,6 @@ if (!api_get_user_id() && api_get_setting('use_custom_pages') == 'true' ){
CustomPages::displayPage('index-unlogged');
}
/**
* @todo This piece of code should probably move to local.inc.php where the actual login procedure is handled.
* @todo Check if this code is used. I think this code is never executed because after clicking the submit button

@ -4,6 +4,7 @@
{include file="default/layout/head.tpl"}
</head>
<body dir="{$text_direction}" class="{$section_name}">
<noscript>{"NoJavascript"|get_lang}</noscript>
<div class="skip">
<ul>

Loading…
Cancel
Save