mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Separate upload config screen from download config screen
This commit is contained in:
parent
31b0bb4158
commit
690803f3fc
8 changed files with 105 additions and 42 deletions
|
|
@ -210,7 +210,7 @@ class fileAdminView extends file
|
|||
}
|
||||
|
||||
/**
|
||||
* Set attachment information (for administrator)
|
||||
* Upload config screen
|
||||
*
|
||||
* @return Object
|
||||
*/
|
||||
|
|
@ -224,6 +224,22 @@ class fileAdminView extends file
|
|||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('adminConfig');
|
||||
}
|
||||
|
||||
/**
|
||||
* Download config screen
|
||||
*
|
||||
* @return Object
|
||||
*/
|
||||
function dispFileAdminDownloadConfig()
|
||||
{
|
||||
$oFileModel = getModel('file');
|
||||
$config = $oFileModel->getFileConfig();
|
||||
Context::set('config',$config);
|
||||
|
||||
// Set a template file
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('download_config');
|
||||
}
|
||||
}
|
||||
/* End of file file.admin.view.php */
|
||||
/* Location: ./modules/file/file.admin.view.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue