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

title, 'class="form-control disabled story-title" disabled="disabled"');?>
story->legendSpec;?>
spec;?>
story->verify;?>
verify;?>
printExtendFields($story, 'div', 'position=left');?>
story->comment;?>
lastEditedDate); echo html::submitButton($lang->save); echo html::a($app->session->storyList ? $app->session->storyList : inlink('view', "storyID=$story->id"), $lang->goback, '', 'class="btn btn-wide"'); ?>

story->legendBasicInfo;?>
parent <= 0):?> type != 'normal'):?> parent >= 0 and $story->type == 'story'):?> status != 'draft'):?>
story->product;?>
product, "onchange='loadProduct(this.value);' class='form-control chosen control-product'");?> type != 'normal') echo html::select('branch', $branches, $story->branch, "onchange='loadBranch();' class='form-control chosen control-branch'");?>
product->branch;?>
type != 'normal') echo html::select('branch', $branches, $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->refresh, '', "class='refresh' onclick='loadProductModules($story->product)'"); echo ''; } ?>
story->parent;?> parent, "class='form-control chosen'");?>
story->plan;?>
session->currentProductType != 'normal' and empty($story->branch)) ? true : false;?> plan, "class='form-control chosen'" . ($multiple ? ' 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;?> stages and $branches) { foreach($story->stages as $branch => $stage) { if(isset($branches[$branch])) echo '

' . $branches[$branch] . html::select("stages[$branch]", $lang->story->stageList, $stage, "class='form-control chosen'") . '

'; } } else { echo html::select('stage', $lang->story->stageList, $story->stage, "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->keywords;?> keywords, "class='form-control'");?>
story->mailto;?>
mailto), "class='form-control chosen' multiple");?> fetch('my', 'buildContactLists');?>
story->legendLifeTime;?>
reviewedBy):?> status == 'closed'):?>
story->openedBy;?> openedBy);?>
story->assignedTo;?> assignedTo, 'class="form-control chosen"');?>
story->reviewedBy;?> reviewedBy), 'class="form-control chosen" multiple');?>
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'):?> status == 'closed'):?>
story->duplicateStory;?> duplicateStory, "class='form-control'");?>
story->childStories;?> createLink('story', 'linkStory', "storyID=$story->id&type=childStories", '', true), $lang->story->linkStory, '', "data-toggle='modal' data-type='iframe' data-width='95%'");?>
    childStories) { $childStories = explode(',', $story->childStories); foreach($childStories as $childStoryID) { if(isset($story->extraStories[$childStoryID])) { echo "
  • "; echo ""; echo ""; echo '
  • '; } } } ?>