mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
remove m.skins and move to tpl
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7588 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
69e93035ef
commit
3c09eff0c2
4 changed files with 1 additions and 45 deletions
|
|
@ -1,33 +0,0 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1" />
|
|
||||||
<title>Mobile XE</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="mx.css"/>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="eg hd">
|
|
||||||
<h1 class="h1"><a href="menu.html">Mobile XE</a></h1>
|
|
||||||
<div class="fr"><a href="menu.html" class="bn">메뉴</a></div>
|
|
||||||
</div>
|
|
||||||
<div class="bd">
|
|
||||||
<h2 class="h2">로그인</h2>
|
|
||||||
<form action="">
|
|
||||||
<ul class="sn">
|
|
||||||
<li><label for="id" class="db fb al">아이디</label><input name="" type="text" id="id" class="itx" value="xe@xe.com" /></li>
|
|
||||||
<li><label for="pw" class="db fb al">비밀번호</label><input name="" type="password" id="pw" class="itx" value="000000" /></li>
|
|
||||||
</ul>
|
|
||||||
<div class="cm">
|
|
||||||
<div class="fl"><input name="" type="checkbox" value="" id="autoLogin" /><label for="autoLogin">자동로그인</label></div>
|
|
||||||
<div class="fr"><a href="join.html" class="bn">회원가입</a> <button type="submit" class="bn">로그인</button></div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<ul class="eg ft">
|
|
||||||
<li class="fl"><a href="search.html">검색</a></li>
|
|
||||||
<li class="fr"><a href="#">PC</a></li>
|
|
||||||
</ul>
|
|
||||||
<p class="cr">Mobile XE</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -4,18 +4,7 @@ class memberMobile extends member
|
||||||
{
|
{
|
||||||
function init() {
|
function init() {
|
||||||
// 회원 관리 정보를 받음
|
// 회원 관리 정보를 받음
|
||||||
$oModuleModel = &getModel('module');
|
$this->setTemplatePath($this->module_path.'tpl');
|
||||||
$this->member_config = $oModuleModel->getModuleConfig('member');
|
|
||||||
if(!$this->member_config->skin) $this->member_config->skin = "default";
|
|
||||||
if(!$this->member_config->colorset) $this->member_config->colorset = "white";
|
|
||||||
|
|
||||||
Context::set('member_config', $this->member_config);
|
|
||||||
$skin = $this->member_config->mskin;
|
|
||||||
|
|
||||||
// template path 지정
|
|
||||||
$tpl_path = sprintf('%sm.skins/%s', $this->module_path, $skin);
|
|
||||||
if(!$skin || !is_dir($tpl_path)) $tpl_path = sprintf('%sm.skins/%s', $this->module_path, 'default');
|
|
||||||
$this->setTemplatePath($tpl_path);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function dispMemberLoginForm() {
|
function dispMemberLoginForm() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue