mobile temp

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7673 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2010-09-06 02:36:25 +00:00
parent ceffd850b5
commit 97ca6dfe15
23 changed files with 452 additions and 248 deletions

View file

@ -1,33 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="0.2">
<title xml:lang="ko">오류 표시</title>
<title xml:lang="jp">エラー表示</title>
<title xml:lang="zh-CN">错误信息</title>
<title xml:lang="en">Display Errors</title>
<title xml:lang="vi">Hiển thị lỗi</title>
<title xml:lang="es">Mostrar el error</title>
<title xml:lang="ru">Отображение ошибок</title>
<title xml:lang="zh-TW">錯誤訊息</title>
<description xml:lang="ko">오류 및 각종 시스템 메세지 관리 모듈</description>
<description xml:lang="jp">エラー及びシステムメッセージ管理モジュール</description>
<description xml:lang="zh-CN">管理错误信息及各种系统信息的模块。</description>
<description xml:lang="en">This module managers erros and system messages.</description>
<description xml:lang="vi">Module này quản lý những thông báo lỗi của hệ thống.</description>
<description xml:lang="es">Este módulo es para manejar los errores y mensajes del sistema.</description>
<description xml:lang="ru">Этот модуль управляет ошибками и системными сообщениями.</description>
<description xml:lang="zh-TW">管理錯誤訊息及各種系統訊息的模組。</description>
<version>0.1</version>
<date>2007-02-28</date>
<category>system</category>
<author email_address="zero@zeroboard.com" link="http://blog.nzeo.com">
<name xml:lang="ko">zero</name>
<name xml:lang="vi">zero</name>
<name xml:lang="jp">zero</name>
<name xml:lang="zh-CN">zero</name>
<name xml:lang="en">zero</name>
<name xml:lang="es">zero</name>
<name xml:lang="ru">zero</name>
<name xml:lang="zh-TW">zero</name>
</author>
</module>
<?xml version="1.0" encoding="UTF-8"?>
<module version="0.2">
<title xml:lang="ko">오류 표시</title>
<title xml:lang="jp">エラー表示</title>
<title xml:lang="zh-CN">错误信息</title>
<title xml:lang="en">Display Errors</title>
<title xml:lang="vi">Hiển thị lỗi</title>
<title xml:lang="es">Mostrar el error</title>
<title xml:lang="ru">Отображение ошибок</title>
<title xml:lang="zh-TW">錯誤訊息</title>
<description xml:lang="ko">오류 및 각종 시스템 메세지 관리 모듈</description>
<description xml:lang="jp">エラー及びシステムメッセージ管理モジュール</description>
<description xml:lang="zh-CN">管理错误信息及各种系统信息的模块。</description>
<description xml:lang="en">This module managers erros and system messages.</description>
<description xml:lang="vi">Module này quản lý những thông báo lỗi của hệ thống.</description>
<description xml:lang="es">Este módulo es para manejar los errores y mensajes del sistema.</description>
<description xml:lang="ru">Этот модуль управляет ошибками и системными сообщениями.</description>
<description xml:lang="zh-TW">管理錯誤訊息及各種系統訊息的模組。</description>
<version>0.1</version>
<date>2007-02-28</date>
<category>system</category>
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
<name xml:lang="ko">NHN</name>
<name xml:lang="vi">NHN</name>
<name xml:lang="jp">NHN</name>
<name xml:lang="zh-CN">NHN</name>
<name xml:lang="en">NHN</name>
<name xml:lang="es">NHN</name>
<name xml:lang="ru">NHN</name>
<name xml:lang="zh-TW">NHN</name>
</author>
</module>

View file

@ -1,10 +1,10 @@
<?php
/**
* @file modules/message/lang/en.lang.php
* @author zero <zero@nzeo.com>
* @brief English language pack (basic)
**/
$lang->message = 'Display Errors';
$lang->about_skin = "You may select skins of error messages";
?>
<?php
/**
* @file modules/message/lang/en.lang.php
* @author NHN (developers@xpressengine.com)
* @brief English language pack (basic)
**/
$lang->message = 'Display Errors';
$lang->about_skin = "You may select skins of error messages";
?>

View file

@ -1,7 +1,7 @@
<?php
/**
* @archivo modules/message/lang/es.lang.php
* @autor zero <zero@nzeo.com>
* @autor zero (developers@xpressengine.com)
* @sumario Paquete del idioma español (básico)
**/

View file

@ -1,10 +1,10 @@
<?php
/**
* @file modules/message/lang/fr.lang.php
* @author zero <zero@nzeo.com> traduit par Pierre Duvent <PierreDuvent@gamil.com>
* @brief Paque du langage en français pour le module de Message
**/
$lang->message = 'Montrer Erreurs';
$lang->about_skin = "Vous pouvez choisir un habillage pour le message des erreurs";
?>
<?php
/**
* @file modules/message/lang/fr.lang.php
* @author NHN (developers@xpressengine.com) traduit par Pierre Duvent <PierreDuvent@gamil.com>
* @brief Paque du langage en français pour le module de Message
**/
$lang->message = 'Montrer Erreurs';
$lang->about_skin = "Vous pouvez choisir un habillage pour le message des erreurs";
?>

View file

@ -1,10 +1,10 @@
<?php
/**
* @file modules/message/lang/jp.lang.php
* @author zero <zero@nzeo.com> 翻訳RisaPapa
* @brief 日本語言語パッページ(基本的な内容のみ)
**/
$lang->message = 'エラー表示';
$lang->about_skin = 'メッセージを表示する際のスキンが指定出来ます。';
?>
<?php
/**
* @file modules/message/lang/jp.lang.php
* @author NHN (developers@xpressengine.com) 翻訳RisaPapa
* @brief 日本語言語パッページ(基本的な内容のみ)
**/
$lang->message = 'エラー表示';
$lang->about_skin = 'メッセージを表示する際のスキンが指定出来ます。';
?>

View file

@ -1,10 +1,10 @@
<?php
/**
* @file modules/message/lang/ko.lang.php
* @author zero <zero@nzeo.com>
* @brief 한국어 언어팩 (기본적인 내용만 수록)
**/
$lang->message = '오류 표시';
$lang->about_skin = '오류 메시지용 스킨을 지정하실 수 있습니다.';
?>
<?php
/**
* @file modules/message/lang/ko.lang.php
* @author NHN (developers@xpressengine.com)
* @brief 한국어 언어팩 (기본적인 내용만 수록)
**/
$lang->message = '오류 표시';
$lang->about_skin = '오류 메시지용 스킨을 지정하실 수 있습니다.';
?>

View file

@ -1,10 +1,10 @@
<?php
/**
* @file ru.lang.php
* @author zero <zero@nzeo.com> | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
* @brief Russian basic language pack
**/
$lang->message = 'Отображать ошибки';
$lang->about_skin = "Вы можете выбрать скин сообщений об ошибках";
?>
<?php
/**
* @file ru.lang.php
* @author NHN (developers@xpressengine.com) | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
* @brief Russian basic language pack
**/
$lang->message = 'Отображать ошибки';
$lang->about_skin = "Вы можете выбрать скин сообщений об ошибках";
?>

View file

@ -1,12 +1,12 @@
<?php
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░ * @File : common/lang/vi.lang.php ░░
░░ * @Author : zero (zero@nzeo.com) ░░
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
░░ * @Website: http://vietxe.net ░░
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
$lang->message = 'Hiển thị lỗi';
$lang->about_skin = "Bạn có thể chọn giao diện khi hiển thị lỗi.";
?>
<?php
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░ * @File : common/lang/vi.lang.php ░░
░░ * @Author : zero (developers@xpressengine.com) ░░
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
░░ * @Website: http://vietxe.net ░░
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
$lang->message = 'Hiển thị lỗi';
$lang->about_skin = "Bạn có thể chọn giao diện khi hiển thị lỗi.";
?>

View file

@ -1,7 +1,7 @@
<?php
/**
* @file modules/message/lang/zh-CN.lang.php
* @author zero <zero@nzeo.com> 翻译guny
* @author NHN (developers@xpressengine.com) 翻译guny
* @brief 错误信息模块简体中文语言包
**/

View file

@ -1,7 +1,7 @@
<?php
/**
* @file modules/message/lang/zh-TW.lang.php
* @author zero <zero@nzeo.com> 翻譯royallin
* @author NHN (developers@xpressengine.com) 翻譯royallin
* @brief 訊息(message)模組正體中文語言
**/

View file

@ -0,0 +1,8 @@
<filter name="message_login" module="member" act="procMemberLogin">
<form>
<node target="user_id" required="true" filter="user_id" />
<node target="password" required="true" />
</form>
<parameter />
<response />
</filter>

View file

@ -0,0 +1,7 @@
<filter name="widget_logout" module="member" act="procMemberLogout">
<form />
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -0,0 +1,10 @@
<filter name="openid_login" module="member" act="procMemberOpenIDLogin">
<form>
<node target="openid" required="true" />
</form>
<parameter />
<response callback_func="completeMessageOpenIDLogin">
<tag name="error" />
<tag name="message" />
</response>
</filter>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

View file

@ -0,0 +1,39 @@
@charset "utf-8";
/* NHN | dece24@nhncorp.com */
#loginAccess{ position:relative; width:384px; border:2px solid #757575; margin:30px auto; padding:20px 0 0 0; background:#fff; font-size:12px; font-family:Tahoma; line-height:normal;}
#loginAccess form{ margin:0; padding:0;}
#loginAccess fieldset{ border:0; margin:0; padding:0;}
#loginAccess h1{ margin:0 28px 20px 28px; font-size:12px; color:#e77161;}
#loginAccess ul{ margin:0; padding:0; list-style:none;}
#loginAccess .mLogin{ display:none;}
#loginAccess .idpw{ margin:0 28px 20px 28px;}
#loginAccess .oid{ margin:0 28px 20px 28px;}
#loginAccess .idpw li{ margin:0 0 5px 0;}
#loginAccess .inputText{ font-size:12px; height:22px; color:#767676; font-weight:bold; border:1px solid #b7b7b7; border-right-color:#e1e1e1; border-bottom-color:#e1e1e1;}
#loginAccess .idpw .inputText{ width:316px; padding:8px 0 0 10px;}
#loginAccess .oid .inputText{ width:291px; padding:8px 0 0 35px; background:url(./images/openid_login_bg.gif) no-repeat 10px center;}
#loginAccess .inputCheck{ width:13px; height:13px; margin:0; padding:0; vertical-align:middle;}
#loginAccess label{ vertical-align:middle;}
#loginAccess #warning{ display:none; margin:0 0 20px 0;}
#loginAccess #warning.open{ display:block;}
#loginAccess #warning p{ margin:0;}
#loginAccess .buttonArea{ position:relative; margin:0 28px; padding:0; color:#767676; *zoom:1;}
#loginAccess .buttonArea .keeping{ position:relative; margin:0 0 20px 0; height:32px; line-height:32px;}
#loginAccess #gLogin .buttonArea .buttonAccount{ position:absolute; top:0; right:0;}
#loginAccess #oLogin .buttonArea{ text-align:center; margin-bottom:20px;}
#loginAccess .buttonAccount,
#loginAccess .buttonAccount a,
#loginAccess .buttonAccount input{ position:relative; display:inline-block; margin:0; padding:0; overflow:visible; height:32px; line-height:32px; font-size:12px; font-weight:bold; color:#fff; vertical-align:middle; cursor:pointer; border:0; text-decoration:none !important; background:transparent url(./images/buttonAction.gif) no-repeat;}
#loginAccess .buttonAccount{ margin:0 4px 0 0; background-position:left top;}
#loginAccess .buttonAccount a,
#loginAccess .buttonAccount input{ left:4px; background-position:right top; *vertical-align:top; padding:0 24px 0 36px;}
#loginAccess .help{ position:relative; padding:15px 0; background:#fafafa; border-top:1px solid #d9d9d9; text-align:center;}
#loginAccess .help li{ display:inline; border-left:1px solid #c3c3c3; padding:0 0 0 10px; margin:0 6px 0 0; line-height:1;}
#loginAccess .help li.first{ border:0; padding:0;}
#loginAccess .help a{ text-decoration:none; color:#333;}
#loginAccess .help a:hover,
#loginAccess .help a:active,
#loginAccess .help a:focus{ text-decoration:underline;}
#loginAccess .logOut{ text-align:left; margin:0 28px; padding:0 0 20px 0;}
.gLogin #gLogin,
.oLogin #oLogin{ display:block;}

View file

@ -0,0 +1,38 @@
/* 로그인 후 */
function completeMessageLogin(ret_obj, response_tags, params, fo_obj) {
var url = current_url.setQuery('act','');
location.href = url;
}
/* 오픈아이디 로그인 후 */
function completeMessageOpenIDLogin(ret_obj, response_tags) {
var redirect_url = ret_obj['redirect_url'];
location.href = redirect_url;
}
function doLogin(o,filter){
jQuery('input.inputText',o).each(function(){
var t = jQuery(this);
if(t.attr('title').length>0 && t.attr('title') == t.val()) t.val('');
});
procFilter(o,filter);
initLoginTitleMsg();
return false;
}
function initLoginTitleMsg(){
jQuery('.gLogin, .mLogin').find('input.inputText').focus(function(){
var t = jQuery(this);
if(t.attr('title').length>0 && t.attr('title')==t.val()) t.val('');
}).blur(function(){
var t = jQuery(this);
if(t.attr('title').length>0 && t.val()=='') t.val(t.attr('title'));
}).focus().blur();
}
jQuery(function(){
initLoginTitleMsg();
});

View file

@ -0,0 +1,59 @@
<!--%import("message.css")-->
mobile
<div id="loginAccess" class="gLogin">
<h1>{$system_message}</h1>
<!--@if(!$is_logged)-->
<!--%import("./filter/login.xml")-->
<!--%import("./filter/openid_login.xml")-->
<!--%import("./message.js")-->
<div class="mLogin" id="gLogin">
<form action="./" method="post" onsubmit="return doLogin(this, message_login)" id="gForm">
<fieldset>
<ul class="idpw">
<li><input type="text" name="user_id" id="uid" value="" class="inputText" title="{$lang->user_id}" /></li>
<li><input type="password" name="password" id="upw" value="" class="inputText" title="{$lang->password}" /></li>
</ul>
<div class="buttonArea">
<p class="keeping">
<input type="checkbox" name="keep_signed" id="keepid" class="inputCheck" value="Y" onclick="jQuery('#warning')[(jQuery('#keepid:checked').size()>0?'addClass':'removeClass')]('open');" />
<label for="keepid">{$lang->keep_signed}</label>
</p>
<div id="warning" class="">
<p>{$lang->about_keep_warning}</p>
</div>
<span class="buttonAccount"><input type="submit" value="{$lang->cmd_login}" /></span>
</div>
</fieldset>
</form>
<ul class="help">
<li class="first"><a href="{getUrl('','act','dispMemberFindAccount')}"><span>{$lang->cmd_find_member_account}</span></a></li>
<li><a href="{getUrl('','act','dispMemberSignUpForm')}"><span>{$lang->cmd_signup}</span></a></li>
<!--@if($member_config->enable_openid=='Y')-->
<li><a href="#oLogin" onclick="jQuery('#loginAccess').removeClass('gLogin'); jQuery('#loginAccess').addClass('oLogin'); return false;">Open ID</a></li>
<!--@end-->
</ul>
</div>
<!-- OpenID -->
<!--@if($member_config->enable_openid=='Y')-->
<div class="mLogin" id="oLogin">
<form action="{getUrl('module','member','act','procMemberOpenIDLogin')}" method="post" onsubmit="return doLogin(this, openid_login)" id="oForm">
<fieldset>
<div class="oid">
<input type="text" name="openid" class="inputText" title="Open ID" value="" />
</div>
<div class="buttonArea">
<span class="buttonAccount"><input type="submit" value="{$lang->cmd_login}" /></span>
</div>
</fieldset>
</form>
<div class="help"><a href="#gLogin" onclick="jQuery('#loginAccess').removeClass('oLogin'); jQuery('#loginAccess').addClass('gLogin'); return false;">{$lang->cmd_common_id}</a></div>
</div>
<!--@end-->
<!--@end-->
<!--@if($is_logged)-->
<div class="logOut">
<span class="buttonAccount"><a href="{getUrl('act','dispMemberLogout','module','')}">{$lang->cmd_logout}</a></span>
</div>
<!--@end-->
</div>

View file

@ -1,31 +1,31 @@
<?php
/**
* @class messageAdminController
* @author zero (zero@nzeo.com)
* @brief message module의 admin controller class
**/
class messageAdminController extends message {
/**
* @brief 초기화
**/
function init() {
}
/**
* @brief 설정
**/
function procMessageAdminInsertConfig() {
// 기본 정보를 받음
$args->skin = Context::get('skin');
// module Controller 객체 생성하여 입력
$oModuleController = &getController('module');
$output = $oModuleController->insertModuleConfig('message',$args);
if(!$output->toBool()) return $output;
$this->setMessage('success_updated');
}
}
?>
<?php
/**
* @class messageAdminController
* @author NHN (developers@xpressengine.com)
* @brief message module의 admin controller class
**/
class messageAdminController extends message {
/**
* @brief 초기화
**/
function init() {
}
/**
* @brief 설정
**/
function procMessageAdminInsertConfig() {
// 기본 정보를 받음
$args->skin = Context::get('skin');
// module Controller 객체 생성하여 입력
$oModuleController = &getController('module');
$output = $oModuleController->insertModuleConfig('message',$args);
if(!$output->toBool()) return $output;
$this->setMessage('success_updated');
}
}
?>

View file

@ -1,35 +1,35 @@
<?php
/**
* @class messageAdminView
* @author zero (zero@nzeo.com)
* @brief message모듈의 admin view class
**/
class messageAdminView extends message {
/**
* @brief 초기화
**/
function init() {
}
/**
* @brief 설정
**/
function dispMessageAdminConfig() {
// 스킨 목록을 구해옴
$oModuleModel = &getModel('module');
$skin_list = $oModuleModel->getskins($this->module_path);
Context::set('skin_list', $skin_list);
// 설정 정보를 받아옴 (module model 객체를 이용)
$config = $oModuleModel->getModuleConfig('message');
Context::set('config',$config);
// 템플릿 파일 지정
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('config');
}
}
?>
<?php
/**
* @class messageAdminView
* @author NHN (developers@xpressengine.com)
* @brief message모듈의 admin view class
**/
class messageAdminView extends message {
/**
* @brief 초기화
**/
function init() {
}
/**
* @brief 설정
**/
function dispMessageAdminConfig() {
// 스킨 목록을 구해옴
$oModuleModel = &getModel('module');
$skin_list = $oModuleModel->getskins($this->module_path);
Context::set('skin_list', $skin_list);
// 설정 정보를 받아옴 (module model 객체를 이용)
$config = $oModuleModel->getModuleConfig('message');
Context::set('config',$config);
// 템플릿 파일 지정
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('config');
}
}
?>

View file

@ -1,37 +1,37 @@
<?php
/**
* @class message
* @author zero (zero@nzeo.com)
* @brief message모듈의 high class
**/
class message extends ModuleObject {
/**
* @brief 설치시 추가 작업이 필요할시 구현
**/
function moduleInstall() {
return new Object();
}
/**
* @brief 설치가 이상이 없는지 체크하는 method
**/
function checkUpdate() {
return false;
}
/**
* @brief 업데이트 실행
**/
function moduleUpdate() {
return new Object();
}
/**
* @brief 캐시 파일 재생성
**/
function recompileCache() {
}
}
?>
<?php
/**
* @class message
* @author NHN (developers@xpressengine.com)
* @brief message모듈의 high class
**/
class message extends ModuleObject {
/**
* @brief 설치시 추가 작업이 필요할시 구현
**/
function moduleInstall() {
return new Object();
}
/**
* @brief 설치가 이상이 없는지 체크하는 method
**/
function checkUpdate() {
return false;
}
/**
* @brief 업데이트 실행
**/
function moduleUpdate() {
return new Object();
}
/**
* @brief 캐시 파일 재생성
**/
function recompileCache() {
}
}
?>

View file

@ -0,0 +1,43 @@
<?php
require_once(_XE_PATH_.'modules/message/message.view.php');
class messageMobile extends messageView {
/**
* @brief 초기화
**/
function init() {
}
/**
* @brief 메세지 출력
**/
function dispMessage() {
// 설정 정보를 받아옴 (module model 객체를 이용)
$oModuleModel = &getModel('module');
$config = $oModuleModel->getModuleConfig('message');
if(!$config->skin) $config->skin = 'default';
// 템플릿 경로를 지정
$template_path = sprintf('%sm.skins/%s', $this->module_path, $config->skin);
// 회원 관리 정보를 받음
$oModuleModel = &getModel('module');
$member_config = $oModuleModel->getModuleConfig('member');
Context::set('member_config', $member_config);
// ssl 사용시 현재 https접속상태인지에 대한 flag및 https url 생성
$ssl_mode = false;
if($member_config->enable_ssl == 'Y') {
if(preg_match('/^https:\/\//i',Context::getRequestUri())) $ssl_mode = true;
}
Context::set('ssl_mode',$ssl_mode);
Context::set('system_message', nl2br($this->getMessage()));
$this->setTemplatePath($template_path);
$this->setTemplateFile('system_message');
}
}
?>

View file

@ -1,47 +1,47 @@
<?php
/**
* @class messageView
* @author zero (zero@nzeo.com)
* @brief message모듈의 view class
**/
class messageView extends message {
/**
* @brief 초기화
**/
function init() {
}
/**
* @brief 메세지 출력
**/
function dispMessage() {
// 설정 정보를 받아옴 (module model 객체를 이용)
$oModuleModel = &getModel('module');
$config = $oModuleModel->getModuleConfig('message');
if(!$config->skin) $config->skin = 'default';
// 템플릿 경로를 지정
$template_path = sprintf('%sskins/%s', $this->module_path, $config->skin);
// 회원 관리 정보를 받음
$oModuleModel = &getModel('module');
$member_config = $oModuleModel->getModuleConfig('member');
Context::set('member_config', $member_config);
// ssl 사용시 현재 https접속상태인지에 대한 flag및 https url 생성
$ssl_mode = false;
if($member_config->enable_ssl == 'Y') {
if(preg_match('/^https:\/\//i',Context::getRequestUri())) $ssl_mode = true;
}
Context::set('ssl_mode',$ssl_mode);
Context::set('system_message', nl2br($this->getMessage()));
$this->setTemplatePath($template_path);
$this->setTemplateFile('system_message');
}
}
?>
<?php
/**
* @class messageView
* @author NHN (developers@xpressengine.com)
* @brief message모듈의 view class
**/
class messageView extends message {
/**
* @brief 초기화
**/
function init() {
}
/**
* @brief 메세지 출력
**/
function dispMessage() {
// 설정 정보를 받아옴 (module model 객체를 이용)
$oModuleModel = &getModel('module');
$config = $oModuleModel->getModuleConfig('message');
if(!$config->skin) $config->skin = 'default';
// 템플릿 경로를 지정
$template_path = sprintf('%sskins/%s', $this->module_path, $config->skin);
// 회원 관리 정보를 받음
$oModuleModel = &getModel('module');
$member_config = $oModuleModel->getModuleConfig('member');
Context::set('member_config', $member_config);
// ssl 사용시 현재 https접속상태인지에 대한 flag및 https url 생성
$ssl_mode = false;
if($member_config->enable_ssl == 'Y') {
if(preg_match('/^https:\/\//i',Context::getRequestUri())) $ssl_mode = true;
}
Context::set('ssl_mode',$ssl_mode);
Context::set('system_message', nl2br($this->getMessage()));
$this->setTemplatePath($template_path);
$this->setTemplateFile('system_message');
}
}
?>