mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
위젯 모듈 설정시 CSS오류등 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5299 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
906bb46d19
commit
efc0e0f12d
5 changed files with 16 additions and 8 deletions
|
|
@ -125,6 +125,7 @@
|
|||
Context::set('site_keyword', $site_keyword);
|
||||
} else {
|
||||
$query_id = 'module.getDefaultModules';
|
||||
$args->site_srl = 0;
|
||||
$module_category_exists = true;
|
||||
}
|
||||
// 사이트 검색어가 있으면 해당 사이트(들)의 정보를 추출
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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} </td>
|
||||
{@ $_idx =0; }
|
||||
<!--@foreach($val as $k => $v)-->
|
||||
<!--@if($_idx >0)--><tr><!--@end-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue