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

source: OpenPNE/branches/work/ogawa/2059_profile/webapp_biz/modules/ktai_biz/templates/fh_calendar_week.tpl @ 6425

Last change on this file since 6425 was 6425, checked in by ogawa, 14 years ago

#2059:merged:カレンダーの誕生日アイコンについて、誕生日表示・非表示設定に対応

File size: 3.4 KB
Line 
1({$inc_ktai_header|smarty:nodefaults})
2<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
3<font color="#({$ktai_color_config.font_05})"><a name="top">({$c_member.nickname})さんの週間カレンダー</a></font><br>
4</td></tr>
5<tr><td bgcolor="#({$ktai_color_config.bg_03})" align="center">
6({$y_disp})年({$m_disp})月<br>
7</td></tr></table>
8[i:76]<a href="({t_url m=ktai_biz a=page_fh_biz_schedule_add})&amp;target_id=({$c_member.c_member_id})&amp;({$tail})">予定登録</a><br>
9<hr color="#({$ktai_color_config.border_01})">
10({if $msg})
11<font color="#({$ktai_color_config.font_09})">※({$msg})</font><br>
12({/if})
13({*BEGIN:container*})
14({if $calendar})
15<table width="100%">
16<tr><td bgcolor="#({$ktai_color_config.bg_07})">
17<hr color="#({$ktai_color_config.border_02})">
18</td></tr>
19({foreach from=$calendar item=item name=calendar})
20<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
21({if $item.now})
22<font color="#({$ktai_color_config.bg_05})">■</font>
23({/if})
24({if $item.day})
25({if $item.now})
26({$item.day})
27(({$item.dayofweek}))
28({elseif $item.dayofweek == "土"})
29<font color="#0000ff">({$item.day})
30(({$item.dayofweek}))</font>
31({elseif $item.dayofweek == "日"})
32<font color="#ff0000">({$item.day})
33(({$item.dayofweek}))</font>
34({else})
35({$item.day})
36(({$item.dayofweek}))
37({/if})
38<br>
39({* イベント *})
40({foreach from=$item.event item=item_event})
41[i:155]<a href="({t_url m=ktai a=page_c_bbs})&amp;target_c_commu_topic_id=({$item_event.c_commu_topic_id})&amp;({$tail})">
42({$item_event.name|truncate:28:"-":true})</a><br>
43({/foreach})
44({* 誕生日 *})
45({foreach from=$item.birth item=item_birth})
46({if (($item_birth.public_flag_birth_month_day != "private" || $c_member.c_member_id == $item_birth.c_member_id) && $is_h) || (($item_birth.public_flag_birth_month_day == "public" || $item_birth.public_flag_birth_month_day != "private" && $c_member.c_member_id == $item_birth.c_member_id ) && $is_f)})
47[i:72]<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$item_birth.c_member_id})&amp;({$tail})">({$item_birth.nickname|truncate:28:"-":true})さん</a><br>
48({/if})
49({/foreach})
50
51({* スケジュール *})
52({foreach from=$item.schedule item=item_schedule})
53[i:176]<a href="({t_url m=ktai_biz a=page_fh_biz_schedule_view})&amp;target_id=({$c_member.c_member_id})&amp;id=({$item_schedule.biz_schedule_id})&amp;({$tail})">
54({strip})
55({if $item_schedule.begin_time})
56({$item_schedule.begin_time|date_format:"%H:%M"})
57({/if})
58({if $item_schedule.begin_time || $item_schedule.finish_time})
59-
60({/if})
61({if $item_schedule.finish_time})
62({$item_schedule.finish_time|date_format:"%H:%M"})
63({/if})
64({/strip})
65({$item_schedule.title|truncate:14:"-":true})</a>
66<br>
67({/foreach})
68({else})
69({/if})
70</td></tr>
71<tr><td bgcolor="#({$ktai_color_config.bg_07})">
72<hr color="#({$ktai_color_config.border_02})">
73</td></tr>
74({/foreach})
75</table>
76({/if})
77<center>
78<a href="({t_url m=ktai_biz a=page_fh_calendar_week})&amp;target_id=({$c_member.c_member_id})&amp;w=({$w-1})&amp;({$tail})" accesskey="4">[i:128]前の週</a> 
79<a href="({t_url m=ktai_biz a=page_fh_calendar_week})&amp;target_id=({$c_member.c_member_id})&amp;({$tail})" accesskey="5">[i:129]今週</a> 
80<a href="({t_url m=ktai_biz a=page_fh_calendar_week})&amp;target_id=({$c_member.c_member_id})&amp;w=({$w+1})&amp;({$tail})" accesskey="6">[i:130]次の週</a><br>
81</center>
82<br>
83({*END:container*})
84
85({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.