add ncenterlite module from xe-public.

This commit is contained in:
BJRambo 2016-03-17 06:05:05 +09:00
parent 25cf1856a6
commit 826aa8aa36
92 changed files with 5622 additions and 0 deletions

View 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();
}
}