Commit a44de181 authored by Hamza Arfaoui's avatar Hamza Arfaoui

CAFI165

parent 8e25da51
......@@ -818,7 +818,7 @@ function headerContenu($agence, $conseiller, $nocontent = false, $SERVER) {
$html = $noTimer = "";
$reinforcement = $GLOBALS["PILE_CONF"]["REINFORCEMENT"] ? getReinforcementStatus($agence) : false;
if (!$GLOBALS["PILE_CONF"]["WHOISONLINE"]) {
$html .= '<div id="logo"><a href="../admin/dashboard.php"><img src="/' . $agence->logo . '" border="0"/></a></div>';
$html .= '<div id="logo"><a href="../admin/dashboard.php"><img src="../' . $agence->logo . '" border="0"/></a></div>';
} else {
$hidden = ' style=" display:none;"';
}
......@@ -2000,14 +2000,14 @@ function getAgentBoxInfos($agence, $conseiller, $reinforcement, $SERVER) {
$showBorneStatus = ($conseiller->mobility_status == 1) ? 0 : 1;
$showBorne = ($showBorneStatus == 1) ? " shown" : " not-shown";
$shownTitle = ($showBorneStatus == 1) ? "Affiché sur la borne" : "Pas affiché sur la borne";
$data .= '<img style="background-color:' . $GLOBALS["BORNE_CONF"]["COLORS"]["PRIMARYCOLOR"] . '" src="/' . $src_img . '" height="45" width="auto"><div title="' . $shownTitle . '" class="borne-status-indicator' . $showBorne . '"></div>';
$data .= '<img style="background-color:' . $GLOBALS["BORNE_CONF"]["COLORS"]["PRIMARYCOLOR"] . '" src="../' . $src_img . '" height="45" width="auto"><div title="' . $shownTitle . '" class="borne-status-indicator' . $showBorne . '"></div>';
}
$data .= "<span>" . $conseiller->civ . " " . $conseiller->prenom . " " . $conseiller->nom . "</span>";
}
} else {
if (isset($_SESSION['matricule']) && $conseiller && !($conseiller instanceof fakeConseiller)) {
if (isset($conseiller->photo)) {
$data .= '<img style="background-color:' . $GLOBALS["BORNE_CONF"]["COLORS"]["PRIMARYCOLOR"] . '" src="/' . $src_img . '" height="45" width="auto">';
$data .= '<img style="background-color:' . $GLOBALS["BORNE_CONF"]["COLORS"]["PRIMARYCOLOR"] . '" src="../' . $src_img . '" height="45" width="auto">';
}
$data .= '<span>' . $conseiller->civ . " " . $conseiller->prenom . " " . $conseiller->nom . '
<span style="margin-left:130px;"><a href="./close.php?IDA=' . $agence->code_agence . '">Déconnexion</a></span>';
......
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