묻고답하기
로그인 위젯에 관한 질문입니다.
2009.08.07 08:09
제가 로그인 위젯을 하나 다운을 받아서 현재 그것을 사용하려고 합니다. 지금 로그인과 로그 아웃은 잘 되는 상황이구요,
그런데 중요한건 회원가입이나 회원정보 찾기 버튼이 작동이 되질 않아서 이렇게 글을 올립니다. 이곳 저곳 찾아보니 없더라구요/
이상하게 파일 첨부가 되지 않아서 이렇게 글로 파일을 올리겠습니다.
첨으로 login_form.html, login_info.html, CSS폴더, js 폴더, filter, image폴더 가 있습니다.
login_form.html
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
<!--%import("css/nurigaro.css")-->
<!--%import("./filter/login.xml")-->
<!--%import("./filter/openid_login.xml")-->
<!--%import("./js/login.js")-->
<script type="text/javascript">
var keep_signed_msg = "{$lang->about_keep_signed}";
xAddEventListener(window, "load", function(){ doFocusUserId("fo_login_widget"); });
</script>
<div class="nuri-garo-loginfull2">
<div id="login" class="nuri-pastel_log_{$colorset}">
<form action="./" method="get" onsubmit="return procFilter(this, widget_login)" id="fo_login_widget">
<div class="btn-login"><input type="image" href="" src="./images/buttonLogin.gif" alt="login" class="login" />
</div>
<div class="idpw">
<label for="user_id">ID</label>
<input name="user_id" type="text" title="user id" />
<label for="password">PW</label>
<input name="password" type="password" title="password" />
</div>
<div class="option">
<!--@if($member_config->enable_openid=='Y')-->
<input name="use_open_id" id="use_open_id" type="checkbox" value="Y" onclick="toggleLoginForm(this); return false;"/>
<label for="use_open_id">Open ID</label>
<!--@end-->
<input type="checkbox" name="keep_signed" id="keepid" value="Y" onclick="return confirm(keep_signed_msg);"/>
<label for="keepid">{$lang->keep_signed}</label>
</div>
<div class="extra_option">
<a href="{getUrl('act','dispMemberSignUpForm')}"><img src="./images/icon_join.gif" alt="{$lang->cmd_signup}" /></a>
<a href="{getUrl('act','dispMemberFindAccount')}"><img src="./images/icon_find.gif" alt="{$lang->cmd_find_member_account}"/></a>
</div>
</form>
</div>
</div>
<!-- OpenID --> <script type="text/javascript"> login_info.html <!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 --> <div class="nuri-garo-loginfull2"> <is_admin=="Y'>!--@if($logged_info->is_admin=="Y")--> 많은 가르침 부탁드립니다.
<!--@if($member_config->enable_openid=='Y')-->
<div class="nuri-garo-loginfull2">
<div id="openid_login" class="nuri-pastel_log_{$colorset}" style="display:none;">
<form action="./" method="post" onsubmit="return procFilter(this, openid_login)" >
<div class="btn-login"><input type="image" src="./images/buttonLogin.gif" alt="login" class="login"/>
</div>
<div class="openidpw">
<p>{$lang->openid}</p>
<input type="text" name="user_id" class="openid_user_id" />
</div>
<div class="option">
<input name="use_open_id" id="use_open_id_2" type="checkbox" value="Y" onclick="toggleLoginForm(this); return false;"/>
<label for="use_open_id_2">Open ID</label>
</div>
</form>
</div>
</div>
<!--@end-->
xAddEventListener(window, "load", function(){ doFocusUserId("fo_login_widget"); });
</script>
<!--%import("css/nurigaro.css")-->
<!--%import("./filter/logout.xml")-->
<div id="loginfo" class="nuri-pastel_log_{$colorset}">
<form action="" method="post">
<div class="user_info">
<div class="fr"><a href="{getUrl('act','dispMemberLogout')}"><img src="./images/buttonLogout.gif" alt="{$lang->cmd_logout}" width="47" height="18"/></a></div>
<div class="fl"><div class="member_{$logged_info->member_srl} fl fc_01" title="닉네임"><strong>{$logged_info->nick_name}</strong></div>
</div>
</div>
{@ $oPointModel = &getModel('point'); $point = $oPointModel->getPoint($logged_info->member_srl); $oModuleModel = &getModel('module'); $config = $oModuleModel->getModuleConfig('point'); $level = $oPointModel->getLevel($point, $config->level_step); }
<div class="usermenu" >
<div class="item group"><a href="{getUrl('act','dispMemberInfo','member_srl',$logged_info->member_srl)}" title="소속그룹"><!--@foreach($logged_info->group_list as $key => $val)-->{$val} < <div class="item level"><a href="{getUrl('act','dispMemberInfo','member_srl',$logged_info->member_srl)}" title="현재레벨"><span class="message_count" >{$level}</span></a></div>
<div class="item profile"><a href="{getUrl('act','dispMemberInfo','member_srl',$logged_info->member_srl)}">회원정보</a></div>
<div class="item friend"><a href="{getUrl('act','dispMemberFriend','member_srl',$logged_info->member_srl)}">친구</a></div>
<div class="item message"><a href="{getUrl('act','dispMemberMessages','message_type','','member_srl',$logged_info->member_srl)}">쪽지<span class="message_count" >{$message_count}</span></a></div>
<div class="item scrap"><a href="{getUrl('act','dispMemberScrappedDocument','member_srl',$logged_info->member_srl)}">{$lang->cmd_view_scrapped_document}</a></div>
<div class="item save"><a href="{getUrl('act','dispMemberSavedDocument','member_srl',$logged_info->member_srl)}">{$lang->cmd_view_saved_document}</a></div>
<div class="item own"><a href="{getUrl('act','dispMemberOwnDocument','member_srl'+
'+
',$logged_info->member_srl)}">{$lang->cmd_view_own_document}</a></div>
<div class="item administrative"><a href="{getUrl('','module','admin')}" onclick="window.open(this.href);return false;">{$lang->cmd_management}</a></div>
<!--@if($layout_info->layout_srl)-->
<div class="item LayoutAdminModify"><a href="{getUrl('act','dispLayoutAdminModify','layout_srl',$layout_info->layout_srl)}">설정</a></div>
<div class="item LayoutAdminEdit"><a href="{getUrl('act','dispLayoutAdminEdit','layout_srl',$layout_info->layout_srl)}">편집</a></div>
<!--@end-->
<!--@end-->
</div>
<is_admin=="N'>!--@if($logged_info->is_admin=="N")-->
<div class="lastlogin">{$lang->last_login} : <span>{zDate($logged_info->last_login, "Y-m-d H:i")}</span></div>
<!--@end-->
</form>
</div>
</div>
<div class="clear"></div>
이런데요. 혹시 css나 다른 폴더에서 바꿔야되면 그것도 말씀 좀 해주세요.ㅠ.