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

source: OpenPNE/trunk/webapp/modules/pc/templates/fh_album.tpl @ 6661

Last change on this file since 6661 was 6661, checked in by ogawa, 12 years ago

#2247:アルバム機能のテンプレート修正、文言統一

File size: 5.8 KB
Line 
1<div id="LayoutB">
2<div id="Left">
3
4({* {{{ sideNav *})
5<div class="parts sideNav">
6<div class="item listCategory">
7<div class="partsHeading"><h3>最新のアルバム</h3></div>
8<ul class="list">
9({foreach from=$target_album_list item=item})
10<li><a href="({t_url m=pc a=page_fh_album})&amp;target_c_album_id=({$item.c_album_id})">({$item.subject})</a></li>
11({/foreach})
12</ul>
13</div>
14</div>
15({* }}} *})
16
17</div><!-- Left -->
18
19<div id="Center">
20
21({* unknown *})<div class="dparts"><div class="parts">
22({* unknown *})<div class="partsHeading"><h3>({$target_member.nickname})({if $type == "f"})さん({/if})のアルバム</h3></div>
23({* unknown *})<table>
24({* unknown *})<tr>
25({* unknown *})<td class="photo" rowspan="({if $type == "h"})5({else})4({/if})" style="width: 180px; padding: 5px;">
26({* unknown *})({if $album_info.album_cover_image})
27({* unknown *})<a href="({t_img_url filename=$album_info.album_cover_image})" target="_blank"><img src="({t_img_url filename=$album_info.album_cover_image w=180 h=180})" alt="" /></a>
28({* unknown *})({else})
29({* unknown *})<img src="({t_img_url filename=$album_info.album_cover_image w=180 h=180})" alt="" />
30({* unknown *})({/if})
31({* unknown *})</td>
32({* unknown *})<th style="width: 75px; padding: 5px;">タイトル</th>
33({* unknown *})<td style="padding: 5px;">({$album_info.subject})</td>
34({* unknown *})</tr>
35({* unknown *})<tr>
36({* unknown *})<th style="border-left-width: 1px; padding: 5px;">説明文</th>
37({* unknown *})<td style="padding: 5px;">({$album_info.description|nl2br|t_url2a})</td>
38({* unknown *})</tr>
39({* unknown *})<tr>
40({* unknown *})<th style="border-left-width: 1px; padding: 5px;">公開範囲</th>
41({* unknown *})<td style="padding: 5px;">
42({* unknown *})({if $album_info.public_flag == "public"})
43({* unknown *})全員に公開
44({* unknown *})({elseif $album_info.public_flag == "friend"})
45({* unknown *})({$WORD_MY_FRIEND})まで公開
46({* unknown *})({elseif $album_info.public_flag == "private"})
47({* unknown *})公開しない
48({* unknown *})({/if})
49({* unknown *})</td>
50({* unknown *})</tr>
51({* unknown *})<tr>
52({* unknown *})<th style="border-left-width: 1px; padding: 5px;">作成日時</th>
53({* unknown *})<td style="padding: 5px;">({$album_info.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})</td>
54({* unknown *})</tr>
55({* unknown *})({if $type == "h"})
56({* unknown *})<tr>
57({* unknown *})<td colspan="2" style="border-left-width: 1px; padding: 5px;">
58({* unknown *})<a href="({t_url m=pc a=page_h_album_cover_edit})&amp;target_c_album_id=({$album_info.c_album_id})">アルバムを編集</a>
59({* unknown *}) | <a href="({t_url m=pc a=page_h_album_image_add})&amp;target_c_album_id=({$album_info.c_album_id})">写真を追加</a>
60({* unknown *})</td>
61({* unknown *})</tr>
62({* unknown *})({/if})
63({* unknown *})</table>
64({* unknown *})</div></div>
65
66({if $target_album_image})
67
68({* unknown *})<div class="dparts"><div class="parts">
69({* unknown *})<div class="partsHeading"><h3>写真一覧</h3></div>
70({* unknown *})
71({* unknown *})({capture name=pager})({strip})
72({* unknown *})<div class="pagerRelative">
73({* unknown *})({if $is_prev})<p class="prev"><a href="({t_url m=pc a=page_fh_album})&amp;page=({$page-1})&amp;target_c_album_id=({$target_c_album_id})">前を表示</a></p>({/if})
74({* unknown *})<p class="number">
75({* unknown *})({$total_num})件中 ({$page*$page_size-$page_size+1})件~
76({* unknown *})({if $page_size > $album_list_count})
77({* unknown *})({$album_list_count+$page*$page_size-$page_size})
78({* unknown *})({else})
79({* unknown *})({$page*$page_size})
80({* unknown *})({/if})
81({* unknown *})件を表示
82({* unknown *})</p>
83({* unknown *})({if $is_next})<p class="next"><a href="({t_url m=pc a=page_fh_album})&amp;page=({$page+1})&amp;target_c_album_id=({$target_c_album_id})">次を表示</a></p>({/if})
84({* unknown *})</div>
85({* unknown *})({/strip})({/capture})
86({* unknown *})({$smarty.capture.pager|smarty:nodefaults})
87({* unknown *})
88({* unknown *})<table>
89({* unknown *})({foreach from=$new_album_list key=key item=album_item})
90({* unknown *})<tr>
91({* unknown *})<td style="width: 50%; padding: 5px; text-align: center;">
92({* unknown *})({if $album_item.dual.image_filename})
93({* unknown *})<a href="({t_url m=pc a=page_fh_album_image_show})&amp;target_c_album_image_id=({$album_item.dual.c_album_image_id})&amp;target_c_member_id=({$album_item.dual.c_member_id})&amp;target_c_album_id=({$album_item.dual.c_album_id})"><img src="({t_img_url filename=$album_item.dual.image_filename w=180 h=180})" alt="" /></a><br />
94({* unknown *})({if $type == "h"})<a href="({t_url m=pc a=page_h_album_image_edit})&amp;target_c_album_id=({$album_item.dual.c_album_id})&amp;target_c_album_image_id=({$album_item.dual.c_album_image_id})">写真を編集</a>({/if})
95({* unknown *})<p>({$album_item.dual.image_description})</p>
96({* unknown *})({/if})
97({* unknown *})</td>
98({* unknown *})<td style="width: 50%; padding: 5px; text-align: center;">
99({* unknown *})({if $album_item.singular.image_filename})
100({* unknown *})<a href="({t_url m=pc a=page_fh_album_image_show})&amp;target_c_album_image_id=({$album_item.singular.c_album_image_id})&amp;target_c_member_id=({$album_item.singular.c_member_id})&amp;target_c_album_id=({$album_item.singular.c_album_id})"><img src="({t_img_url filename=$album_item.singular.image_filename w=180 h=180})" alt="" /></a><br />
101({* unknown *})({if $type == "h"})<a href="({t_url m=pc a=page_h_album_image_edit})&amp;target_c_album_id=({$album_item.singular.c_album_id})&amp;target_c_album_image_id=({$album_item.singular.c_album_image_id})">写真を編集</a>({/if})
102({* unknown *})<p>({$album_item.singular.image_description})</p>
103({* unknown *})({/if})
104({* unknown *})</td>
105({* unknown *})</tr>
106({* unknown *})({/foreach})
107({* unknown *})</table>
108({* unknown *})
109({* unknown *})({$smarty.capture.pager|smarty:nodefaults})
110({* unknown *})
111({* unknown *})</div></div>
112({/if})
113
114</div><!-- Center -->
115</div><!-- LayoutB -->
Note: See TracBrowser for help on using the repository browser.