]> dev.renevier.net Git - syp.git/blobdiff - inc/templates_admin.php
forbird creation or deletion of item; forbids adding or deleting an image
[syp.git] / inc / templates_admin.php
index b02e5a800ab146d61f4686c59624af8035d8930b..3ebce4da4115ea035cc80a98f1b128aa0cf0e705 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>
@@ -62,7 +62,8 @@ if (!$usrtblexists || !$itemstblexists) {
             UnconsistentError: "<?php ptrans('Server reply was inconsistent.')?>",
             UnknownError: "<?php ptrans('There was an unknown error.')?>",
             DelSucces: "<?php ptrans('Removal took place correctly.')?>",
-            UpdateSucces: "<?php ptrans('Save took place correctly.')?>"
+            UpdateSucces: "<?php ptrans('Save took place correctly.')?>",
+            DisabledForDemo: "<?php ptrans('This feature is not enabled on demo site')?>"
         };
 
         <?php 
@@ -135,6 +136,10 @@ if (!$usrtblexists || !$itemstblexists) {
             <input type="hidden" name="request" value="del">
             <input type="hidden" name="fid">
         </form>
+        <p id="editor_throbber" class="throbber center">
+            <?php ptrans('Connecting')?>
+            <img src="media/editor-throbber.gif">
+        </p>
     </div>
 
       <div id="login_area"
@@ -161,7 +166,7 @@ if (!$usrtblexists || !$itemstblexists) {
             </p>
             <p id="pwd_throbber" class="throbber center">
                 <?php ptrans('Connecting')?>
-                <img src="media/pwd_throbber.gif" alt="throbber">
+                <img src="media/pwd-throbber.gif" alt="throbber">
             </p>
             <p class="error center" id="login_error"></p>
         </form>