mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-06 18:42:15 +09:00
addon module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9032 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2a8c16d4f9
commit
ee174adb5e
3 changed files with 10 additions and 24 deletions
|
|
@ -19,17 +19,19 @@
|
|||
**/
|
||||
function dispAddonAdminIndex() {
|
||||
$oAdminModel = &getAdminModel('admin');
|
||||
$siteModuleInfo = Context::get('site_module_info');
|
||||
$output = $oAdminModel->getFavoriteListByModule(-1, 'addon');
|
||||
if (!$output->toBool()) return $output;
|
||||
|
||||
$favoriteList = $output->get('list');
|
||||
Context::set('favoriteList', $favoriteList);
|
||||
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
// Add to the list settings
|
||||
$oAddonModel = &getAdminModel('addon');
|
||||
$addon_list = $oAddonModel->getAddonListForSuperAdmin();
|
||||
|
||||
$security = new Security($addon_list);
|
||||
$addon_list = $security->encodeHTML('..', '..author..');
|
||||
|
||||
foreach($addon_list as $no => $addon_info)
|
||||
{
|
||||
$addon_list[$no]->description = nl2br(trim($addon_info->description));
|
||||
}
|
||||
|
||||
Context::set('addon_list', $addon_list);
|
||||
Context::set('addon_count', count($addon_list));
|
||||
// Template specifies the path and file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue