// jscalendar in XOOPS 2.2 core $jscalurl = XOOPS_URL . '/class/calendar'; $xoopsTpl->assign('xoops_module_header', ' <link rel="stylesheet" type="text/css" media="all" href="' . $jscalurl . '/CSS/calendar-blue.css" title="system" /> <script type="text/javascript" src="' . $jscalurl . '/calendar.js"></script> <script type="text/javascript" src="' . $jscalurl . '/lang/' . $cal->jscalendar_lang_file . '"></script> <script type="text/javascript" src="' . $jscalurl . '/calendar-setup.js"></script> ' . $xoopsTpl->get_template_vars("xoops_module_header")); $cal->jscalendar = 'jscalendar'; } else { // older jscalendar in XOOPS 2.0.x core include XOOPS_ROOT_PATH . '/include/calendarjs.php'; $cal->jscalendar = 'xoops'; } } echo $cal->get_schedule_edit_html(); } else { if ($action == 'View') { // echo $cal->get_schedule_view_html( ) ; $xoopsTpl->assign('detail_body', $cal->get_schedule_view_html()); $xoopsTpl->assign('xoops_pagetitle', $cal->last_summary); $xoopsTpl->assign('xoops_default_comment_title', 'Re: ' . $cal->last_summary); $xoopsTpl->assign('print_link', "{$mod_url}/print.php?event_id=" . intval($_GET['event_id']) . "&action=View"); $xoopsTpl->assign('com_itemid', intval($_GET['event_id'])); //added naao $xoopsTpl->assign('skinpath', "{$cal->images_url}"); $xoopsTpl->assign('lang_print', _MB_PICAL_ALT_PRINTTHISEVENT); // meta description // naao $pical_meta_description = $cal->event->start_datetime_str . " - "; $pical_meta_description .= $cal->event->end_datetime_str . " : "; $pical_meta_description .= htmlspecialchars(strip_tags($cal->event->description), ENT_QUOTES);