function show_task_calendar_recursive() { $calendar = new calendar(2, 20); $calendar->set_cal_person($_GET["personID"]); $calendar->set_return_mode("calendar"); $calendar->draw(); }
function show_task_calendar_recursive() { $current_user =& singleton("current_user"); $tasksGraphPlotHomeStart = $current_user->prefs["tasksGraphPlotHomeStart"]; $tasksGraphPlotHome = $current_user->prefs["tasksGraphPlotHome"]; $calendar = new calendar($tasksGraphPlotHomeStart, $tasksGraphPlotHome); $calendar->set_cal_person($current_user->get_id()); $calendar->set_return_mode("home"); $calendar->draw($template); }