위젯 모듈 설정시 CSS오류등 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5299 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-01-09 10:23:12 +00:00
parent 906bb46d19
commit efc0e0f12d
5 changed files with 16 additions and 8 deletions

View file

@ -125,6 +125,7 @@
Context::set('site_keyword', $site_keyword);
} else {
$query_id = 'module.getDefaultModules';
$args->site_srl = 0;
$module_category_exists = true;
}
// 사이트 검색어가 있으면 해당 사이트(들)의 정보를 추출

View file

@ -1,7 +1,11 @@
<query id="getDefaultModules" action="select">
<tables>
<table name="modules" />
<table name="module_categories" />
<table name="modules" alias="modules" />
<table name="module_categories" alias="module_categories" type="left join">
<conditions>
<condition operation="equal" column="module_categories.module_category_srl" default="modules.module_category_srl" />
</conditions>
</table>
</tables>
<columns>
<column name="modules.site_srl" />
@ -12,12 +16,11 @@
<column name="modules.module_srl" />
</columns>
<conditions>
<condition operation="equal" column="modules.site_srl" default="0" />
<condition operation="equal" column="modules.module_category_srl" default="module_categories.module_category_srl" />
<condition operation="equal" column="modules.site_srl" var="site_srl" default="0" notnull="notnull" />
</conditions>
<navigation>
<index var="sort_index" default="module" order="asc" />
<index var="sort_index" default="modules.module" order="asc" />
<index var="sort_index" default="module_categories.title" order="asc" />
<index var="sort_index" default="mid" order="asc" />
<index var="sort_index" default="modules.mid" order="asc" />
</navigation>
</query>

View file

@ -46,7 +46,7 @@
<!--@if($module_category_exists)-->
<!--@foreach($selected_mids as $key => $val)-->
<tr>
<td rowspan="{count($val)}">{$key}</td>
<td rowspan="{count($val)}">{$key}&nbsp;</td>
{@ $_idx =0; }
<!--@foreach($val as $k => $v)-->
<!--@if($_idx >0)--><tr><!--@end-->