* @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");?>'>
    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'; echo "
    "; echo "
    " . html::input("modules[id$sonModule->id]", $sonModule->name, 'class="form-control" autocomplete="off"' . $disabled) . '
    '; if($hasBranch) echo "
    " . html::select("branch[id$sonModule->id]", $branches, $sonModule->branch, 'class="form-control" disabled') . '
    '; echo "
    " . html::input("shorts[id$sonModule->id]", $sonModule->short, "class='form-control' placeholder='{$lang->tree->short}' $disabled autocomplete='off'") . html::hidden("order[id$sonModule->id]", $sonModule->order); echo ""; echo '
    '; echo '
    '; } for($i = 0; $i < TREE::NEW_CHILD_COUNT ; $i ++) { echo "
    "; echo "
    " . html::input("modules[]", '', "class='form-control' placeholder='{$lang->tree->name}' autocomplete='off'") . '
    '; if($hasBranch) echo '
    ' . html::select("branch[]", $branches, $branch, 'class="form-control"') . '
    '; echo "
    " . html::input("shorts[]", '', "class='form-control' placeholder='{$lang->tree->short}' autocomplete='off'"); echo ""; echo ""; echo '
    '; echo '
    '; } echo "'; echo '
    '; ?> session->{$viewType .'List'} ? html::linkButton($this->lang->goback, $this->session->{$viewType .'List'}) : html::backButton(); echo html::hidden('parentModuleID', $currentModuleID); echo html::hidden('maxOrder', $maxOrder); ?>