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

source: OpenPNE/branches/ebihara/prj_pnebiz/webapp_biz/modules/biz/templates/inc_biz_todo.tpl @ 557

Last change on this file since 557 was 557, checked in by ebihara, 14 years ago

create prj_pnebiz

File size: 5.9 KB
Line 
1<img src="./skin/dummy.gif" class="v_spacer_m">
2
3<!-- ********************************** -->
4<!-- ******ここから:Todo一覧****** -->
5<table border="0" cellspacing="0" cellpadding="0" style="width:240px;">
6<tr>
7<td style="width:10px;"><img src="./skin/dummy.gif" style="width:10px;height:10px;display:block;"></td>
8<td style="width:230px;" align="left">
9
10({t_form m=biz a=do_`$cmd`_home_insert_biz_todo})
11<input type="hidden" name="sessid" value="({$PHPSESSID})">
12<input type="hidden" name="target_id" value="({$target_id})">
13<input type="hidden" name="nickname" value="({$nickname})">
14
15({*ここから:header*})
16<table border="0" cellspacing="0" cellpadding="0" style="width:228px" class="border_07">
17<tr>
18<td style="width:25px;" class="bg_06"><img src="./skin/icon_title_1.gif" style="width:25px;height:19px;" class="dummy"></td>
19<td style="width:205px;" class="bg_06"><span class="b_b c_00">Todo一覧</span></td>
20</tr>
21</table>
22({*ここまで:header*})
23({*ここから:body*})
24<!-- ここから:主内容 -->
25<table border="0" cellspacing="0" cellpadding="0" style="width:228px">
26({****})
27<tr>
28<td class="bg_02 border_01 padding_ss" style="width:228px;border-top:none;border-bottom:none;" align="center">
29
30<textarea name="todo" value="" style="width:100%;height:3em;"></textarea>
31
32</td>
33</tr>
34({****})
35<tr>
36<td class="bg_02 border_01 padding_ss" style="border-top:none;" align="right" valign="top">
37
38だれかがTodo<input type="checkbox" name="is_all" value="1" class="no_bg">&nbsp;
39
40<input type="submit" class="submit" value="追加">&nbsp;
41
42</td>
43</tr>
44({****})
45</table>
46({if $is_todo_list})
47<table border="0" cellspacing="0" cellpadding="0" style="width:228px">
48({****})
49<tr>
50<td class="bg_02 border_01 padding_ss" style="width:228px;" style="border-top:none;">Todoはありません。</td>
51</tr>
52({****})
53</table>
54({else})
55
56<table border="0" cellspacing="0" cellpadding="0" style="width:228px;">
57({foreach key=i item=value from=$todolist})
58({if $value.memo})
59<tr>
60<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:35px;border-top:none;border-right:none;" valign="top">
61
62<a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})">
63<img src="./skin/biz/checkbox_nochecked_({if $value.c_member_id == 0})share_({/if})2.gif" style="width:34px;height:34px;display:block;"></a>
64
65</td>
66<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if}) padding_ss" style="width:181px;border-top:none;border-left:none;border-right:none;padding-left:0;" valign="top">
67
68({$value.memo|nl2br|t_url2a})
69({if ($value.writer_id != $target_id) || ($value.c_member_id == 0)})
70(<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$value.writer_id})">({$value.writer_name})</a>)
71({/if})
72
73</td>
74<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:20px;border-top:none;border-left:none;" valign="top">
75
76({**ここから:機能ボタン**})
77<table border="0" cellspacing="0" cellpadding="0" style="width:16px;height:33px;">
78<tr>
79<td style="width:16px;height:16px;" valign="bottom" align="right">
80
81<a href="({t_url m=biz a=page_fh_home_edit_biz_todo})&amp;id=({$value.biz_todo_id})&amp;target_id=({$target_id})"><img src="./skin/biz/edit_2.gif" style="width:14px;height:14px;display:block;"></a>
82
83</td>
84</tr>
85<tr>
86<td style="height:2px;"><img src="./skin/dummy.gif" style="width:16px;height:2px;"></td>
87</tr>
88<tr>
89<td style="height:16px;" valign="top" align="right">
90
91<a href="({t_url m=biz a=do_`$cmd`_home_delete_biz_todo})&amp;sessid=({$PHPSESSID})&amp;delid=({$value.biz_todo_id})&amp;target_id=({$target_id})"><img src="./skin/biz/delete_2.gif" style="width:14px;height:14px;display:block;"></a>
92
93</td>
94</tr>
95</table>
96({**ここまで:機能ボタン**})
97
98</td>
99</tr>
100({****})
101({/if})
102({/foreach})
103
104
105({foreach key=i item=value from=$checkedlist})
106({if $value.memo})
107<tr>
108<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:35px;border-top:none;border-right:none;" valign="top">
109
110<a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})">
111<img src="./skin/biz/checkbox_checked_({if !$value.member_id == 0})share_({/if})2.gif" style="width:34px;height:34px;display:block;"></a>
112
113</td>
114<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if}) padding_ss" style="width:181px;border-top:none;border-left:none;border-right:none;padding-left:0;color:#999999;" valign="top">
115
116({$value.memo})
117({if ($value.writer_id != $target_id) || ($value.c_member_id == 0)})
118(<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$value.writer_id})">({$value.writer_name})</a>)
119({/if})
120
121</td>
122<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:16px;border-top:none;border-left:none;" valign="top">
123
124({**ここから:機能ボタン**})
125<table border="0" cellspacing="0" cellpadding="0" style="width:16px;height:33px;">
126<tr>
127<td style="width:16px;height:16px;" valign="bottom" align="right">
128
129<a href="({t_url m=biz a=page_fh_home_edit_biz_todo})&amp;id=({$value.biz_todo_id})"><img src="./skin/biz/edit_2.gif" style="width:14px;height:14px;display:block;"></a>
130
131</td>
132</tr>
133<tr>
134<td style="height:2px;"><img src="./skin/dummy.gif" style="width:16px;height:2px;"></td>
135</tr>
136<tr>
137<td style="height:16px;" valign="top" align="right">
138
139<a href="({t_url m=biz a=do_`$cmd`_home_delete_biz_todo})&amp;sessid=({$PHPSESSID})&amp;delid=({$value.biz_todo_id})"><img src="./skin/biz/delete_2.gif" style="width:14px;height:14px;display:block;"></a>
140
141</td>
142</tr>
143</table>
144({**ここまで:機能ボタン**})
145
146</td>
147</tr>
148({****})
149({/if})
150({/foreach})
151
152
153({/if})
154</table>
155</form>
156
157</td>
158</tr>
159</table>
160
161<!-- ******ここまで:Todo一覧****** -->
162<!-- ********************************** -->
Note: See TracBrowser for help on using the repository browser.