โปรแกรมจองห้องประชุม : อยากให้แสดงชื่อห้องตรงหน้าปฎิทิน

โปรแกรมจองห้องประชุม : อยากให้แสดงชื่อห้องตรงหน้าปฎิทิน
อยากให้แสดงชื่อห้องตรงหน้าปฎิทิน หรือให้แสดงหัวข้อ หรือเลขที่ห้อง จะต้องไปแก้ที่ตรงไหนคะ

พยายามแกะแล้ว แต่หาไม่เจอค่ะ รบกวนอาจารย์ด้วยค่ะ


ขอบคุณค่ะ
P-Blur 22 พ.ค. 2566 2 569
0SHAREFacebookLINE it!

ข้อความที่จะแสดง มาจากตรงนี้ https://github.com/...els/calendar.php#L85
#1

ขอบคุณมากค่ะ

ต้องไปเพิ่มที่นี่ด้วย

private static function title($item)
{
if (
preg_match('/([0-9]{4,4}\-[0-9]{2,2}\-[0-9]{2,2})\s[0-9\:]+$/', $item->begin, $begin) &&
preg_match('/([0-9]{4,4}\-[0-9]{2,2}\-[0-9]{2,2})\s[0-9\:]+$/', $item->end, $end)
) {
if ($begin[1] == $end[1]) {
$return = ($item->name).'<br>{LNG_Time} '.Date::format($item->begin, 'TIME_FORMAT').' {LNG_to} '.Date::format($item->end, 'TIME_FORMAT').'<br>';
} else {
$return = ($item->name).'<br>'.Date::format($item->begin).' {LNG_to} '.Date::format($item->end).'<br>';
}
return Language::trans($return)."\n".Text::unhtmlspecialchars($item->detail);
}
}
}
#2
ความคิดเห็น
ไฟล์อัปโหลด ชนิด jpg, jpeg, png ขนาดไฟล์ไม่เกิน 1024