* [task#130244,doing,0.4h] add custom::project.
This commit is contained in:
@@ -253,6 +253,26 @@ class custom extends control
|
||||
return $this->send(array('result' => 'success', 'load' => inlink('browseStoryConcept')));
|
||||
}
|
||||
|
||||
/**
|
||||
* 项目关闭设置。
|
||||
* Set whether the closed project is read-only.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function project()
|
||||
{
|
||||
if($_POST)
|
||||
{
|
||||
$this->loadModel('setting')->setItem("system.common.CRProject@{$this->config->vision}", $this->post->project);
|
||||
return $this->sendSuccess(array('load' => true));
|
||||
}
|
||||
|
||||
$this->view->title = $this->lang->projectCommon;
|
||||
$this->view->module = 'project';
|
||||
$this->display();
|
||||
}
|
||||
|
||||
/**
|
||||
* 执行关闭设置。
|
||||
* Set whether the closed execution is read-only.
|
||||
|
||||
Reference in New Issue
Block a user