Commit ebb9d288 authored by Julien1498's avatar Julien1498
Browse files

Update function

parent 79bfa002
......@@ -207,7 +207,8 @@ include("../../side.php");
// Display the list of management choices
$cpt = 1;
while (list($mgt_name, $mgt_url) = each($array_group_mgt)) {
foreach($array_group_mgt as $mgt) {
list($mgt_name, $mgt_url) = $mgt;
if($cpt == 3){
if($ldap_conf){
echo "<option value='$mgt_url'>".getLabel($mgt_name)."</option>";
......
......@@ -59,8 +59,8 @@ include("../../side.php");
echo "<tbody>";
// Display the list of process
while (list($proc_name,$array_proc) = each($array_serv_system))
{
foreach($array_serv_system as $serv) {
list($proc_name, $array_proc) = $serv;
$cmd_status=$array_proc["status"];
exec($cmd_status,$result_cmd);
......
......@@ -180,7 +180,8 @@ include("../../side.php");
reset($array_user_mgt);
// Display the list of management choices
while (list($mgt_name, $mgt_url) = each($array_user_mgt)) {
foreach($array_user_mgt as $mgt) {
list($mgt_name, $mgt_url) = $mgt;
echo "<option value='$mgt_url'>".getLabel($mgt_name)."</option>";
}
?>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment