11 $today_periode=
$p->find_periode(date(
'd.m.Y'));
13}
catch (\Exception
$e) {
17<div
class=
"pc_calendar" id=
"user_cal" style=
"width:100%">
18<?php echo $month_year?>
20 $js=sprintf(
"calendar_zoom({gDossier:%d,invalue:'%s',outvalue:'%s',distype:'%s','notitle':%d})",
21 dossier::id(),
'per_div',
'calendar_zoom_div',
'list',
$notitle);
27<script>$(
'today').gDossier=
"<?=Dossier::id()?>"
28 $(
'today').type_display=
"<?=$p_type?>";
31 <button
class=
"smallbutton" onclick=
"change_month($('today'))"> <?=
_(
"Aujourd'hui")?></button>
35<?php
if ($zoom == 1 ): ?>
47 echo
'<span class="d-none d-sm-block ">'.$week[
$nDay].
'</span>';
48 echo
'<span class=" d-block d-sm-none">'.substr(
$week[
$nDay],0,2).
'</span>';
64 echo
"<tr style='height:{$height} '>";
72 $timestamp_date=mktime(0,0,0,$this->month,
$ind,$this->year);
73 $date_calendar=date(
'w',$timestamp_date);
77 $st=
' style="border:2px solid darkblue;background-color:hsl(199, 60%, 95%);" ';
79 if ( $date_calendar ==
$week ) {
80 echo
'<td class="'.$class.
'" '.
$st.
'>'.
'<span class="day">'.$ind.
"</span>";
81 echo
'<span class="d-none d-sm-block ">'.$cell[
$ind].
'<span>';
82 echo
'<span class="d-block d-sm-none">'.$cell[
$ind].
'<span>';
93if (
$nCol != 0 ) { echo
"</tr>";}
tr($p_string, $p_extra='')
global $g_user
if no group available , then stop
_("actif, passif,charge,...")
for($i=0;$i<=6;$i++) $ind