* [task#132174,0.5h,doing] set gantt label and search form.
This commit is contained in:
@@ -31,12 +31,12 @@ $ganttLang->today = $lang->programplan->today;
|
||||
|
||||
$typeHtml = '<a data-toggle="dropdown" href="#browseTypeList"><span class="text">' . $lang->programplan->ganttBrowseType[$ganttType] . '</span><span class="caret"></span></a>';
|
||||
$typeHtml .= '<menu class="dropdown-menu menu" id="browseTypeList">';
|
||||
foreach($lang->programplan->ganttBrowseType as $browseType => $typeName)
|
||||
foreach($lang->programplan->ganttBrowseType as $ganttBrowseType => $typeName)
|
||||
{
|
||||
$link = $this->createLink('programplan', 'browse', "projectID=$projectID&productID=$productID&type=$browseType");
|
||||
if($app->rawModule == 'review' and $app->rawMethod == 'assess') $this->createLink('review', 'assess', "reivewID=$reviewID&from=&type=$browseType");
|
||||
$link = $this->createLink('programplan', 'browse', "projectID=$projectID&productID=$productID&type=$ganttBrowseType");
|
||||
if($app->rawModule == 'review' and $app->rawMethod == 'assess') $this->createLink('review', 'assess', "reivewID=$reviewID&from=&type=$ganttBrowseType");
|
||||
|
||||
$typeHtml .= '<li class="menu-item' . ($ganttType == $browseType ? " active" : '') . '">' . html::a($link, $typeName, '', "class='item-content'") . '</li>';
|
||||
$typeHtml .= '<li class="menu-item' . ($ganttType == $ganttBrowseType ? " active" : '') . '">' . html::a($link, $typeName, '', "class='item-content'") . '</li>';
|
||||
}
|
||||
$typeHtml .= '</menu>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user