* @package tree * @version $Id: browse.html.php 4796 2013-06-06 02:21:59Z zhujinyonging@gmail.com $ * @link http://www.zentao.net */ ?>
id}&viewType=$viewType");?>'>
tree->updateOrder);?>
id}&viewType=$viewType");?>'>
doc->manageType : $lang->tree->$manageChild;?>
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; } ?> tree->syncFromProject, "id='copyModule' onclick='syncModule($currentProject, \"task\")'"); } echo '
'; } else if($viewType == 'story') { if($allProduct) { echo html::select('allProduct', $allProduct, '', 'onchange=syncProductOrProject(this,"product")'); echo html::select('productModule', $productModules, ''); echo html::commonButton($lang->tree->syncFromProduct, "id='copyModule' onclick='syncModule($currentProduct, \"story\")'"); } echo '
'; } $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=text-3 style="margin-bottom:5px" ' . $disabled) . '
'; } for($i = 0; $i < TREE::NEW_CHILD_COUNT ; $i ++) echo '' . html::input("modules[]", '', 'class=text-3 style="margin-bottom:5px"') . '
'; ?>