OSDN Git Service

This commit was generated by cvs2svn to compensate for changes in r4,
[nucleus-jp/nucleus-jp-ancient.git] / euc / nucleus / libs / include / admin-edit.template
1 <h2><%text(_EDIT_ITEM)%></h2>
2
3 <%init%>
4 <script type="text/javascript" src="javascript/numbercheck.js"></script>
5
6 <form method="post" action="index.php">
7 <div>
8
9 <input type="hidden" name="action" value="itemupdate" />
10 <input name="itemid" value="<%contents(itemid)%>" type="hidden" />
11 <%ticket%>
12
13 <table><tr>
14         <th colspan="2"><%text(_EDIT_ITEM)%></th>
15 </tr><tr>
16         <td><%text(_EDIT_ORIG_AUTHOR)%></td>
17         <td><%contents(author)%></td>
18 </tr><tr>
19         <td><%text(_ADD_TITLE)%></td>
20         <td><input 
21                         <%jsinput(title)%>
22                         tabindex="10" 
23                         size="60" 
24                         maxlength="160" 
25                         value="<%contents(title)%>" />
26         </td>
27 </tr><tr>
28         <td>
29                 <%text(_ADD_BODY)%>
30         </td>
31         <td>
32                 <%jsbuttonbar(media+preview)%>  
33                 <textarea 
34                         <%jsinput(body)%>
35                         tabindex="20"
36                         cols="60"
37                         rows="20"><%contents(body)%></textarea>
38         </td>
39 </tr><tr id="edit" style="display:none;">
40         <td><%text(_ADD_PREVIEW)%></td>
41         <td><b><span id="prevtitle"></span></b><br />
42                 <span id="prevbody"></span><br />
43                 <span id="prevmore"></span><br />
44         </td>
45 </tr><tr>
46
47 <%ifblogsetting(bcomments)%>
48                 <td>
49                         <%text(_ADD_DISABLE_COMMENTS)%>
50                 </td>
51                 <td> 
52                         <input type="radio" name="closed" value="1" <%checkedonval(1,closed)%> tabindex="30" id="closed_yes" /><label for="closed_yes"><%text(_YES)%></label>
53                         <input type="radio" name="closed" value="0" <%checkedonval(0,closed)%> tabindex="30" id="closed_no" /><label for="closed_no"><%text(_NO)%></label>
54                         <br />
55                         <small><%text(_EDIT_COMMENTSNOTE)%></small>     
56                 </td>
57         </tr><tr>                               
58 <%endif%>
59
60         <td><%text(_ADD_CATEGORY)%></td>
61         <td><%categories(40)%></td>
62 </tr><tr>
63         <td><%text(_EDIT_SUBMIT)%></td>
64         <td>
65
66                 <input type="submit" tabindex="60" value="<%text(_EDIT_SUBMIT)%>" onclick="return checkSubmit();" />
67
68 <%ifitemproperty(draft)%>
69                 <br /><br />
70                 <input name="actiontype" value="addnow" type="radio" id="act_now" /><label for="act_now" tabindex="61"><%text(_ADD_ADDNOW)%></label>
71                 <br />
72                 <input name="actiontype" value="addfuture" type="radio" id="act_future" tabindex="61" /><label for="act_future"><%text(_ADD_ADDLATER)%></label> <%helplink(future)%>
73                 <div class="indent">
74                         <%text(_ADD_PLACE_ON)%>
75                         <input id="inputday" name="day" tabindex="71" size="2" value="<%currenttime(mday)%>" />/
76                         <input id="inputmonth" name="month" tabindex="72" size="2" value="<%currenttime(mon)%>" />/
77                         <input id="inputyear" name="year" tabindex="73" size="4" value="<%currenttime(year)%>" />
78                         at
79                         <input id="inputhour" name="hour" tabindex="74" size="2" value="<%currenttime(hours)%>" />:
80                         <input id="inputminutes" name="minutes" tabindex="75" size="2" value="<%currenttime(minutes)%>" />
81                         (dd/mm/yyyy hh:mm)
82                         <%ifblogsetting(ballowpast,0)%>
83                                 <br />
84                                 <%text(_ADD_NOPASTDATES)%>
85                         <%endif%>
86                 </div>
87                 <input name="actiontype" value="adddraft" type="radio" checked='checked' id="act_draft" tabindex="61" /><label for="act_draft"><%text(_EDIT_BACKTODRAFTS)%></label> <%helplink(draft)%>
88                 <br />
89                 <input name="actiontype" value="delete" type="radio" id="act_delete" tabindex="61" /><label for="act_delete"><%text(_BMLET_DELETE)%></label>
90 <%endif%>
91
92 <%ifitemproperty(draft,0)%>
93         <br /><br />
94         <input name="actiontype" value="edit" type="radio" checked="checked" id="act_edit" tabindex="61" /><label for="act_edit"><%text(_BMLET_EDIT)%></label>
95         <%ifblogsetting(ballowpast)%>
96                 <br />
97                 <input name="actiontype" value="changedate" type="radio" id="act_changedate" tabindex="70" /><label for="act_changedate"><%text(_ADD_CHANGEDATE)%></label> <%helplink(changedate)%>
98                         <div class="indent">
99                                 <input id="inputmonth" name="month" tabindex="71" size="2" value="<%itemtime(mon)%>" />·î
100                                 <input id="inputday" name="day" tabindex="72" size="2" value="<%itemtime(mday)%>" />Æü
101                                 <input id="inputyear" name="year" tabindex="73" size="4" value="<%itemtime(year)%>" />ǯ
102                                  
103                                 <input id="inputhour" name="hour" tabindex="74" size="2" value="<%itemtime(hours)%>" />»þ
104                                 <input id="inputminutes" name="minutes" tabindex="75" size="2" value="<%itemtime(minutes)%>" />ʬ
105                                 <br />
106                                 ¥Õ¥©¡¼¥Þ¥Ã¥È¡§(mm)·î(dd)Æü(yyyy)ǯ (hh)»þ(mm)ʬ
107                         </div>
108         <%endif%>       
109         <br />
110         <input name="actiontype" value="delete" type="radio" id="act_delete" tabindex="61" /><label for="act_delete"><%text(_BMLET_DELETE)%></label>
111 <%endif%>
112
113         </td>
114 </tr><tr>
115         <td><%text(_ADD_PLUGIN_EXTRAS)%></td>
116         <td>
117                 <%pluginextras%>
118         </td>   
119 </tr>
120                         <%itemoptions%> 
121 <tr>
122         <th colspan="2"><%text(_ADD_MORE)%></th>
123 </tr>
124 <tr>
125         <td><%text(_ADD_MORE)%>
126                 <br /><%helplink(extended)%>
127         </td>
128         <td>
129                 <%jsbuttonbar(media+preview)%>
130                 <textarea 
131                         <%jsinput(more)%>
132                         tabindex="90" 
133                         cols="60" 
134                         rows="20"><%contents(more)%></textarea>
135         </td>
136 </tr><tr>
137                 <td><%text(_SUBMIT)%></td>
138                 <td>
139                         <input tabindex="60" type="submit" value="<%text(_EDIT_SUBMIT)%>" 
140                                 onclick="return checkSubmit();" />
141                 </td>
142         
143 </tr></table>
144
145 </div>
146 </form>