묻고답하기
XE 레이아웃 로그인 팝업에 관해 질문드립니다.
2010.01.01 11:31
XpressEngine ver.2 ver 0.1 레이아웃을 사용해서 홈페이지를 만들었습니다.
홈페이지를 클릭하면 로그인 창이 자동으로 뜨는데(아래 이미지처럼) 밑에 레이아웃 어디를 손봐야 자동으로 뜨는 것을 막을 수 있을 까요?
여러 전문가님들의 도움을 부탁드립니다.
새해 복 많이 받으세요.
감사합니다.
<!--// import layout css file -->
<!--%import("./css/layout.css")-->
<!--%import("{@$_lang_code='en'}{@$layout_info->colorset='black'}{@Context::addBodyClass('gradBG'.$layout_info->colorset)}{@$layout_info->logo_url=getSiteUrl($site_module_info->domain)}{@$_menu_depth=1}{@$selected_menu=$val}selected">!--@if($val['selected'])-->selected<!--@end-->"><a href="{$val['href']}"<!--@if($val['open_window']=='Y')--> onclick="window.open(this.href);return false;"<{@$_idx++}
<!--@if($_idx>=count($_colorset_list))-->{@$_idx=0}<!--@end-->
<!--@end-->
<!--@end-->
</ul>
<hr />
<form action="{getUrl()}" method="post" class="search">
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="act" value="IS" />
<input type="hidden" name="search_target" value="title_content" />
<fieldset>
<legend>{$lang->cmd_search}</legend>
<input name="is_keyword" type="text" title="Search" class="inputText" accesskey="S" />
<input name="" type="image" src="img/buttonSearch.gif" alt="Search" class="inputSearch" />
</fieldset>
</form>
<!-- 태그 출력 위젯 -->
<img class="zbxe_widget_output" style="float: left; width: 730px; height: 100px;" widget="tag_list" skin="tagcloud" colorset="blue" module_srls="60,69,106" />
<!-- 태그 출력 위젯 -->
</div>
<hr />
<div id="body">
<div id="content">
<!--@if($layout_info->title_main && ($layout_info->title_display!='main' || $_menu_depth==1))-->
<div class="contentHeader">
<div class="title">
<!--@if($layout_info->title_sub)--><h2>{$layout_info->title_sub}</h2><!--@end-->
<h3>{$layout_info->title_main}</h3>
</div>
<div class="summary">
<!--@if($layout_info->title_image)--><img src="{$layout_info->title_image}" class="thumb" alt="{htmlspecialchars($layout_info->title)}" /><!--@end-->
<div class="description">{$layout_info->title_description}</div>
</div>
</div>
<hr />
<!--@end-->
{$content}
</div>
<!--@if($layout_info->layout_type=='ce')-->
<hr />
<div class="extension e1">
<div class="lnb">
<!--@if($layout_info->right_title)-->
<h2>{$layout_info->right_title}</h2>
<!--@elseif($selected_menu)-->
<h2>{$selected_menu['+
'text']}</h2>
<!--@end-->
<!--@if($category)-->
<!--@foreach($category as $key => $val)-->
<h3>{$val->title} ({$val->count})</h3>
<!--@if($val->childs)-->
<ul>
<!--@foreach($val->childs as $k => $v)-->
<li<!--@if($dir_srl==$v->project_dir_srl)--> class="active"<!--@end-->><a href="{getUrl('dir_srl', $v->project_dir_srl)}">{$v->title} ({$v->count})</a></li>
<!--@end-->
</ul>
<!--@end-->
<!--@end-->
<!--@else-->
<!--@foreach($main_menu->list as $key => $val)--><!--@if($val['link'])-->
<!--@if($val['selected']&&$val['list'])-->
<ul>
<!--@foreach($val['list'] as $k => $v)--><!--@if($val['link'])-->
<li <!--@if($v['selected'])-->class="active"<!--@end-->><a href="{$v['href']}" <!--@if($v['open_window']=='Y')-->onclick="window.open(this.href);return false;"<>{$val['text']}!--@end-->>{$val['text']}</a></h2>
<!--@if($val['list'])-->
<ul>
<!--@foreach($val['list'] as $k => $v)-->
<!--@if($val['+
'link'])-->
<li><a href="{$v['href']}"<!--@if($v['open_window']=='Y')--> onclick="window.open(this.href);return false;"<!--@end-->
<!--@end-->
</ul>
<!--@end-->
</div>
<!--@end-->
<!--@end-->
</div>
</div>
<hr />
<div id="footer">
<!--@if($rss_url)--><p class="rss"><a href="{$rss_url}">RSS</a></p><!--@end-->
<address>
<strong title="주알리기">Copyright 2010, All Rights Reserved. </strong>
</address>
<img class="zbxe_widget_output" widget="counter_status" skin="miznkiz_simple_counter_100" />
</div>
</div>
</div>
<!--@if(!$is_logged)-->
{@ $member_config = MemberModel::getMemberConfig(); }
<!--%import("./filter/login.xml")-->
<!--@if($member_config->enable_openid=='Y')--><!--%import("./filter/openid_login.xml")--><!--@end-->
<!-- loginWindow -->
<div id="loginWindow" class="loginWindow">
<!-- class="loginWindow" | class="loginWindow open" -->
<span class="modalWindow"></span>
<div id="loginLayer" class="loginLayer loginTypeA">
<!-- class="loginLayer loginTypeA" | class="loginLayer loginTypeB" -->
<button type="button" class="close" onclick="document.getElementById('loginWindow').style.display='none'" accesskey="X"><span>Close Login Layer</span></button>
<form action="" method="post" class="typeA" id="commonLogin" onsubmit="return procFilter(this, login)">
<fieldset>
<legend>XE Login</legend>
<dl>
<dt><label for="uid">{$lang->user_id}</label></dt>
<dd><input name="user_id" type="text" class="inputText" id="uid" /></dd>
<dt><label for="upw">{$lang->password}</label></dt>
<dd><input name="password" type="password" class="inputText" id="upw" /></dd>
</dl>
<p class="keep"><input name="keep_signed" type="checkbox" id="keepA" value="Y" class="inputCheck" onclick="if(this.checked) return confirm('{$lang->about_keep_signed}');"/><label for="keepA">{$lang->keep_signed}</label></p>
<span class="loginButton"><input name="" type="submit" value="{$lang->cmd_login}" /></span>
</fieldset>
</form>
<!--@if($member_config->enable_openid=='Y'+
')-->
<form action="./" method="post" class="typeB" id="openidLogin" onsubmit="return procFilter(this, openid_login)">
<fieldset>
<legend>OpenID Login</legend>
<dl>
<dt><label for="oid">Open ID</label></dt>
<dd><input name="openid" type="text" class="inputText" id="oid" /></dd>
</dl>
<span class="loginButton"><input name="" type="submit" value="{$lang->cmd_login}" /></span>
</fieldset>
</form>
<!--@end-->
<ul class="help">
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
<li class="find"><a href="{getUrl('act','dispMemberFindAccount')}">{$lang->cmd_find_member_account}</a></li>
<li class="find"><a href="{getUrl('act','dispMemberResendAuthMail')}">{$lang->cmd_resend_auth_mail}</a></li>
<!--@if($member_config->enable_openid=='Y')-->
<li class="typeA"><a href="#openidLogin" onclick="document.getElementById('loginLayer').className='loginLayer loginTypeB'">OpenID</a></li>
<li class="typeB"><a href="#commonLogin" onclick="document.getElementById('loginLayer'+
').className='loginLayer loginTypeA'">OpenID</a></li>
<!--@end-->
</ul>
<button type="button" class="close" onclick="document.getElementById('loginWindow').style.display='none'" accesskey="X"><span>Close Login Layer</span></button>
</div>
</div>
<!-- /loginWindow -->
<!--@end-->
<img class="zbxe_widget_output" widget="Ext_JS_popup" skin="popup" colorset="popup" title="새해 복 많이 받으세요" order_target="list_order" mid_list="happy" />