tree->manage, '', "class='btn btn-info btn-wide'");?>
-
more;?>
- bug->byQuery;?>
-
createLink('bug', 'create', "productID=$productID&branch=$branch&extra=moduleID=$moduleID") : '#'; echo html::a($link, "" . $lang->bug->create, '', $misc); $misc = common::hasPriv('bug', 'batchCreate') ? '' : "disabled"; $link = common::hasPriv('bug', 'batchCreate') ? $this->createLink('bug', 'batchCreate', "productID=$productID&branch=$branch&projectID=0&moduleID=$moduleID") : '#'; ?>
-
" . html::a($link, $lang->bug->batchCreate, '', "class='$misc'") . "";?>
- " . $lang->bug->report->common); ?>
-
export ?>
-
createLink('bug', 'export', "productID=$productID&orderBy=$orderBy") : '#';
echo "
- " . html::a($link, $lang->bug->export, '', $misc) . " "; ?>
'>
', '', 'btn btn-icon btn-sm btn-info sidebar-toggle');?>
recPerPage}") : 'javascript:removeCookieByKey("bugModule")';
echo html::a($removeLink, "", '', "class='text-muted'");
}
?>
moduleName, $this->methodName);
$moreLabel = $lang->more;
$moreLabelActive = '';
if(strpos(',unconfirmed,assigntonull,longlifebugs,postponedbugs,overduebugs,needconfirm,', $browseType) !== false)
{
foreach($menus as $menuItem)
{
if($menuItem->name == $browseType)
{
$moreLabel = "{$menuItem->text}{$pager->recTotal}";
$moreLabelActive = 'btn-active-text';
}
}
}
foreach($menus as $menuItem)
{
if(isset($menuItem->hidden)) continue;
if($this->config->global->flow == 'onlyTest' and $menuItem->name == 'needconfirm') continue;
$menuBrowseType = strpos($menuItem->name, 'QUERY') === 0 ? 'bySearch' : $menuItem->name;
$barParam = strpos($menuItem->name, 'QUERY') === 0 ? (int)substr($menuItem->name, 5) : 0;
$label = "{$menuItem->text}";
$label .= $menuBrowseType == $browseType ? "{$pager->recTotal}" : '';
$active = $menuBrowseType == $browseType ? 'btn-active-text' : '';
if($menuItem->name == 'my')
{
echo "";
echo html::a('javascript:;', $menuItem->text . " ", '', "data-toggle='dropdown' class='btn btn-link'");
echo " ';
}
else
{
if(strpos(',unconfirmed,assigntonull,longlifebugs,postponedbugs,overduebugs,needconfirm,', $menuItem->name) !== false)
{
if($menuItem->name == 'unconfirmed')
{
echo "
- ";
foreach($lang->bug->mySelects as $key => $value)
{
echo '
- '; echo html::a($this->createLink('bug', 'browse', "productid=$productID&branch=$branch&browseType=$key¶m=$barParam"), $value); } echo '
{$moreLabel} ";
echo "
';
}
else
{
echo html::a($this->createLink('bug', 'browse', "productid=$productID&branch=$branch&browseType=$menuBrowseType¶m=$barParam"), $label, '', "class='btn btn-link $active'");
}
}
}
?>
bug->byQuery;?>
- ";
}
echo '
- ' . html::a($this->createLink('bug', 'browse', "productid=$productID&branch=$branch&browseType=$menuBrowseType¶m=$barParam"), "{$menuItem->text}", '', "class='btn btn-link $active'") . ' '; if($menuItem->name == 'needconfirm') echo '
-
createLink('bug', 'export', "productID=$productID&orderBy=$orderBy");
echo "
- " . html::a($link, $lang->bug->export, '', "class='export'") . " "; ?>