task->create;?>

createLink('custom', 'ajaxSaveCustomFields', 'module=task§ion=custom&key=createFields')?>
task->create->requiredFields) as $field) { if($field and strpos($showFields, $field) === false) $showFields .= ',' . $field; } ?>
printExtendFields('', 'table', 'columns=3');?> type != 'ops'):?> type != 'ops'):?>
task->execution;?> id, "class='form-control chosen' onchange='loadAll(this.value)' required");?>
task->type;?> task->typeList, $task->type, "class='form-control chosen' onchange='setOwners(this.value)' required");?>
task->module;?> module, "class='form-control chosen' onchange='setStories(this.value, $project->id)'");?>
>
task->assignedTo;?>
assignedTo, "class='form-control chosen'");?>
task->status;?>
task->story;?> task->noticeLinkStory, html::a($this->createLink('project', 'linkStory', "projectID=$project->id"), $lang->project->linkStory, '_blank', 'class="text-primary"'), html::a("javascript:loadStories($project->id)", $lang->refresh, '', 'class="text-primary"'));?>
story => $stories[$task->story]), $task->story, "class='form-control chosen' onchange='setStoryRelated();'");?> preview;?>
task->name;?>
name, "class='form-control' required");?> task->copyStoryTitle;?>
task->pri;?> task->priList as $priKey => $priValue) { if(!empty($priKey) and (string)$priKey != (string)$priValue) { $hasCustomPri = true; break; } } $priList = $lang->task->priList; if(end($priList)) unset($priList[0]); if(!isset($priList[$task->pri])) { reset($priList); $task->pri = key($priList); } ?> pri, "class='form-control'");?>
task->estimateAB;?>
task->desc;?> fetch('user', 'ajaxPrintTemplates', 'type=task&link=desc');?> desc), "rows='10' class='form-control'");?>
files;?> fetch('file', 'buildform');?>
task->datePlan;?>
estStarted, "class='form-control form-date' placeholder='{$lang->task->estStarted}'");?> ~ deadline, "class='form-control form-date' placeholder='{$lang->task->deadline}'");?>
story->mailto;?>
acl == 'private' ? $members : $users, str_replace(' ', '', $task->mailto), "class='form-control chosen' data-placeholder='{$lang->chooseUsersToMail}' multiple");?> fetch('my', 'buildContactLists');?>
task->afterSubmit;?> task->afterChoices, !empty($task->id) ? 'toTaskList' : 'continueAdding');?>