]> dev.renevier.net Git - syp.git/blobdiff - inc/templates_admin.php
lang attribute for <html> tag
[syp.git] / inc / templates_admin.php
index ce7e3b4230069f83bcfb124307bdae92a3210105..c3500dc4069205f28180bd88a70c601ea68a0115 100644 (file)
@@ -21,7 +21,7 @@ if (!$usrtblexists || !$itemstblexists) {
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">  
-<html>
+<html lang="<?php echo $lang?>">
 <head>
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
       <title><?php ptrans('SYP admin')?></title>
@@ -38,7 +38,7 @@ if (!$usrtblexists || !$itemstblexists) {
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">  
-<html>
+<html lang="<?php echo $lang?>">
 <head>
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
       <title><?php ptrans('SYP admin');?></title>
@@ -148,6 +148,7 @@ if (!$usrtblexists || !$itemstblexists) {
      <div id="login_padding"></div>
      <div id="login_content">
         <form id="login_form" method="post">
+        <div id="cookie_warning" class="center warn"><?php ptrans('You need to have cookies enabled to administrate SYP')?></div>
             <table>
                 <tr>
                     <td><label for="password"><?php ptrans('password')?></label></td>