* @package plan * @version $Id: browse.html.php 4707 2013-05-02 06:57:41Z chencongzhi520@gmail.com $ * @link http://www.zentao.net */ ?> productplan->confirmDelete)?>

productplan->noPlan;?> createLink('productplan', 'create', "productID=$product->id&branch=$branch"), " " . $lang->productplan->create, '', "class='btn btn-info'");?>

id&branch=$branch")?>'> recTotal}&recPerPage={$pager->recPerPage}"; ?> session->currentProductType != 'normal'):?> loadModel('file');?> file->replaceImgURL($plan, 'desc'); if($plan->parent == '-1') { $parent = $plan->id; $children = $plan->children; } if($plan->parent == 0) $parent = 0; if(!empty($parent) and $plan->parent > 0 and $plan->parent != $parent) $parent = 0; if($plan->parent <= 0) $i = 0; $class = ''; if(!empty($parent) and $plan->parent == $parent) { $class = "table-children parent-{$parent}"; $class .= $i == 0 ? ' table-child-top' : ''; $class .= ($i + 1 == $children) ? ' table-child-bottom' : ''; $i++; } ?> session->currentProductType != 'normal'):?>
idAB);?>
productplan->title);?> product->branch);?> productplan->begin);?> productplan->end);?> productplan->stories;?> productplan->bugs;?> productplan->hour;?> productplan->project;?> productplan->desc;?> actions;?>
id => '')) . html::a(helper::createLink('productplan', 'view', "planID=$plan->id"), sprintf('%03d', $plan->id));?> id);?> ' title="title?>"> id"), $plan->title); if($plan->parent == '-1') echo ''; ?> branch];?> begin == '2030-01-01' ? $lang->productplan->future : $plan->begin;?> end == '2030-01-01' ? $lang->productplan->future : $plan->end;?> stories;?> bugs;?> hour;?> projectID)) echo html::a(helper::createLink('project', 'task', 'projectID=' . $plan->projectID), '');?> desc)));?>' class='text-left content'>", "\n", str_replace(array("\n", "\r"), '', $plan->desc))));?> id"), '', '', "class='btn' title='{$lang->project->create}'"); if(common::hasPriv('productplan', 'linkStory')) echo html::a(inlink('view', "planID=$plan->id&type=story&orderBy=id_desc&link=true"), '', '', "class='btn' title='{$lang->productplan->linkStory}'"); if(common::hasPriv('productplan', 'linkBug') and $config->global->flow != 'onlyStory') echo html::a(inlink('view', "planID=$plan->id&type=bug&orderBy=id_desc&link=true"), '', '', "class='btn' title='{$lang->productplan->linkBug}'"); common::printIcon('productplan', 'edit', "planID=$plan->id", $plan, 'list'); if(common::hasPriv('productplan', 'create')) { if($plan->parent > '0') echo " "; if($plan->parent <= '0') echo html::a($this->createLink('productplan', 'create', "product=$productID&branch=$branch&parent={$plan->id}"), "", '', "class='btn' title='{$this->lang->productplan->children}'"); } if(common::hasPriv('productplan', 'delete', $plan)) { $deleteURL = $this->createLink('productplan', 'delete', "planID=$plan->id&confirm=yes"); echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"productplanList\",confirmDelete)", '', '', "class='btn' title='{$lang->productplan->delete}'"); } ?>