mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
wip special days alerts
This commit is contained in:
parent
bd75912a0d
commit
f521dec4e2
@ -644,6 +644,7 @@ class CalendarManager
|
|||||||
);
|
);
|
||||||
$tmp->options .= '</a>';
|
$tmp->options .= '</a>';
|
||||||
|
|
||||||
|
if ($tmp->id != 1) {
|
||||||
// Options. Delete.
|
// Options. Delete.
|
||||||
$tmp->options .= '<a href="';
|
$tmp->options .= '<a href="';
|
||||||
$tmp->options .= ui_get_full_url(
|
$tmp->options .= ui_get_full_url(
|
||||||
@ -660,6 +661,7 @@ class CalendarManager
|
|||||||
);
|
);
|
||||||
$tmp->options .= '</a>';
|
$tmp->options .= '</a>';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$carry[] = $tmp;
|
$carry[] = $tmp;
|
||||||
return $carry;
|
return $carry;
|
||||||
|
@ -105,7 +105,7 @@ $inputs[] = [
|
|||||||
'name' => 'day_code',
|
'name' => 'day_code',
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'fields' => $days,
|
'fields' => $days,
|
||||||
'selected' => $specialDay->day_code(),
|
'selected' => ($specialDay->day_code() === null) ? 1 : $specialDay->day_code(),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user