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

source: OpenPNE/branches/work/fukamachi/trunk/webapp/modules/admin/templates/edit_album_list.tpl @ 11117

Last change on this file since 11117 was 11117, checked in by fukamachi, 13 years ago
File size: 4.6 KB
Line 
1({$inc_header|smarty:nodefaults})
2({ext_include file="inc_subnavi_adminImageKakikomi.tpl"})
3({assign var="page_name" value="アルバム管理"})
4({ext_include file="inc_tree_adminImageKakikomi.tpl"})
5</div>
6
7({if $msg})<p class="actionMsg">({$msg})</p>({/if})
8<h2>({$page_name})</h2>
9
10<div class="contents">
11
12<div id="searchForm">
13<h4>検索キーワード</h4>
14<form action="./" method="get">
15<input type="hidden" name="m" value="({$module_name})" />
16<input type="hidden" name="a" value="page_({$hash_tbl->hash('edit_album_list','page')})" />
17<input class="basic" type="text" name="keyword" value="({$keyword})" />
18<span class="textBtnS"><input type="submit" value=" 検 索 " /></span>
19</form>
20
21<h4>アルバムID検索</h4>
22<form action="./" method="get">
23<input type="hidden" name="m" value="({$module_name})" />
24<input type="hidden" name="a" value="page_({$hash_tbl->hash('edit_album_list','page')})" />
25<input class="basic" type="text" name="target_c_album_id" value="({$target_c_album_id})" />
26<span class="textBtnS"><input type="submit" value=" 検 索 " /></span>
27</form>
28</div>
29
30({if !$album_list})
31<p id="noAlbum">該当するアルバムが存在しません</p>
32({else})
33
34<script type="text/javascript" src="./js/select_delete.js"></script>
35
36({capture name="pager"})
37<div class="listControl">
38<p class="display">
39({$total_num})件中 ({$start_num})-({$end_num})件目を表示しています
40</p>
41<p class="listMove">
42({if $page_list})({foreach from=$page_list item=item})({if $page!=$item})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('edit_album_list','page')})&amp;page=({$item})&amp;keyword=({$keyword_encode})">({$item})</a>({else})<b>({$item})</b>({/if})&nbsp;&nbsp;({/foreach})&nbsp;({/if})
43({if $prev})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('edit_album_list','page')})&amp;page=({$page-1})&amp;keyword=({$keyword_encode})"><<前</a> ({/if})
44({if $next})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('edit_album_list','page')})&amp;page=({$page+1})&amp;keyword=({$keyword_encode})">次>></a>({/if})
45</p>
46</div>
47({/capture})
48
49<div class="listControl" id="pager01">
50({$smarty.capture.pager|smarty:nodefaults})
51</div>
52
53({foreach from=$album_list item=item})
54<table class="basicType2 album">
55<tbody>
56({****})
57<tr>
58<th>ID</th>
59<td class="type1">
60<input type="checkbox" name="del" value="({$item.c_album_id})" />
61({$item.c_album_id})
62</td>
63</tr>
64({****})
65<tr>
66<th>タイトル</th>
67<td>
68<a href="({t_url _absolute=1 m=pc a=page_fh_album})&amp;target_c_album_id=({$item.c_album_id})" target="_blank">({$item.subject})</a>
69(({if $item.count_images})<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('edit_album_image_list','page')})&amp;target_c_album_id=({$item.c_album_id})">({/if})写真:({$item.count_images})件({if $item.count_images})</a>({/if}))
70</td>
71</tr>
72({****})
73<tr>
74<th>作成者</th>
75<td>
76<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('c_member_detail','page')})&amp;target_c_member_id=({$item.c_member_id})">({$item.c_member.nickname})</a>
77</td>
78</tr>
79({****})
80<tr>
81<th>表紙</th>
82<td>
83<img src="({if $item.album_cover_image})({t_img_url filename=$item.album_cover_image w=120 h=120})({else})({t_img_url_skin filename=no_image w=120 h=120})({/if})" alt="" />
84</td>
85</tr>
86({****})
87<tr>
88<th>アルバムの説明</th>
89<td class="textbody">
90({$item.description|nl2br})
91</td>
92</tr>
93({****})
94<tr>
95<th>公開範囲</th>
96<td>
97({if $item.public_flag == "public"})
98全員に公開
99({elseif $item.public_flag == "friend"})
100({$WORD_MY_FRIEND})まで公開
101({elseif $item.public_flag == "private"})
102公開しない
103({/if})
104</td>
105</tr>
106({****})
107<tr>
108<th>作成日</th>
109<td>
110({$item.r_datetime})
111</td>
112</tr>
113({****})
114<tr>
115<td class="formbutton" colspan="2">
116<form action="./" method="get">
117<input type="hidden" name="m" value="({$module_name})" />
118<input type="hidden" name="a" value="page_({$hash_tbl->hash('delete_album_confirm')})" />
119<input type="hidden" name="target_c_album_id" value="({$item.c_album_id})" />
120<span class="textBtnS"><input type="submit" value=" 削 除 " /></span>
121</form>
122</td>
123</tr>
124</tbody>
125</table>
126({/foreach})
127
128<form id="select-delete-form" action="./" method="get">
129<input type="hidden" name="m" value="({$module_name})" />
130<input type="hidden" name="a" value="page_({$hash_tbl->hash('delete_album_confirm_selected')})" />
131<input type="hidden" id="del-ids" name="target_c_album_ids" value="" />
132<span class="textBtnS"><input type="button" id="select-delete" value="選択した({$WORD_DIARY})を削除" /></span>
133</form>
134
135<div class="listControl" id="pager02">
136({$smarty.capture.pager|smarty:nodefaults})
137</div>
138({/if})
139
140({$inc_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.