]> dev.renevier.net Git - syp.git/blobdiff - inc/templates_admin.php
lang attribute for <html> tag
[syp.git] / inc / templates_admin.php
index eda657d7577c7ff50fa12274c4b9796829d239e3..c3500dc4069205f28180bd88a70c601ea68a0115 100644 (file)
@@ -21,15 +21,15 @@ 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>
       <link rel="stylesheet" href="./media/admin.css" type="text/css">
 </head>
 <body>
-    <p class="error center"><?php ptrans('SYP is not correctly installed. Please read README.txt file and follow
-       installation instructions.')?></p>
+    <p class="error center"><?php ptrans('SYP is not correctly installed. Please follow README.txt instructions
+       and go to <a href="wizard.en.php">wizard</a>.')?></p>
 </body>
 </html>
 <?php
@@ -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>