57 lines
1.7 KiB
PHP
57 lines
1.7 KiB
PHP
<?php
|
|
|
|
use Glpi\Event;
|
|
|
|
include ('../inc/includes.php');
|
|
|
|
|
|
Session::checkLoginUser();
|
|
|
|
if (Session::getCurrentInterface() == "helpdesk") {
|
|
Html::helpHeader("Publication", '', $_SESSION["glpiname"]);
|
|
} else {
|
|
Html::header("Publication", '', "", "");
|
|
}
|
|
|
|
//$Lang = $_SESSION['glpilanguage'];
|
|
//if($Lang == "ar_SA"){
|
|
echo'<div style="width:100vw;height:100vh;" ><embed src="../file_upload/reg_int_2024.pdf" type="application/pdf" height="100%" width="100%" ></div>';
|
|
//}else{
|
|
// echo'<embed src="../file_upload/reglement/reg_fr.pdf" type="application/pdf" height="450px" width="100%" >';
|
|
//}
|
|
$root = $CFG_GLPI["root_doc"];
|
|
$fullname = $_SESSION["glpifriendlyname"];
|
|
|
|
if (Session::getCurrentInterface() == "helpdesk") {
|
|
Html::helpFooter();
|
|
} else {
|
|
Html::footer();
|
|
}
|
|
|
|
|
|
$link=$CFG_GLPI["root_doc"];
|
|
$user = Session::getCurrentInterface();
|
|
?>
|
|
|
|
<script>
|
|
var link = <?php echo json_encode($link); ?>;
|
|
var user = <?php echo json_encode($user); ?>;
|
|
var userlink;
|
|
if(user == "helpdesk"){
|
|
userlink ='<li class="breadcrumb_item"><a href="'+link+'/front/helpdesk.public.php" title="Accueil">Accueil</a></li>';
|
|
}else{
|
|
userlink = '<li class="breadcrumb_item"><a href="'+link+'/front/central.php" title="Accueil">Accueil</a></li>';
|
|
}
|
|
|
|
$(document).ready(function(){
|
|
|
|
$("#c_ssmenu2").html('<ul>'+
|
|
userlink+
|
|
'<li class="breadcrumb_item"><a href="" title="">Ressources Humaines</a></li>'+
|
|
'<li class="breadcrumb_item"><a href="'+link+'/front/drh.reglement.interieur.php" class="here" title="Réglement Intérieur"><i class="far fa-sticky-note"></i> Réglement Intérieur</a></li>'+
|
|
'<span class="sr-only">Ajouter</span></a>'+
|
|
'</li>'+
|
|
'</ul>');
|
|
|
|
});
|
|
</script>
|