commit
b14a1b2ae6
@ -1192,14 +1192,12 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
|||||||
$cssclass=$cssclass.' '.$cssclass.'_day_'.$ymd;
|
$cssclass=$cssclass.' '.$cssclass.'_day_'.$ymd;
|
||||||
|
|
||||||
// Defined style to disable drag and drop feature
|
// Defined style to disable drag and drop feature
|
||||||
if (empty($event->fulldayevent))
|
if ($event->date_end_in_calendar && date('Ymd',$event->date_start_in_calendar) != date('Ymd',$event->date_end_in_calendar))
|
||||||
{
|
|
||||||
if ($event->date_end_in_calendar && $event->date_start_in_calendar != $event->date_end_in_calendar)
|
|
||||||
{
|
{
|
||||||
$tmpyearend = date('Y',$event->date_end_in_calendar);
|
$tmpyearend = date('Y',$event->date_end_in_calendar);
|
||||||
$tmpmonthend = date('m',$event->date_end_in_calendar);
|
$tmpmonthend = date('m',$event->date_end_in_calendar);
|
||||||
$tmpdayend = date('d',$event->date_end_in_calendar);
|
$tmpdayend = date('d',$event->date_end_in_calendar);
|
||||||
if ($tmpyearend != $annee || $tmpmonthend != $mois || $tmpdayend != $jour)
|
if ($tmpyearend == $annee && $tmpmonthend == $mois && $tmpdayend == $jour)
|
||||||
{
|
{
|
||||||
$cssclass.= " unsortable";
|
$cssclass.= " unsortable";
|
||||||
}
|
}
|
||||||
@ -1208,7 +1206,6 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
|||||||
{
|
{
|
||||||
$cssclass.= " unsortable";
|
$cssclass.= " unsortable";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Show rect of event
|
// Show rect of event
|
||||||
print '<div id="event_'.$ymd.'_'.$i.'" class="event '.$cssclass.'">';
|
print '<div id="event_'.$ymd.'_'.$i.'" class="event '.$cssclass.'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user