noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 17/73: Cosmetic :


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 17/73: Cosmetic :
Date: Fri, 28 May 2021 05:26:23 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 9bbe5936c559f8d406620fa76d757f32a4917262
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Apr 11 12:28:09 2021 +0200

    Cosmetic :
---
 html/user_login.php | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/html/user_login.php b/html/user_login.php
index 0b46a27..2802724 100644
--- a/html/user_login.php
+++ b/html/user_login.php
@@ -114,7 +114,7 @@ include_once NOALYSS_INCLUDE."/lib/user_menu.php";
 
 $priv=($User->admin==1)?_("Administrateur"):_("Utilisateur");
 load_all_script();
-echo '<div class="welcome"> ';
+
 /**
  *
  * If the user is NOT admin and can access only ONE folder,
@@ -123,18 +123,7 @@ echo '<div class="welcome"> ';
  * folder if he's an "plugin user"
  */
 
-if ( $User->admin == 0 || (defined("MULTI")&& MULTI == 0 ) )
-{
-    // how many folder ?
-    $folder=$User->get_available_folder();
-    if ( $folder != null  && count($folder) == 1 )
-    {
-            echo _("Si la redirection ne fonctionne pas, vous devez changer la 
valeur de NOALYSS_URL ");
-            redirect(NOALYSS_URL.'/do.php?gDossier='.$folder[0]['dos_id']);
-            exit();
-    }
 
-}
 $result="";
 $result.="<table border=\"0\">";
 $result.='<TR>';
@@ -149,7 +138,20 @@ $result.='<TD  class="tool" ><A class="cell" 
HREF="logout.php" >'._('Deconnexion
 $result.="</TR>";
 $result.="</table>";
 
-echo '<div id="module">'.$result.'</div>';
+echo '<div id="module" style="position:absolute;">'.$result.'</div>';
+echo '<div class="welcome"> ';
+if ( $User->admin == 0 || (defined("MULTI")&& MULTI == 0 ) )
+{
+    // how many folder ?
+    $folder=$User->get_available_folder();
+    if ( $folder != null  && count($folder) == 1 )
+    {
+            echo _("Si la redirection ne fonctionne pas, vous devez changer la 
valeur de NOALYSS_URL ");
+            redirect(NOALYSS_URL.'/do.php?gDossier='.$folder[0]['dos_id']);
+            exit();
+    }
+
+}
 echo '</div>';
 ?>
 <div class="foldercontent">



reply via email to

[Prev in Thread] Current Thread [Next in Thread]