[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/05: Let you reconnect to noalyss as admini
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/05: Let you reconnect to noalyss as administrator |
Date: |
Tue, 20 Oct 2015 18:27:53 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 1b139525deff1297471c5f419b760d0af492b694
Author: Dany De Bontridder <address@hidden>
Date: Tue Oct 20 17:51:12 2015 +0200
Let you reconnect to noalyss as administrator
---
include/admin_repo.inc.php | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/admin_repo.inc.php b/include/admin_repo.inc.php
index eec2bf8..3cbf22f 100644
--- a/include/admin_repo.inc.php
+++ b/include/admin_repo.inc.php
@@ -37,10 +37,15 @@ $User->Check();
if ($User->admin != 1)
{
+ $theme=(isset($User->theme))?$User->theme:"";
html_page_start($User->theme);
echo "<h2 class=\"warning\">";
echo _("Vous n'ĂȘtes pas administateur");
echo "</h2>";
+
$reconnect=http_build_query(array("reconnect"=>1,"backurl"=>"admin-noalyss.php?action=upgrade"));
+ echo '<a href="index.php?'.$reconnect.'">';
+ echo _("Connectez-vous comme administrateur");
+ echo '</a>';
html_page_stop();
return;
}
- [Noalyss-commit] [noalyss] branch master updated (59e8768 -> b5eb0a7), Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 01/05: Let you reconnect to noalyss as administrator,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/05: ESthetic : card the accounting name is shown twice, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 02/05: Bug : card linked to an accounting not show in PARAM_PCMN.INC.PHP, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 04/05: Bug : if there is no middle of payment , it is not possible to add one, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 05/05: remove setup.js from install file, Dany De Bontridder, 2015/10/20