ts_FlushSMSData($_GET['flushsmsdata']); rcms_redirect('?module=taskman&edittask=' . $_GET['flushsmsdata']); } /** * Salary accounting actions */ if ($altCfg['SALARY_ENABLED']) { $salary = new Salary(); //salary job deletion if (wf_CheckGet(array('deletejobid'))) { $salary->deleteJob($_GET['deletejobid']); rcms_redirect($salary::URL_TS . $_GET['edittask']); } //salary job editing if (wf_CheckPost(array('editsalaryjobid', 'editsalaryemployeeid', 'editsalaryjobtypeid'))) { $salary->jobEdit($_POST['editsalaryjobid'], $_POST['editsalaryemployeeid'], $_POST['editsalaryjobtypeid'], $_POST['editsalaryfactor'], $_POST['editsalaryoverprice'], $_POST['editsalarynotes']); rcms_redirect($salary::URL_TS . $_GET['edittask']); } //salary job creation if (wf_CheckPost(array('newsalarytaskid', 'newsalaryemployeeid', 'newsalaryjobtypeid'))) { $salary->createSalaryJob($_POST['newsalarytaskid'], $_POST['newsalaryemployeeid'], $_POST['newsalaryjobtypeid'], $_POST['newsalaryfactor'], $_POST['newsalaryoverprice'], $_POST['newsalarynotes']); rcms_redirect($salary::URL_TS . $_GET['edittask']); } } //display task change form ts_TaskChangeForm($_GET['edittask']); //photostorage integration if ($altCfg['PHOTOSTORAGE_ENABLED']) { $photoStorage = new PhotoStorage('TASKMAN', $_GET['edittask']); $photostorageControl = wf_Link('?module=photostorage&scope=TASKMAN&mode=list&itemid=' . $_GET['edittask'], wf_img('skins/photostorage.png') . ' ' . __('Upload images'), false, 'ubButton'); $photostorageControl .= wf_delimiter();