Update Calendar to Full Calendar 6.1.10

This commit is contained in:
o-psi
2024-02-14 20:21:19 +00:00
parent 20845d72da
commit 1f3799ebe3
51 changed files with 33178 additions and 125 deletions

View File

@@ -1085,3 +1085,9 @@ function createiCalStr($datetime, $title, $description, $location)
// Return the iCal string
return $cal_event->export();
}
function isMobile()
{
// Check if the user agent is a mobile device
return preg_match('/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|opera mini|palm|phone|pie|tablet|up.browser|up.link|webos|wos)/i', $_SERVER['HTTP_USER_AGENT']);
}