* Perfect more projects.
This commit is contained in:
@@ -1279,4 +1279,20 @@ class program extends control
|
||||
|
||||
$this->display('group', 'edit');
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the most recently created project.
|
||||
*
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
public function ajaxGetRecentProjects()
|
||||
{
|
||||
$recentProjects = $this->program->getPRJParams(0, 15);
|
||||
if(!empty($recentProjects))
|
||||
{
|
||||
foreach($recentProjects as $project) echo html::a(helper::createLink('project', 'view', 'projectID=' . $project->id), '<i class="icon icon-menu-doc"></i>' . $project->name);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user