tag if (isset($getdate)) { $query="&getdate=$getdate"; } else { $query=""; } // open file $dir_handle = @opendir($calendar_path) or die(error(sprintf($error_path_lang, $calendar_path), $cal_filename)); // empty the filelist array $filelist = array(); // build the "; } else { print ""; } } } // option to open all (non-web) calenders together if ($cal == 'all_calenders_combined971') { print ""; } else { print ""; } foreach($list_webcals as $cal_tmp) { if ($cal_tmp != '') { $cal_displayname_tmp = basename($cal_tmp); $cal_displayname_tmp = str_replace("32", " ", $cal_displayname_tmp); $cal_displayname_tmp = substr($cal_displayname_tmp,0,-4); $cal_encoded_tmp = urlencode($cal_tmp); if ($cal_tmp == $cal_httpPrefix || $cal_tmp == $cal_webcalPrefix) { print ""; } else { print ""; } } } // close file closedir($dir_handle); // finish "; } ?>