. * * @copyright Copyright: 2009 Chunsheng Wang * @author Chunsheng Wang * @package bug * @version $Id$ * @link http://www.zentao.cn */ ?>
bug->selectProduct;?>
createLink('bug', 'browse', "productID=$productID"), $lang->bug->allBugs);?> createLink('tree', 'browse', "productID=$productID&view=bug"), $lang->tree->manageBug);?>
    $productName"; echo "
  • " . html::a($this->createLink('bug', 'browse', "productid=$productID&type=byModule¶m=$currentModuleID"), $currentModuleName) . "
  • "; echo "
  • " . html::a($this->createLink('bug', 'browse', "productid=$productID&type=assignToMe¶m=0"), $lang->bug->assignToMe) . "
  • "; echo "
  • " . html::a($this->createLink('bug', 'browse', "productid=$productID&type=openedByMe¶m=0"), $lang->bug->openedByMe) . "
  • "; echo "
  • " . html::a($this->createLink('bug', 'browse', "productid=$productID&type=resolvedByMe¶m=0"), $lang->bug->resolvedByMe) . "
  • "; echo "
  • " . html::a($this->createLink('bug', 'browse', "productid=$productID&type=assignToNull¶m=0"), $lang->bug->assignToNull) . "
  • "; echo "
  • " . html::a($this->createLink('bug', 'browse', "productid=$productID&type=longLifeBugs¶m=0"), $lang->bug->longLifeBugs) . "
  • "; echo "
  • " . html::a($this->createLink('bug', 'browse', "productid=$productID&type=postponedBugs¶m=0"), $lang->bug->postponedBugs) . "
  • "; echo << $("#{$type}tab").addClass('active'); EOT; ?>
' . html::a($this->createLink('bug', 'create', "type=product&productID=$productID&moduleID=$currentModuleID"), $lang->bug->create) . '
';?>
global->vars = "productID=$productID&type=$type¶m=$param&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage"; $app->global->orderBy = $orderBy; function printOrderLink($fieldName) { global $app, $lang; if(strpos($app->global->orderBy, $fieldName) !== false) { if(stripos($app->global->orderBy, 'desc') !== false) $orderBy = str_replace('desc', 'asc', $app->global->orderBy); if(stripos($app->global->orderBy, 'asc') !== false) $orderBy = str_replace('asc', 'desc', $app->global->orderBy); } else { $orderBy = $fieldName . '|' . 'asc'; } $link = helper::createLink('bug', 'browse', sprintf($app->global->vars, $orderBy)); echo html::a($link, $lang->bug->$fieldName); } ?>
createLink('bug', 'view', "bugID=$bug->id"), sprintf('%03d', $bug->id));?> severity?> title;?> openedBy];?> assignedTo == $this->app->user->account) echo 'style=color:red';?>>assignedTo];?> resolvedBy];?> bug->resolutionList[$bug->resolution];?>