mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1215 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
11e4a9ce06
commit
bb28cb013b
4 changed files with 67 additions and 68 deletions
|
|
@ -2,7 +2,6 @@
|
|||
<module>
|
||||
<grants />
|
||||
<actions>
|
||||
<action name="dispCounterAdminIndex" type="view" admin_index="true" standalone="true" />
|
||||
<action name="procCounterExecute" type="controller" standalone="true" />
|
||||
</actions>
|
||||
</module>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,8 @@
|
|||
Context::set('colorset', $args->colorset);
|
||||
|
||||
// 템플릿 파일을 지정
|
||||
$tpl_file = 'login_info';
|
||||
if(Context::get('is_logged')) $tpl_file = 'login_info';
|
||||
else $tpl_file = 'login_form';
|
||||
|
||||
// 템플릿 컴파일
|
||||
$oTemplate = new TemplateHandler();
|
||||
|
|
|
|||
35
plugins/login_info/skins/default/login_form.html
Normal file
35
plugins/login_info/skins/default/login_form.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!-- colorset의 값에 따라 css 파일을 import 한다 -->
|
||||
<!--@if($colorset=="normal"||!$colorset)-->
|
||||
<!--%import("normal/style.css")-->
|
||||
<!--@end-->
|
||||
|
||||
<!--%import("./filter/login.xml")-->
|
||||
<!--%import("./js/login.js")-->
|
||||
|
||||
<div class="login_plugin">
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, plugin_login)" id="fo_login_plugin">
|
||||
<div class="login_box">
|
||||
<div class="header">{$lang->user_id}</div>
|
||||
<div class="body">
|
||||
<div><input type="text" name="user_id" id="login_form_user_id" class="input" /></div>
|
||||
<div>
|
||||
<input type="checkbox" name="remember_user_id" id="chk_remember_user_id" value="Y" />
|
||||
<label for="chk_remember_user_id">{$lang->remember_user_id}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="header">{$lang->password}</div>
|
||||
<div class="body"><input type="password" name="password" class="input" /></div>
|
||||
</div>
|
||||
|
||||
<div class="button_area">
|
||||
<input type="submit" value="{$lang->cmd_login}" class="submit_button" />
|
||||
<input type="button" value="{$lang->cmd_signup}" class="signup_button" onclick="location.href='{getUrl('act','dispMemberSignUpForm')}';return false;" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
xAddEventListener(window, "load", function(){ doFocusUserId("fo_login_plugin"); });
|
||||
</script>
|
||||
</div>
|
||||
|
|
@ -3,10 +3,8 @@
|
|||
<!--%import("normal/style.css")-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 로그인 사용자일 경우 로그인 정보를 출력 -->
|
||||
<!--@if($logged_info)-->
|
||||
<!--%import("./filter/logout.xml")-->
|
||||
<div class="login_plugin">
|
||||
<!--%import("./filter/logout.xml")-->
|
||||
<div class="login_plugin">
|
||||
|
||||
<!-- 닉네임 + 로그아웃 -->
|
||||
<div class="top_box">
|
||||
|
|
@ -46,38 +44,4 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 비로그인 사용자일 경우 로그인 폼을 출력 -->
|
||||
<!--@else-->
|
||||
<!--%import("./filter/login.xml")-->
|
||||
<!--%import("./js/login.js")-->
|
||||
|
||||
<div class="login_plugin">
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, plugin_login)" id="fo_login_plugin">
|
||||
<div class="login_box">
|
||||
<div class="header">{$lang->user_id}</div>
|
||||
<div class="body">
|
||||
<div><input type="text" name="user_id" id="login_form_user_id" class="input" /></div>
|
||||
<div>
|
||||
<input type="checkbox" name="remember_user_id" id="chk_remember_user_id" value="Y" />
|
||||
<label for="chk_remember_user_id">{$lang->remember_user_id}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="header">{$lang->password}</div>
|
||||
<div class="body"><input type="password" name="password" class="input" /></div>
|
||||
</div>
|
||||
|
||||
<div class="button_area">
|
||||
<input type="submit" value="{$lang->cmd_login}" class="submit_button" />
|
||||
<input type="button" value="{$lang->cmd_signup}" class="signup_button" onclick="location.href='{getUrl('act','dispMemberSignUpForm')}';return false;" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
xAddEventListener(window, "load", function(){ doFocusUserId("fo_login_plugin"); });
|
||||
</script>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue