* finish task #712,

This commit is contained in:
wangyidong
2012-02-21 04:35:05 +00:00
parent d5bee55d08
commit a92acc7130
10 changed files with 127 additions and 6 deletions
+21
View File
@@ -873,6 +873,27 @@ class project extends control
}
}
/**
* Order project
*
* @param int $projectID
* @access public
* @return void
*/
public function order($projectID)
{
if($_POST)
{
$this->project->saveOrder();
die(js::reload('parent'));
}
$project = $this->commonAction($projectID);
$this->project->setMenu($this->projects, $project->id);
$this->view->projects = $this->project->getList();
$this->view->projectID = $project->id;
$this->display();
}
/**
* Send email.
*