mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
issue 908 modify ui (displayed a group by level)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10256 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6eaf9ecedc
commit
946394ea44
1 changed files with 21 additions and 0 deletions
|
|
@ -116,6 +116,7 @@
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
{@$point_group = array_flip($config->point_group)}
|
||||||
<h2 class="h2">{$lang->level_point}</h2>
|
<h2 class="h2">{$lang->level_point}</h2>
|
||||||
<div class="table">
|
<div class="table">
|
||||||
<table width="100%" border="1" cellspacing="0">
|
<table width="100%" border="1" cellspacing="0">
|
||||||
|
|
@ -131,17 +132,37 @@
|
||||||
<th scope="col">{$lang->level}</th>
|
<th scope="col">{$lang->level}</th>
|
||||||
<th scope="col">{$lang->level_icon}</th>
|
<th scope="col">{$lang->level_icon}</th>
|
||||||
<th scope="col">{$lang->point}</th>
|
<th scope="col">{$lang->point}</th>
|
||||||
|
<th scope="col">{$lang->member_group}</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>1</td>
|
<td>1</td>
|
||||||
<td><img src="{getUrl()}/modules/point/icons/{$config->level_icon}/1.gif" alt="" /></td>
|
<td><img src="{getUrl()}/modules/point/icons/{$config->level_icon}/1.gif" alt="" /></td>
|
||||||
<td><input type="text" name="level_step_1" value="{$config->level_step[1]}" style="width:40px;text-align:right" /> {$config->point_name}</td>
|
<td><input type="text" name="level_step_1" value="{$config->level_step[1]}" style="width:40px;text-align:right" /> {$config->point_name}</td>
|
||||||
|
{@$point_group_item = $point_group[1]}
|
||||||
|
{@$title=array()}
|
||||||
|
<!--@if($point_group_item)-->
|
||||||
|
<!--@if($config->group_reset != 'N')-->
|
||||||
|
{@$title[0] = $group_list[$point_group_item.'']->title}
|
||||||
|
<!--@else-->
|
||||||
|
{@$title[] = $group_list[$point_group_item.'']->title}
|
||||||
|
<!--@end-->
|
||||||
|
<!--@end-->
|
||||||
|
<td>{implode(', ', $title)}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--@for($i=2;$i<=$config->max_level;$i++)-->
|
<!--@for($i=2;$i<=$config->max_level;$i++)-->
|
||||||
|
{@$point_group_item = $point_group[$i]}
|
||||||
|
<!--@if($point_group_item)-->
|
||||||
|
<!--@if($config->group_reset != 'N')-->
|
||||||
|
{@$title[0] = $group_list[$point_group_item.'']->title}
|
||||||
|
<!--@else-->
|
||||||
|
{@$title[] = $group_list[$point_group_item.'']->title}
|
||||||
|
<!--@end-->
|
||||||
|
<!--@end-->
|
||||||
<tr class="row{(($i-1)%2+1)}">
|
<tr class="row{(($i-1)%2+1)}">
|
||||||
<td>{$i}</td>
|
<td>{$i}</td>
|
||||||
<td><img src="{getUrl()}/modules/point/icons/{$config->level_icon}/{$i}.gif" alt="" /></td>
|
<td><img src="{getUrl()}/modules/point/icons/{$config->level_icon}/{$i}.gif" alt="" /></td>
|
||||||
<td><input type="text" id="level_step_{$i}" name="level_step_{$i}" value="{$config->level_step[$i]}" style="width:40px;text-align:right" /> {$config->point_name}</td>
|
<td><input type="text" id="level_step_{$i}" name="level_step_{$i}" value="{$config->level_step[$i]}" style="width:40px;text-align:right" /> {$config->point_name}</td>
|
||||||
|
<td>{implode(', ', $title)}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue