ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/templates/list_c_action.tpl @ 1367

Last change on this file since 1367 was 1367, checked in by takanashi, 14 years ago

管理画面表示ズレを対処

File size: 3.1 KB
Line 
1({$inc_header|smarty:nodefaults})
2({ext_include file="inc_subnavi_adminSNSConfig.tpl"})
3
4({assign var="page_name" value="アクション一覧"})
5({ext_include file="inc_tree_adminSNSConfig.tpl"})
6</div>
7
8({*ここまで:navi*})
9
10({if $msg})<p class="actionMsg">({$msg})</p>({/if})
11
12<h2>アクション一覧</h2>
13
14({if $msg})
15<p class="caution">({$msg})</p>
16({/if})
17
18({if $pager && $pager.total_num > 0})
19<!-- pager_begin -->
20<div class="pager">
21({$pager.total_num}) 件中 ({$pager.start_num}) - ({$pager.end_num})件目を表示しています
22<br>
23({if $pager.prev_page})
24<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_action')})&amp;page=({$pager.prev_page})&amp;page_size=({$pager.page_size})({$cond})">前へ</a>&nbsp;
25({/if})
26({foreach from=$pager.disp_pages item=i})
27({if $i == $pager.page})
28&nbsp;<strong>({$i})</strong>&nbsp;
29({else})
30<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_action')})&amp;page=({$i})&amp;page_size=({$pager.page_size})({$cond})">&nbsp;({$i})&nbsp;</a>
31({/if})
32({/foreach})
33({if $pager.next_page})
34&nbsp;<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_action')})&amp;page=({$pager.next_page})&amp;page_size=({$pager.page_size})({$cond})">次へ</a>
35({/if})
36</div>
37<!-- pager_end -->
38({/if})
39
40<table>
41<tr>
42<th>ID</th>
43<th>項目名</th>
44<th>設定ポイント</th>
45<th>操作</th>
46</tr>
47({foreach from=$c_action_list item=c_action})
48<tr>
49<td class="idnumber">({$c_action.c_action_id})</td>
50<td>({$c_action.name})</td>
51
52<form action="./" method="post">
53<input type="hidden" name="m" value="({$module_name})">
54<input type="hidden" name="a" value="do_({$hash_tbl->hash('update_c_action','do')})">
55<input type="hidden" name="sessid" value="({$PHPSESSID})">
56<input type="hidden" name="c_action_id" value="({$c_action.c_action_id})">
57<input type="hidden" name="name" value="({$c_action.name})">
58<td><input type="text" name="point" value="({$c_action.point})" size="30"></td>
59<td><input type="submit" class="submit" value="変更"></td>
60</form>
61
62</tr>
63({foreachelse})
64<tr>
65<td colspan="4">アクションが登録されていません</td>
66</tr>
67({/foreach})
68</table>
69
70({if $pager && $pager.total_num > 0})
71<!-- pager_begin -->
72<div class="pager">
73({$pager.total_num}) 件中 ({$pager.start_num}) - ({$pager.end_num})件目を表示しています
74<br>
75({if $pager.prev_page})
76<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_action')})&amp;page=({$pager.prev_page})&amp;page_size=({$pager.page_size})({$cond})">前へ</a>&nbsp;
77({/if})
78({foreach from=$pager.disp_pages item=i})
79({if $i == $pager.page})
80&nbsp;<strong>({$i})</strong>&nbsp;
81({else})
82<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_action')})&amp;page=({$i})&amp;page_size=({$pager.page_size})({$cond})">&nbsp;({$i})&nbsp;</a>
83({/if})
84({/foreach})
85({if $pager.next_page})
86&nbsp;<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_action')})&amp;page=({$pager.next_page})&amp;page_size=({$pager.page_size})({$cond})">次へ</a>
87({/if})
88</div>
89<!-- pager_end -->
90({/if})
91
92({$inc_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.