Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/erp/htdocs/custom/gestionhrm/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/erp/htdocs/custom/gestionhrm/js/gestionhrm.js.php
<?php

if (!defined('NOREQUIRESOC')) {
	define('NOREQUIRESOC', '1');
}
if (!defined('NOCSRFCHECK')) {
	define('NOCSRFCHECK', 1);
}
if (!defined('NOTOKENRENEWAL')) {
	define('NOTOKENRENEWAL', 1);
}
if (!defined('NOLOGIN')) {
	define('NOLOGIN', 1);
}
if (!defined('NOREQUIREMENU')) {
	define('NOREQUIREMENU', 1);
}
if (!defined('NOREQUIREHTML')) {
	define('NOREQUIREHTML', 1);
}
if (!defined('NOREQUIREAJAX')) {
	define('NOREQUIREAJAX', '1');
}

// define('ISLOADEDBYSTEELSHEET', '1');
// session_cache_limiter('public');


$res=0;
if (! $res && file_exists("../../main.inc.php")) $res=@include("../../main.inc.php");       // For root directory
if (! $res && file_exists("../../../main.inc.php")) $res=@include("../../../main.inc.php"); // For "custom" 

top_httphead('text/javascript; charset=UTF-8');

global $langs;
$langs->load('gestionhrm@gestionhrm');

?>

$(document).ready(function(){
	$('#mainmenutd_hrm').find('a').each(function(){
	    $(this).attr('href','<?php echo dol_buildpath('/gestionhrm/dashbord.php?mainmenu=hrm',2) ?>')
	});
	$menu = '<div class="menu_titre" style="border-bottom: 1px solid #ccc;padding-bottom: 8px; margin-bottom: 9px;">';
	$menu += '<a class="vmenu" href="<?php echo dol_buildpath('/gestionhrm/dashbord.php?mainmenu=hrm',2) ?>"><i class="fa fa-bar-chart fa-fw paddingright"></i><?php echo preg_replace( "/\r|\n/", "", html_entity_decode($langs->trans("dashbordhrm"))); ?></a>';
	$menu += '</div>';
	$('.menu_contenu_holiday_card').parent('.blockvmenufirst').prepend($menu);
	$('.menu_contenu_recrutement_search').parent().find('div.menu_titre').prepend('<img src="<?php echo dol_buildpath("/recrutement/img/object_recrutement.png",2) ?>" class="valignmiddle pictomodule">');
	$('.menu_contenu_ecv_search').parent().find('div.menu_titre').prepend('<img src="<?php echo dol_buildpath("/ecv/img/object_ecv.png",2) ?>" class="valignmiddle pictomodule">');
})


Hry