$eventSel = makeSelectBox("evt", $kga['usr']['usr_grp']); if (isset($_REQUEST['stopRecord'])) { stopRecorder(); } if (isset($_REQUEST['startRecord']) && isset($_REQUEST['project']) && isset($_REQUEST['event'])) { $data = array(); $data['lastProject'] = $_REQUEST['project']; $data['lastEvent'] = $_REQUEST['event']; usr_edit($kga['usr']['usr_ID'], $data); $kga['usr']['lastProject'] = $data['lastProject']; $kga['usr']['lastEvent'] = $data['lastEvent']; startRecorder($_REQUEST['project'], $_REQUEST['event'], $kga['usr']['usr_ID']); } if (isset($_REQUEST['updateComment'])) { $data = get_event_last(); zef_edit_comment($data['zef_ID'], $_REQUEST['comment_type'], $_REQUEST['comment']); } ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title> <meta content=""> <style> body { /*background-color:black;*/ background:url('../grfx/ki_twitter_bg.jpg') no-repeat; background-color:#43e820; } label,select {
} $last_event = get_event_last(); zef_edit_evt($last_event['zef_ID'], $_REQUEST['task']); echo 1; break; // =================================== // = set comment for a running event = // =================================== // =================================== // = set comment for a running event = // =================================== case 'edit_running_comment': if (isset($kga['customer'])) { die; } zef_edit_comment($axValue, $_REQUEST['comment_type'], $_REQUEST['comment']); echo 1; break; // ========================================= // = Erase timesheet entry via quickdelete = // ========================================= // ========================================= // = Erase timesheet entry via quickdelete = // ========================================= case 'quickdelete': zef_delete_record($id); echo 1; break; // =============================================== // = Get the best rate for the project and event = // ===============================================