* @package tree * @version $Id: browse.html.php 4796 2013-06-06 02:21:59Z zhujinyonging@gmail.com $ * @link http://www.zentao.net */ ?> type != 'normal') ? true : false;?>
tree->common;?>
id}&viewType=$viewType");?>'>
tree->updateOrder);?>
id}&viewType=$viewType");?>'>
doc->manageType : $lang->tree->$manageChild;?>
tree->syncFromProduct, '', "class='btn btn-sm'")?>
"; echo "'; echo "'; echo "'; echo '
createLink('tree', 'browse', "root={$root->id}&viewType=$viewType"), $root->name); echo $lang->arrow; foreach($parentModules as $module) { echo html::a($this->createLink('tree', 'browse', "root={$root->id}&viewType=$viewType&moduleID=$module->id"), $module->name); echo $lang->arrow; } ?>
" . html::select('allProduct', $allProduct, '', "class='form-control chosen' onchange=\"syncProductOrProject(this,'product')\"") . '" . html::select('productModule', $productModules, '', "class='form-control chosen'") . '" . html::commonButton($lang->tree->syncFromProduct, "id='copyModule' onclick='syncModule($currentProduct, \"story\")'") . '
'; } $maxOrder = 0; echo '
'; foreach($sons as $sonModule) { if($sonModule->order > $maxOrder) $maxOrder = $sonModule->order; $disabled = $sonModule->type == $viewType ? '' : 'disabled="true"'; echo $hasBranch ? "
" : "
"; echo html::input("modules[id$sonModule->id]", $sonModule->name, 'class="form-control"' . $disabled); if($hasBranch) echo '' . html::select("branch[id$sonModule->id]", $branches, $sonModule->branch, 'class="form-control" disabled'); echo '
'; } for($i = 0; $i < TREE::NEW_CHILD_COUNT ; $i ++) { echo "
"; echo html::input("modules[]", '', 'class="form-control"'); if($hasBranch) echo '' . html::select("branch[]", $branches, $branch, 'class="form-control"'); echo ""; echo ""; echo '
'; } ?>