diff --git a/module/program/model.php b/module/program/model.php index b359fb66ca..90e86e7903 100644 --- a/module/program/model.php +++ b/module/program/model.php @@ -1533,8 +1533,9 @@ class programModel extends model if($col->show) { - $class = "c-$id"; - $title = ''; + $class = "c-$id"; + $title = ''; + $PRJPGM = ''; if($id == 'idAB') $class .= ' cell-id'; @@ -1544,6 +1545,19 @@ class programModel extends model $title = "title='{$project->name}'"; } + if($id == 'PRJPGM') + { + $programList = $this->getPGMPairs(); + $PGMIndex = strpos($project->path, $programID); + $PRJIndex = strpos($project->path, $project->id); + $PGMPath = explode(',' , substr($project->path, $PGMIndex, $PRJIndex - $PGMIndex)); + foreach($PGMPath as $program) + { + if($program) $PRJPGM .= '/' . zget($programList, $program); + } + $title = "title='{$PRJPGM}'"; + } + echo "