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

source: OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/templates/fh_diary.tpl @ 7218

Last change on this file since 7218 was 7218, checked in by ebihara, 11 years ago

#2318:携帯版で日記コメントが1000番以上に達した場合に日記コメントの投稿ができないようにした

File size: 8.4 KB
Line 
1({$inc_ktai_header|smarty:nodefaults})
2
3<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
4<font color="#({$ktai_color_config.font_05})"><a name="top">({$target_diary_writer.nickname})さんの({$WORD_DIARY_HALF})</a></font><br>
5</td></tr>
6({if $c_siteadmin})
7<tr><td align="left">
8({$c_siteadmin|smarty:nodefaults})<br>
9</td></tr>
10({/if})
11<tr><td bgcolor="#({$ktai_color_config.bg_03})" align="center">
12<font color="#({$ktai_color_config.color_24})">({$target_c_diary.subject})</font><br>
13</td></tr></table>
14<a href="#({if $c_diary_comment})dc1({else})({if $is_prev || $is_next})pager({else})write({/if})({/if})"><font color="#({$ktai_color_config.font_08})">▼</font></a>({$target_c_diary.r_datetime|date_format:"%y/%m/%d %H:%M"})({if $target_diary_writer.c_member_id==$u}) [<a href="({t_url m=ktai a=page_h_diary_edit})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;({$tail})">編集</a>][<a href="({t_url m=ktai a=page_fh_diary_delete_c_diary_confirm})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;({$tail})">削除</a>]({/if})<br>
15({$target_c_diary.body|t_url2a_ktai|nl2br|t_decoration_ktai})
16<br>
17({if $target_c_diary.image_filename_1})
18写真1を見る:[<a href="({t_img_url filename=$target_c_diary.image_filename_1 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$target_c_diary.image_filename_1 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
19({/if})
20({if $target_c_diary.image_filename_2})
21写真2を見る:[<a href="({t_img_url filename=$target_c_diary.image_filename_2 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$target_c_diary.image_filename_2 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
22({/if})
23({if $target_c_diary.image_filename_3})
24写真3を見る:[<a href="({t_img_url filename=$target_c_diary.image_filename_3 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$target_c_diary.image_filename_3 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
25({/if})
26
27(({if $target_c_diary.public_flag == "public"})全員に公開({elseif $target_c_diary.public_flag == "friend"})({$WORD_MY_FRIEND_HALF})まで公開({elseif $target_c_diary.public_flag == "private"})公開しない({/if}))
28
29({if $c_diary_id_prev || $c_diary_id_next})
30<hr color="#({$ktai_color_config.border_01})">
31<center>
32({if $c_diary_id_prev})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$c_diary_id_prev})&amp;({$tail})">前の({$WORD_DIARY_HALF})</a>({/if})
33({if $c_diary_id_prev && $c_diary_id_next})&nbsp;({/if})
34({if $c_diary_id_next})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$c_diary_id_next})&amp;({$tail})">次の({$WORD_DIARY_HALF})</a>({/if})
35</center>
36({/if})
37
38({if $c_diary_comment})
39<hr color="#({$ktai_color_config.border_01})">
40<center>
41コメント(全({$total_num})件)<br>
42({$pager.start})番~({$pager.end})番を表示
43</center>
44
45<table width="100%">
46({foreach from=$c_diary_comment name=c_diary_comment item=c_diary_comment_})
47<tr><td bgcolor="#({$ktai_color_config.bg_07})">
48<hr color="#({$ktai_color_config.border_02})">
49</td></tr>
50<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
51<a href="#({if $smarty.foreach.c_diary_comment.last})({if $is_prev || $is_next})pager({else})write({/if})({else})dc({$smarty.foreach.c_diary_comment.iteration+1})({/if})" name="dc({$smarty.foreach.c_diary_comment.iteration})"><font color="#({$ktai_color_config.font_08})">▼</font></a><font color="#({$ktai_color_config.font_06})">[({$c_diary_comment_.number|string_format:"%03d"})]</font> ({$c_diary_comment_.r_datetime|date_format:"%m/%d %H:%M"})
52({if $c_diary_comment_.c_member_id == $u || $target_diary_writer.c_member_id==$u})
53[<a href="({t_url m=ktai a=page_fh_diary_delete_c_diary_comment_confirm})&amp;target_c_diary_comment_id=({$c_diary_comment_.c_diary_comment_id})&amp;({$tail})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})">削除</a>]
54({/if})<br>
55({if $c_diary_comment_.nickname})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$c_diary_comment_.c_member_id})&amp;({$tail})">({$c_diary_comment_.nickname})</a>({/if})
56<br>
57({$c_diary_comment_.body|t_url2a_ktai|nl2br})
58<br>
59({if $c_diary_comment_.image_filename_1})
60写真1を見る:[<a href="({t_img_url filename=$c_diary_comment_.image_filename_1 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_diary_comment_.image_filename_1 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
61({/if})
62({if $c_diary_comment_.image_filename_2})
63写真2を見る:[<a href="({t_img_url filename=$c_diary_comment_.image_filename_2 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_diary_comment_.image_filename_2 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
64({/if})
65({if $c_diary_comment_.image_filename_3})
66写真3を見る:[<a href="({t_img_url filename=$c_diary_comment_.image_filename_3 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_diary_comment_.image_filename_3 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
67({/if})
68</td></tr>
69({/foreach})
70</table>
71
72({if $pager.page_prev || $pager.page_next})
73<center>
74<a name="pager"></a>
75({if $pager.page_prev})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;page=({$pager.page_prev})({if $requests.order == 'asc'})&amp;order=asc({/if})&amp;({$tail})" accesskey="4">[i:128]前を表示</a>({/if})
76({if $pager.page_prev && $pager.page_next})&nbsp;({/if})
77({if $pager.page_next})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;page=({$pager.page_next})({if $requests.order == 'asc'})&amp;order=asc({/if})&amp;({$tail})" accesskey="6">[i:130]次を表示</a>({/if})
78<br>
79({if $total_page_num > 1})
80({if $requests.order == 'asc'})
81<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;({$tail})">最新を表示</a>
82({else})
83<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;order=asc&amp;({$tail})">最初から表示</a>
84({/if})
85({/if})
86</center>
87({/if})
88({/if})
89({if $is_writable_comment})
90<hr color="#({$ktai_color_config.border_01})">
91<a name="write"></a>
92<font color="#({$ktai_color_config.font_06})">コメントを書く:</font>
93({t_form m=ktai a=do_fh_diary_insert_c_diary_comment})
94<input type="hidden" name="ksid" value="({$PHPSESSID})">
95<input type="hidden" name="target_c_diary_id" value="({$target_c_diary.c_diary_id})">
96({if $msg})<font color="#({$ktai_color_config.font_09})">({$msg})</font><br>({/if})
97<textarea name="body" rows="3"></textarea><br>
98<input type="submit" value="書き込む">
99</form>
100<br>
101[i:110]<a href="mailto:({$mail_address})">メール投稿</a><br>
102写真も添付できます。<br>
103<font color="#({$ktai_color_config.font_09})">※メール投稿では絵文字が反映されません</font>
104({else})
105<hr color="#({$ktai_color_config.border_01})">
106({if $msg})<font color="#({$ktai_color_config.font_09})">({$msg})</font><br>
107({else})コメントが1000番に達したので、この({$WORD_DIARY_HALF})にはコメントできません。({/if})
108
109({/if})
110
111<hr color="#({$ktai_color_config.border_01})">
112<a name="menu"></a>
113[i:190]<a href="({t_url m=ktai a=page_fh_diary_list})&amp;target_c_member_id=({$target_diary_writer.c_member_id})&amp;({$tail})">({$target_diary_writer.nickname})さんの({$WORD_DIARY_HALF})リスト</a><br>
114({if $INC_NAVI_type=="f"})
115<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$target_diary_writer.c_member_id})&amp;({$tail})">({$target_diary_writer.nickname})さんのトップ</a><br>
116({/if})
117({if $target_diary_writer.c_member_id==$u})
118<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
119<font color="#({$ktai_color_config.font_05})">({$WORD_DIARY_HALF})検索</font><br>
120</td></tr>
121</table>
122({t_form _method=get m=ktai a=page_fh_diary_list})
123<input type="hidden" name="ksid" value="({$PHPSESSID})">
124<font color="#({$ktai_color_config.font_06})">キーワード:</font><br>
125<input type="text" name="keyword" value="({$keyword})"><br>
126<center><input type="submit" value="検索する"></center>
127</form>
128({/if})
129
130({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.