* Fix program details.

This commit is contained in:
sgm0422
2020-05-19 19:09:35 +08:00
parent e553ffc0ba
commit 1402d09395
7 changed files with 12 additions and 29 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ class programModel extends model
$currentProgram = $this->project->getById($programID);
$currentProgramName = $currentProgram->name;
}
else $currentProgramName = $this->lang->project->allProjects;
if($currentModule == 'program' && $currentMethod != 'managemembers') $currentProgramName = $this->lang->program->all;
$dropMenuLink = helper::createLink('program', 'ajaxGetDropMenu', "objectID=$programID&module=$currentModule&method=$currentMethod&extra=$extra");
$output = "<div class='btn-group' id='swapper'><button data-toggle='dropdown' type='button' class='btn btn-limit' id='currentItem' title='{$currentProgramName}'>{$currentProgramName} <i class='icon icon-swap'></i></button><div id='dropMenu' class='dropdown-menu search-list' data-ride='searchList' data-url='$dropMenuLink'>";