테이블 형식의 목록 나열형에서 col 강제지정을 제외하고 내용에 맞게 cell이 정리되도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4578 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-09-30 10:21:40 +00:00
parent 3a5df10d5c
commit 9ba8284f9c
34 changed files with 299 additions and 829 deletions

View file

@ -3,34 +3,15 @@
<h3>{$lang->editor} <span class="gray">{$lang->cmd_management}</span></h3>
<table cellspacing="0" class="adminTable gap1">
<!--@if($lang_type == 'ko')-->
{@ $col_width = array(0,60,130,75,50,60,50)}
<!--@else if($lang_type == 'en')-->
{@ $col_width = array(0,60,130,75,75,60,50)}
<!--@else if($lang_type == 'zh-CN')-->
{@ $col_width = array(0,60,130,75,45,55,50)}
<!--@else if($lang_type == 'jp')-->
{@ $col_width = array(0,80,130,80,50,60,50)}
<!--@else if($lang_type == 'es')-->
{@ $col_width = array(0,60,130,75,100,85,50)}
<!--@else if($lang_type == 'ru')-->
{@ $col_width = array(0,60,130,80,100,100,95)}
<!--@else if($lang_type == 'fr')-->
{@ $col_width = array(0,60,130,75,95,65,60)}
<!--@end-->
<!--@foreach($col_width as $width)-->
<col <!--@if($width)-->width="{$width}" <!--@end-->/>
<!--@end-->
<thead>
<tr>
<th scope="col">{$lang->component_name}</th>
<th scope="col">{$lang->component_version}</th>
<th scope="col">{$lang->component_author}</th>
<th scope="col">{$lang->component_date}</th>
<th scope="col">{$lang->cmd_setup}</th>
<th scope="col">{$lang->use}</th>
<th scope="col">{$lang->cmd_move}</th>
<th scope="col" class="half_wide"><div>{$lang->component_name}</div></th>
<th scope="col"><div>{$lang->component_version}</div></th>
<th scope="col" class="half_wide"><div>{$lang->component_author}</div></th>
<th scope="col"><div>{$lang->component_date}</div></th>
<th scope="col"><div>{$lang->cmd_setup}</div></th>
<th scope="col"><div>{$lang->use}</div></th>
<th scope="col"><div>{$lang->cmd_move}</div></th>
</tr>
</thead>
<tbody>
@ -44,16 +25,15 @@
<!--@endforeach-->
</td>
<td class="tahoma">{zdate($xml_info->date, 'Y-m-d')}</td>
<td class="red"><a href="#" onclick="doSetupComponent('{$component_name}'); return false;">{$lang->cmd_setup}</a></td>
<td>
<td class="red nowrap"><a href="#" onclick="doSetupComponent('{$component_name}'); return false;">{$lang->cmd_setup}</a></td>
<td class="nowrap">
<!--@if($xml_info->enabled=='Y')-->
<a href="#" onclick="doDisableComponent('{$component_name}');return false;" class="blue">{$lang->cmd_enable}</a>
<!--@else-->
<a href="#" onclick="doEnableComponent('{$component_name}');return false;" class="red">{$lang->cmd_disable}</a>
<!--@end-->
</td>
<td>
<a href="#" onclick="doMoveListOrder('{$component_name}','up');return false;"><img src="../../admin/tpl/images/button_up.gif" alt="{$lang->cmd_move_up}" width="14" height="14" /></a>
<td class="nowrap"><a href="#" onclick="doMoveListOrder('{$component_name}','up');return false;"><img src="../../admin/tpl/images/button_up.gif" alt="{$lang->cmd_move_up}" width="14" height="14" /></a>
<a href="#" onclick="doMoveListOrder('{$component_name}','down');return false;"><img src="../../admin/tpl/images/button_down.gif" alt="{$lang->cmd_move_down}" width="14" height="14" /></a>
</td>
</tr>