2013-07-25, 19:34:59
Added a check for available calendarevents in client_calendarEvents.php:
Example usage:
Code:
function c_calendarEventsCheck(){
$dir = opendir(GSDATAOTHERPATH.'/calendar');
$file = readdir($dir);
if($file != '.' and $file != '..'){
if ($file){
return true;
}else{
return false;
}
}
}
Example usage:
Code:
if(c_calendarEventsCheck()){
//show content
}