diff --git a/module/program/control.php b/module/program/control.php index 148102ac71..5e8c8d9d61 100644 --- a/module/program/control.php +++ b/module/program/control.php @@ -1440,4 +1440,25 @@ class program extends control echo $this->fetch('program', 'PGMProduct', "programID=$programID"); } + + /** + * When create a project, help the user. + * + * @param string $model + * @param int $programID + * @param string $from PRJ|PGM + * @param int $projectID + * @access public + * @return void + */ + public function tips($model = 'waterfall', $programID = 0, $from = 'PRJ', $projectID) + { + $this->view->model = $model; + $this->view->programID = $programID; + $this->view->from = $from; + $this->view->projectID = $projectID; + $this->view->project = $this->project->getById($projectID); + + $this->display('program', 'tips'); + } }