Minor fix. class="table" replace with class="x_table x_table-striped x_table-hover"

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11754 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-10-17 05:25:41 +00:00
parent cca3ea0668
commit 9e0fe3ba98
67 changed files with 2625 additions and 2778 deletions

View file

@ -6,70 +6,66 @@
<input type="hidden" name="id" value="{$id}" />
<input type="hidden" name="type" value="{$type}" />
<input type="hidden" name="vid" value="{$vid}" />
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tbody>
<!--@if($site_count && $logged_info->is_admin == 'Y')-->
<tr>
<th>{$lang->virtual_site}</th>
<td>
<input type="text" name="site_keyword" value="{$site_keyword}" /> <span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
<p>{$lang->about_search_virtual_site}</p>
</td>
</tr>
<!--@end-->
<tr>
<th>{$lang->module}</th>
<td>
<select name="selected_module">
<!--@foreach($mid_list as $key=>$val)-->
<option value="{$key}" <!--@if($selected_module == $key)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select><span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<thead>
<tr>
<!--@if($module_category_exists)--><th>{$lang->module_category}</th><!--@end-->
<th>{$lang->mid}</th>
<th >{$lang->browser_title}</th>
<th>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</th>
<tr>
</thead>
<tbody>
<!--@if($module_category_exists)-->
<!--@foreach($selected_mids as $key => $val)-->
<tr>
<td rowspan="{count($val)}">{$key}&nbsp;</td>
{@ $_idx =0; }
<!--@foreach($val as $k => $v)-->
<!--@if($_idx >0)--><tr><!--@end-->
{@ $browser_title = str_replace("'", "\\'", htmlspecialchars($v->browser_title)); }
<td>{$k}</td>
<td>{$v->browser_title}</td>
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{$browser_title}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
<!--@if($_idx <count($val))--></tr><!--@end-->
{@ $_idx ++; }
<!--@end-->
<table class="x_table x_table-striped x_table-hover">
<tbody>
<!--@if($site_count && $logged_info->is_admin == 'Y')-->
<tr>
<th>{$lang->virtual_site}</th>
<td>
<input type="text" name="site_keyword" value="{$site_keyword}" /> <span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
<p>{$lang->about_search_virtual_site}</p>
</td>
</tr>
<!--@end-->
<!--@else-->
<!--@foreach($selected_mids as $key => $val)-->
<!--@foreach($val as $k => $v)-->
<tr>
<td>{$k}</td>
<td>{$v->browser_title}</td>
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{str_replace("'","\\'",$v->browser_title)}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
</tr>
<!--@end-->
<!--@end-->
<!--@end-->
</tbody>
</table>
</div>
<th>{$lang->module}</th>
<td>
<select name="selected_module">
<!--@foreach($mid_list as $key=>$val)-->
<option value="{$key}" <!--@if($selected_module == $key)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select><span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
</td>
</tr>
</tbody>
</table>
<table class="x_table x_table-striped x_table-hover">
<thead>
<tr>
<!--@if($module_category_exists)--><th>{$lang->module_category}</th><!--@end-->
<th>{$lang->mid}</th>
<th >{$lang->browser_title}</th>
<th>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</th>
<tr>
</thead>
<tbody>
<!--@if($module_category_exists)-->
<!--@foreach($selected_mids as $key => $val)-->
<tr>
<td rowspan="{count($val)}">{$key}&nbsp;</td>
{@ $_idx =0; }
<!--@foreach($val as $k => $v)-->
<!--@if($_idx >0)--><tr><!--@end-->
{@ $browser_title = str_replace("'", "\\'", htmlspecialchars($v->browser_title)); }
<td>{$k}</td>
<td>{$v->browser_title}</td>
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{$browser_title}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
<!--@if($_idx <count($val))--></tr><!--@end-->
{@ $_idx ++; }
<!--@end-->
</tr>
<!--@end-->
<!--@else-->
<!--@foreach($selected_mids as $key => $val)-->
<!--@foreach($val as $k => $v)-->
<tr>
<td>{$k}</td>
<td>{$v->browser_title}</td>
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{str_replace("'","\\'",$v->browser_title)}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
</tr>
<!--@end-->
<!--@end-->
<!--@end-->
</tbody>
</table>
</form>