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

source: OpenPNE/branches/2.8.x/webapp_biz/modules/biz/templates/inc_biz_schedule_week.tpl @ 3256

Last change on this file since 3256 was 3256, checked in by ToshihiroK, 16 years ago

#889:【v2.8RC2】プロフィール変更ボタンのリンク間違い
2.8 修正しました

File size: 15.5 KB
Line 
1({if $head})<!-- HEADER_BEGIN -->
2<img src="./skin/dummy.gif" class="v_spacer_m">
3
4<!-- ***************************** -->
5<!-- ******ここから:週間予定****** -->
6<table border="0" cellspacing="0" cellpadding="0" style="width:720px;">
7<tr>
8<td style="width:5px;"><img src="./skin/dummy.gif" style="width:5px;height:7px;" class="dummy"></td>
9<td style="width:713px;" class="bg_02">
10
11<table border="0" cellspacing="0" cellpadding="0" style="width:713px;margin:0px;" class="border_07">
12<tr>
13<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
14<td style="width:699px;" class="bg_00"><img src="./skin/dummy.gif" style="width:699px;height:7px;" class="dummy"></td>
15<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
16</tr>
17<tr>
18<td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
19<td class="bg_02">
20<!-- ここから:主内容 -->
21
22({if $msg})
23<div class="border_01 bg_02">
24
25<div class="padding_s" align="left">
26<span class="caution">({$msg})</span>
27</div>
28
29</div>
30({/if})
31
32({if $cmd == "g"})
33({t_form m=biz a=do_g_home_add_biz_schedule})
34<input type="hidden" name="sessid" value="({$PHPSESSID})">
35<input type="hidden" name="target_id" value="({$target_id})">
36
37<table border="0" cellspacing="0" cellpadding="0" style="width:699px;">
38<tr>
39<td class="border_01 bg_02" align="right" style="width:130px;border-right:none;"><img src="./skin/dummy.gif" style="width:129px;height:10px;" class="dummy"></td>
40<td class="border_01 bg_02 padding_ss" align="left" style="width:100px;border-right:none;">
41
42<a href="({t_url m=biz a=page_fh_biz_schedule_add})&amp;target_biz_group_id=({$target_id})">新規予定登録</a>
43
44</td>
45<td class="border_01 bg_02 padding_ss" style="border-left:none;" align="right">
46
47予定:
48<input type="text" class="text" name="title" value="" size="30">
49<select name="start_date">
50({foreach from=$daylist item=item})
51<option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
52({/foreach})
53</select>
54<input type="submit" class="submit" value="追加">
55
56&nbsp;
57<a href="({t_url m=biz a=page_`$cmd`_home})&amp;w=({$w-1})&amp;target_c_commu_id=({$target_id})" title="前の週"><</a>
58<a href="({t_url m=biz a=page_`$cmd`_home})&amp;target_c_commu_id=({$target_id})" title="今週">■</a>
59<a href="({t_url m=biz a=page_`$cmd`_home})&amp;w=({$w+1})&amp;target_c_commu_id=({$target_id})" title="次の週">></a>
60&nbsp;
61
62</td>
63</tr>
64</table>
65</form>
66
67<div>
68({elseif $cmd == "s_list"})
69
70({t_form m=biz a=do_s_add_schedule})
71<input type="hidden" name="sessid" value="({$PHPSESSID})">
72<input type="hidden" name="shisetsu_id" value="({$target_id})">
73
74<div class="border_01">
75<table border="0" cellspacing="0" cellpadding="0" style="width:697px;">
76<tr>
77<td style="width:36px;" class="bg_06"><img src="./skin/content_header_1.gif" style="width:30px;height:20px;" class="dummy"></td>
78<td style="width:666px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">({$list.name})</span></td>
79</tr>
80({if $list.info})
81<tr>
82<td class="border_01 bg_02" align="left" style="width:10px;border-right:none;"><img src="./skin/dummy.gif" style="width:9px;height:10px;" class="dummy"></td>
83<td class="border_01 bg_02 padding_ss" style="border-left:none;" align="left">
84({$list.info})
85</td>
86</tr>
87({/if})
88</table>
89</div>
90
91<table border="0" cellspacing="0" cellpadding="0" style="width:699px;">
92<tr>
93<td class="border_01 bg_02" align="right" style="width:130px;border-right:none;"><img src="./skin/dummy.gif" style="width:129px;height:10px;" class="dummy"></td>
94<td class="border_01 bg_02 padding_ss" style="border-left:none;" align="right">
95
96施設予約を入れる:
97
98<select name="start_date">
99({foreach from=$calendar item=item})
100<option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
101({/foreach})
102</select>
103
104<select name='start_time'>
105        <option value=''>現在時
106        ({section name=i loop=$hours})
107                <option value="({if $hours[i] < 10 })0({/if})({$hours[i]})">({$hours[i]})時
108        ({/section})
109</select>
110から
111<select name='finish_time'>
112        ({section name=i loop=$mins})
113                <option value="({$mins[i]})">({$mins[i]})分後
114        ({/section})
115</select>
116まで
117<input type="submit" class="submit" value="追加">
118
119&nbsp;
120<a href="({t_url m=biz a=page_s_list})&amp;w=({$w-1})" title="前の週"><</a>
121<a href="({t_url m=biz a=page_s_list})" title="今週">■</a>
122<a href="({t_url m=biz a=page_s_list})&amp;w=({$w+1})" title="次の週">></a>
123&nbsp;
124</td>
125</tr>
126</table>
127</form>
128
129({else})
130
131<div class="border_01" style="border-left:none;border-right:none;border-bottom:none;">
132({/if})
133<table border="0" cellspacing="0" cellpadding="0" style="width:699px;">
134({/if})  <!-- END HEAD -->
135
136
137({if $value})  <!-- BEGIN VALUE -->
138({*****})
139<tr>
140<td class="bg_05 border_01" style="width:131px;border-top:none;border-right:none;" align="center" valign="top"><img src="./skin/dummy.gif" style="width:130px;height:10px;" class="dummy"></td>
141({foreach from=$calendar item=item name=calendar})
142<td class="({if $item.now})bg_09({else})bg_05({/if}) padding_ss border_01({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if})" align="center">
143
144({if $item.now})<span class="b_b">({/if})
145
146({if $smarty.foreach.calendar.first || $item.day == 1})
147({$item.month_disp})/({/if})({$item.day_disp})(({$item.dayofweek}))
148
149({if $item.now})</span>({/if})
150
151</td>
152({/foreach})
153</tr>
154({*****})
155<tr>
156<td class="bg_02 border_01" style="width:131px;border-top:none;border-right:none;" align="center" valign="top" rowspan="2">
157<img src="./skin/dummy.gif" style="width:130px;height:10px;" class="dummy">
158
159<a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$member_info.c_member_id})">
160({if $cmd == "s_list"})
161<img src="({t_img_url filename=$list.image_filename w=120 h=120 noimg=no_image})" class="pict" alt="写真" style="margin:2px"></a>
162({else})
163<img src="({t_img_url filename=$member_info.image_filename w=120 h=120 noimg=no_image})" class="pict" alt="写真" style="margin:2px"></a>
164({/if})
165<img src="./skin/dummy.gif" style="width:130px;height:10px;" class="dummy">
166
167({if $cmd == "s_list"})
168({if !$is_closed_shisetsu})
169<input type="button" onClick="location.href='({t_url m=biz a=page_s_edit_shisetsu})&id=({$target_id})'" value="編 集" style="width:112px;" class="submit">
170
171<img src="./skin/dummy.gif" style="width:130px;height:3px;" class="dummy">
172
173<input type="button" onClick="location.href='({t_url m=biz a=page_s_delete_shisetsu})&target_id=({$target_id})&sessid=({$PHPSESSID})'" value="削 除" style="width:112px;" class="submit">
174({/if})
175<img src="./skin/dummy.gif" class="v_spacer_s">
176
177<img src="./skin/dummy.gif" class="v_spacer_s">
178
179({else})
180
181({if $cmd != "h"})
182<a href="({t_url m=pc a=page_f_home})&target_c_member_id=({$member_info.c_member_id})" class="border_01 bg_02" style="padding:4px 0;display:block;border-left:none;border-right:none;">({$member_info.nickname})</a>
183最終ログインは<br>({$member_info.last_login})<br>
184({else})
185<div class="border_01 bg_02" style="padding:4px 0;display:block;border-left:none;border-right:none;">
186
187({if ($smarty.const.OPENPNE_DISP_RANK && $rank) || ($smarty.const.OPENPNE_DISP_POINT && $point)})
188({if $smarty.const.OPENPNE_DISP_RANK && $rank})
189<img src="({t_img_url filename=$rank.image_filename})" class="pict" alt="({$rank.name})" style="margin:2px"><br>
190({/if})
191({if $smarty.const.OPENPNE_DISP_POINT && $point})
192({$point}) Point<br>
193({/if})
194<img src="./skin/dummy.gif" class="v_spacer_m">
195({/if})
196
197({$stateform|smarty:nodefaults})
198</div>
199({/if})
200
201({/if})
202<img src="./skin/dummy.gif" class="v_spacer_m">
203
204({if $cmd == "h"})
205<input type="button" onClick="location.href='({t_url m=pc a=page_h_config_image})'" value="写真を編集" style="width:112px;" class="submit">
206
207<img src="./skin/dummy.gif" class="v_spacer_s">
208
209<input type="button" onClick="location.href='({t_url m=pc a=page_h_config_prof})'" value="プロフィール変更" style="width:112px;" class="submit">
210
211<img src="./skin/dummy.gif" class="v_spacer_s">
212<img src="./skin/dummy.gif" class="v_spacer_s">
213<img src="./skin/dummy.gif" class="v_spacer_s">
214({/if})
215
216</td>
217({foreach from=$calendar item=item name=calendar})
218<td class="({if $item.now})bg_09({else})bg_02({/if}) border_01({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if}) border-bottom:none;" align="left" valign="top">
219
220({* 祝日 *})
221<div class="padding_s">
222({foreach from=$item.holiday item=item_holiday})
223({$item_holiday})<br>
224({/foreach})
225</div>
226
227({* スケジュール(時間有) *})
228({foreach from=$item.schedule item=item_schedule name=schedule})
229        ({if !$item_schedule.begin_time})  <!-- 時間指定なしの予定 -->
230        ({elseif $cmd == 's_list'})
231({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
232({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
233({if $item_schedule.finish_time})
234({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
235({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
236({/if})
237<a href="({t_url m=biz a=page_s_view_schedule})&amp;id=({$item_schedule.biz_shisetsu_schedule_id})">
238({ext_include file="inc_biz_schedule_week_time.tpl"})
239<div class="padding_s" style="padding-top:0;">
240({$item_schedule.c_member_name})
241</div></a>
242        ({elseif $item_schedule.begin_date != $item_schedule.finish_date})  <!--バナー予定 -->
243({assign var="begin_time_H" value=$item_schedule.begin_date|date_format:"%H"})
244({assign var="begin_time_M" value=$item_schedule.begin_date|date_format:"%M"})
245({if $item_schedule.finish_time})
246({assign var="finish_time_H" value=$item_schedule.finish_date|date_format:"%H"})
247({assign var="finish_time_M" value=$item_schedule.finish_date|date_format:"%M"})
248({/if})
249({ext_include file="inc_biz_schedule_week_time.tpl"})
250<div class="padding_s" style="padding-top:0;">
251<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
252 </div>
253        ({else})
254({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
255({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
256({if $item_schedule.finish_time})
257({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
258({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
259({/if})
260({ext_include file="inc_biz_schedule_week_time.tpl"})
261<div class="padding_s" style="padding-top:0;">
262<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
263</div>
264        ({/if})
265({/foreach})
266
267<img src="./skin/dummy.gif" style="width:80px;height:10px;" class="dummy">
268
269</td>
270({/foreach})
271</tr>
272({*****})
273
274<tr>
275
276({foreach from=$calendar item=item name=calendar})
277<td class="({if $item.now})bg_09({else})bg_02({/if}) border_01({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if})" align="left" valign="top">
278
279({if $cmd == 'h'})
280({* 誕生日 *})
281({foreach from=$item.birth item=item_birth})
282<div class="padding_s"><img src="./skin/icon_birthday.gif" class="icon"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item_birth.c_member_id})">({$item_birth.nickname})さん</a></div>
283({/foreach})
284
285({* イベント *})
286({foreach from=$item.event item=item_event})
287<div class="padding_s"><img src="./skin/icon_event_({if $item_event.is_join})R({else})B({/if}).gif" class="icon"><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$item_event.c_commu_topic_id})">({$item_event.name|t_truncate:20:".."})</a></div>
288({/foreach})
289
290({else})
291&nbsp;
292({/if})
293
294({* Todo *})
295({foreach from=$item.todo item=item_todo})
296<div class="padding_s">
297<img src="./skin/biz/todo_icon.gif"  class="icon">
298<a href="({t_url m=biz a=page_fh_home_edit_biz_todo})&amp;id=({$item_todo.biz_todo_id})&target_id=({$member_info.c_member_id})">({$item_todo.memo|t_truncate:20:".."})</a></div>
299({/foreach})
300
301({* スケジュール(時間無) *})
302({if $item.schedule})
303({foreach from=$item.schedule item=item_schedule name=schedule})
304        ({if !$item_schedule.begin_time})  <!-- 時間指定なしの予定 -->
305<div class="padding_s">
306({*<img src="./skin/icon_pen.gif" class="icon">*})<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
307</div>
308        ({else})
309&nbsp;
310        ({/if})
311({/foreach})
312({else})
313&nbsp;
314({/if})
315
316</td>
317({/foreach})
318
319</tr>
320({/if})  <!-- END VALUE -->
321
322({if $foot})  <!-- BEGIN FOOT -->
323<tr>
324<td class="bg_02 border_01" style="border-top:none;border-right:none;" align="center" valign="top"><img src="./skin/dummy.gif" style="width:130px;height:10px;" class="dummy"></td>
325<td class="bg_02 border_01" style="border-top:none;" align="right" valign="top" colspan="7">
326
327<table border="0" cellspacing="0" cellpadding="0" style="width:100%;">
328<tr>
329<td class="({if $cmd != "g"})border_01 ({/if})padding_ss" align="left" valign="middle" style="border-left:none;border-top:none;border-bottom:none;border-right:none;">
330
331({if ($cmd == "h") || ($cmd == "f")})
332<a href="({t_url m=biz a=page_fh_biz_schedule_calendar})({if $cmd == 'f'})&amp;target_id=({$member_info.c_member_id})({/if})">月間カレンダー</a>
333({else})
334&nbsp;
335({/if})
336
337</td>
338<td class="padding_ss" align="right" valign="middle">
339
340({if ($cmd == "h") || ($cmd == "f")})
341({t_form m=biz a=do_`$cmd`_home_add_biz_schedule})
342<input type="hidden" name="sessid" value="({$PHPSESSID})">
343<input type="hidden" name="target_id" value="({$target_id})">
344予定:
345<input type="text" class="text" name="title" value="" size="30">
346<select name="start_date">
347({foreach from=$daylist item=item})
348<option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
349({/foreach})
350</select>
351<input type="submit" class="submit" value="追加">
352
353&nbsp;
354<a href="({t_url m=pc a=page_`$cmd`_home})&amp;w=({$w-1})({if $target_id})&amp;target_c_member_id=({$target_id})({/if})" title="前の週"><</a>
355<a href="({t_url m=pc a=page_`$cmd`_home})({if $target_id})&amp;target_c_member_id=({$target_id})({/if})" title="今週">■</a>
356<a href="({t_url m=pc a=page_`$cmd`_home})&amp;w=({$w+1})({if $target_id})&amp;target_c_member_id=({$target_id})({/if})" title="次の週">></a>
357&nbsp;
358</form>
359({else})
360
361&nbsp;
362
363({/if})
364
365</td>
366</tr>
367</table>
368
369</td>
370</tr>
371</table>
372</div>
373
374<!-- ここまで:主内容 -->
375</td>
376<td class="bg_00"><img src="./skin/dummy.gif"></td>
377</tr>
378<tr>
379<td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
380<td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
381<td class="bg_00"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
382</tr>
383</table>
384
385</td>
386</tr>
387</table>
388<!-- ******ここまで:週間予定****** -->
389<!-- ***************************** -->
390
391<img src="./skin/dummy.gif" class="v_spacer_m">
392({/if}) <!-- END FOOT -->
Note: See TracBrowser for help on using the repository browser.