mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
add xe1.5 UI(admin module page )
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8982 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
518b4d8195
commit
0a9b09e024
2 changed files with 14 additions and 7 deletions
|
|
@ -8,7 +8,7 @@
|
|||
<action name="dispModuleSelectList" type="view" standalone="true" />
|
||||
<action name="dispModuleSkinInfo" type="view" standalone="true" />
|
||||
|
||||
<action name="dispModuleAdminContent" type="view" standalone="true" admin_index="true" />
|
||||
<action name="dispModuleAdminContent" type="view" standalone="true" menu_name="installedModule" menu_index="true" admin_index="true" />
|
||||
<action name="dispModuleAdminList" type="view" standalone="true" />
|
||||
<action name="dispModuleAdminCategory" type="view" standalone="true" />
|
||||
<action name="dispModuleAdminInfo" type="view" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -25,13 +25,20 @@
|
|||
/**
|
||||
* @brief Display a lost of modules
|
||||
**/
|
||||
function dispModuleAdminList() {
|
||||
// Obtain a list of modules
|
||||
function dispModuleAdminList() {
|
||||
// Obtain a list of modules
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_list = $oModuleModel->getModuleList();
|
||||
Context::set('module_list', $module_list);
|
||||
// Set a template file
|
||||
$this->setTemplateFile('module_list');
|
||||
$oAutoinstallModel = &getModel('autoinstall');
|
||||
|
||||
$module_list = $oModuleModel->getModuleList();
|
||||
foreach($module_list as $key => $val) {
|
||||
$val->delete_url = $oAutoinstallModel->getRemoveUrlByPath($val->path);
|
||||
}
|
||||
|
||||
Context::set('module_list', $module_list);
|
||||
// Set a template file
|
||||
$this->setTemplateFile('spInstalledModule');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue