Administration : add information about system
update all the databases + account_repository
This commit is contained in:
parent
d2540c6eb4
commit
3ffcb4ea26
3 changed files with 14 additions and 3 deletions
|
|
@ -591,7 +591,7 @@ for ($e=0;$e < $MaxDossier;$e++) {
|
|||
{
|
||||
echo_warning(_("Dossier inexistant")." $name");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// Upgrade the template
|
||||
|
|
|
|||
|
|
@ -94,6 +94,9 @@ if ($action== 'audit_log')
|
|||
/* List the connexion successfull and failed */
|
||||
require_once NOALYSS_INCLUDE."/audit_log.php";
|
||||
}
|
||||
/*
|
||||
* Display information about current installation
|
||||
*/
|
||||
if ( $action == "info") {
|
||||
echo "<h2>"._('Variables').":".NOALYSS_INCLUDE.'/config.inc.php </h2>';
|
||||
echo '<ul style="list-style:square">';
|
||||
|
|
@ -103,6 +106,7 @@ if ( $action == "info") {
|
|||
echo "<li>"."DEBUG".":".DEBUG."</li>";
|
||||
echo "<li>"."LOGINPUT".":".LOGINPUT."</li>";
|
||||
echo "<li>"."LOCALE".":".LOCALE."</li>";
|
||||
echo "<li>"."MULTI".":".MULTI."</li>";
|
||||
echo "<li>"."DOMAINE".":".domaine."</li>";
|
||||
echo "<li>"."PG_PATH".":".PG_PATH."</li>";
|
||||
echo "<li>"."PG_DUMP".":".PG_DUMP."</li>";
|
||||
|
|
|
|||
|
|
@ -100,9 +100,15 @@ function MenuAdmin()
|
|||
case 'audit_log':
|
||||
$def=4;
|
||||
break;
|
||||
case 'restore';
|
||||
case 'restore':
|
||||
$def=3;
|
||||
break;
|
||||
case 'upgrade':
|
||||
$def = 5;
|
||||
break;
|
||||
case 'info':
|
||||
$def=6;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!defined("MULTI")||(defined("MULTI")&&MULTI==1))
|
||||
|
|
@ -111,8 +117,9 @@ function MenuAdmin()
|
|||
array("admin-noalyss.php?action=dossier_mgt",_("Dossiers"),_('Gestion des dossiers'),1),
|
||||
array("admin-noalyss.php?action=modele_mgt",_("Modèles"),_('Gestion des modèles'),2),
|
||||
array("admin-noalyss.php?action=restore",_("Restaure"),_("Restaure une base de données"),3),
|
||||
array("admin-noalyss.php?action=upgrade",_("Mise à jour"),_("Mise à jour du système et des bases de données"),5),
|
||||
array("admin-noalyss.php?action=audit_log",_("Audit"),_("Utilisateurs qui se sont connectés"),4),
|
||||
array("admin-noalyss.php?action=info",_("Information système")),
|
||||
array("admin-noalyss.php?action=info",_("Information système"),('Information à propos de votre installation'),6),
|
||||
array("login.php",_("Accueil")),
|
||||
array("logout.php",_("Sortie"))
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue