id;?> createLink('story', 'view', "storyID=$story->id"), $story->title, '', 'class="story-title"');?> arrow . ' ' . $lang->story->edit;?>

title, 'class="form-control disabled story-title"' . (strpos('draft,changing', $story->status) !== false ? '' : ' disabled="disabled"'));?>
status) !== false):?>
story->reviewers;?>
story->checkForceReview()):?>
/>
story->legendSpec;?>
status) !== false ? html::textarea('spec', htmlSpecialString($story->spec), "rows='5' class='form-control'") : $story->spec;?>
story->verify;?>
status) !== false ? html::textarea('verify', htmlSpecialString($story->verify), "rows='5' class='form-control'") : $story->verify;?>
status) === false and empty($story->files)) ? false : true;?>
attatch;?>
status) !== false ? true : false;?> fetch('file', 'printFiles', array('files' => $story->files, 'fieldset' => 'false', 'object' => $story, 'method' => 'edit', 'showDelete' => $canChangeFile));?> fetch('file', 'buildform') : '';?>
printExtendFields($story, 'div', 'position=left');?>
story->changeSyncTip;?>
story->comment;?>
lastEditedDate); if(strpos('draft,changing', $story->status) !== false) { echo html::commonButton($lang->save, "id='saveButton'", 'btn btn-primary btn-wide'); echo html::commonButton($story->status == 'changing' ? $lang->story->doNotSubmit : $lang->story->saveDraft, "id='saveDraftButton'", 'btn btn-secondary btn-wide'); } else { echo html::submitButton($lang->save); } if(!isonlybody()) echo html::backButton(); ?>

story->legendBasicInfo;?>
parent <= 0):?> type != 'normal'):?> parent >= 0 and $story->type == 'story'):?> type == 'story'):?> '> '>
story->product;?>
product, "onchange='loadProduct(this.value);' class='form-control chosen control-product'");?> type != 'normal') echo html::select('branch', $branchTagOption, $story->branch, "onchange='loadBranch();' class='form-control chosen control-branch'");?>
product->branch = sprintf($lang->product->branch, $lang->product->branchName['branch']);?>
type != 'normal') echo html::select('branch', $branchTagOption, $story->branch, "onchange='loadBranch();' class='form-control chosen control-branch'");?>
story->module;?>
module, "class='form-control chosen'"); if(count($moduleOptionMenu) == 1) { echo ""; echo html::a($this->createLink('tree', 'browse', "rootID=$story->product&view=story¤tModuleID=0&branch=$story->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'"); echo '  '; echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' title='$lang->refresh' onclick='loadProductModules($story->product)'"); echo ''; } ?>
story->parent;?> parent, "class='form-control chosen'");?>
story->plan;?>
planTitle) ? count($story->planTitle) : 0?> session->currentProductType != 'normal' and empty($story->branch) and $planCount > 1) ? 'multiple' : '';?> plan, "class='form-control chosen' " . $multiple); if(count($plans) == 1) { echo ""; echo html::a($this->createLink('productplan', 'create', "productID=$story->product&branch=$story->branch", '', true), $lang->productplan->create, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'"); echo html::a("javascript:void(0)", $lang->refresh, '', "class='refresh' onclick='loadProductPlans($story->product)'"); echo ''; } ?>
story->source;?> story->sourceList, $story->source, "class='form-control chosen'");?>
story->sourceNote;?> sourceNote, "class='form-control'");?>
story->status;?> processStatus('story', $story);?> status);?>
story->stage;?> stage; $stageList = join(',', array_keys($this->lang->story->stageList)); $maxStagePos = strpos($stageList, $maxStage); if($story->stages and $branchTagOption) { foreach($story->stages as $branch => $stage) { if(strpos($stageList, $stage) !== false and strpos($stageList, $stage) > $maxStagePos) { $maxStage = $stage; $maxStagePos = strpos($stageList, $stage); } } } echo html::select('stage', $lang->story->stageList, $maxStage, "class='form-control chosen'"); ?>
story->category;?> story->categoryList, $story->category, "class='form-control chosen'");?>
story->pri;?> story->priList, $story->pri, "class='form-control chosen'");?>
story->estimate;?> parent >= 0 ? html::input('estimate', $story->estimate, "class='form-control'") : $story->estimate;?>
story->feedbackBy;?> feedbackBy, "class='form-control'");?>
story->notifyEmail;?> notifyEmail, "class='form-control'");?>
story->keywords;?> keywords, "class='form-control'");?>
story->mailto;?>
mailto, "class='form-control picker-select' multiple");?> fetch('my', 'buildContactLists');?>
story->legendLifeTime;?>
status == 'closed' ? $users + array('closed' => 'Closed') : $users;?> status == 'reviewing'):?> status == 'closed'):?>
story->openedBy;?> openedBy);?>
story->assignedTo;?> assignedTo, 'class="form-control chosen"');?>
story->reviewers;?>
story->closedBy;?> closedBy, 'class="form-control chosen"');?>
story->closedReason;?> story->reasonList, $story->closedReason, "class='form-control' onchange='setStory(this.value)'");?>
printExtendFields($story, 'div', 'position=right');?>
story->legendMisc;?>
status == 'closed'):?>
story->duplicateStory;?> '') + $productStories, $story->duplicateStory ? $story->duplicateStory : '', "class='form-control' placeholder='{$lang->bug->duplicateTip}'"); ?>
type == 'story' ? $lang->requirement->linkStory : $lang->story->linkStory;?> type == 'story') echo html::a("#", $lang->story->linkStoriesAB, '', "class='btn btn-info' id='linkStoriesLink'");?> type == 'requirement') echo html::a("#", $lang->story->linkRequirementsAB, '', "class='btn btn-info' id='linkStoriesLink'");?>
    type == 'story' ? 'linkStories' : 'linkRequirements'; if(isset($story->linkStoryTitles)) { foreach($story->linkStoryTitles as $linkStoryID => $linkStoryTitle) { echo "
  • "; echo ""; echo ""; echo '
  • '; } } ?>