mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
add ncenterlite module from xe-public.
This commit is contained in:
parent
25cf1856a6
commit
826aa8aa36
92 changed files with 5622 additions and 0 deletions
38
modules/ncenterlite/ncenterlite.mobile.php
Normal file
38
modules/ncenterlite/ncenterlite.mobile.php
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
class ncenterliteMobile extends ncenterliteView
|
||||
{
|
||||
function init()
|
||||
{
|
||||
$oNcenterliteModel = getModel('ncenterlite');
|
||||
$config = $oNcenterliteModel->getConfig();
|
||||
$template_path = sprintf("%sm.skins/%s/",$this->module_path, $config->mskin);
|
||||
if(!is_dir($template_path)||!$config->mskin)
|
||||
{
|
||||
$config->skin = 'default';
|
||||
$template_path = sprintf("%sm.skins/%s/",$this->module_path, $config->mskin);
|
||||
}
|
||||
$this->setTemplatePath($template_path);
|
||||
|
||||
$oLayoutModel = getModel('layout');
|
||||
$layout_info = $oLayoutModel->getLayout($config->mlayout_srl);
|
||||
|
||||
if($layout_info)
|
||||
{
|
||||
$this->module_info->mlayout_srl = $config->mlayout_srl;
|
||||
$this->setLayoutPath($layout_info->path);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function dispNcenterliteNotifyList()
|
||||
{
|
||||
parent::dispNcenterliteNotifyList();
|
||||
}
|
||||
|
||||
function dispNcenterliteUserConfig()
|
||||
{
|
||||
parent::dispNcenterliteUserConfig();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue