* @package tree * @version $Id: browse.html.php 4796 2013-06-06 02:21:59Z zhujinyonging@gmail.com $ * @link http://www.zentao.net */ ?>
tree->common;?>
id}&viewType=$viewType");?>'>
tree->updateOrder);?>
id}&viewType=$viewType");?>'>
doc->manageType : $lang->tree->$manageChild;?>
"; 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 '' . html::input("modules[id$sonModule->id]", $sonModule->name, 'class=form-control style="margin-bottom:5px" ' . $disabled) . ''; } for($i = 0; $i < TREE::NEW_CHILD_COUNT ; $i ++) echo '' . html::input("modules[]", '', 'class=form-control style="margin-bottom:5px"') . ''; ?>