OSDN Git Service

96c6e10970acb43113b4af1a516570711ede8b4d
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / nucleus / libs / include / admin-add.template
1 <h2><%text(_ADD_ADDTO)%> '<%bloglink%>'</h2>
2
3 <%init%>
4 <script type="text/javascript" src="javascript/numbercheck.js"></script>
5
6 <form method="post" action="index.php" >
7
8 <div>
9
10 <input type="hidden" name="action" value="additem" />
11 <input name="blogid" value="<%blogid%>" type="hidden" />
12 <%ticket%>
13
14 <table>
15         <tr>
16                 <th colspan="2"><%text(_ADD_CREATENEW)%></th>
17         </tr><tr>
18                 <td><%text(_ADD_TITLE)%></td>
19                 <td><input 
20                         <%jsinput(title)%>
21                         tabindex="10"
22                         size="60" 
23                         maxlength="160" 
24                         value="<%contents(title)%>"
25                         /></td>
26         </tr><tr>
27                 <td>
28                         <%text(_ADD_BODY)%> <%helplink(additem)%>
29                 </td>
30                 <td>
31                         <%jsbuttonbar(media+preview)%>
32                         <textarea
33                                 <%jsinput(body)%>
34                                 tabindex="20"
35                                 cols="60"
36                                 rows="20"><%contents(body)%></textarea>
37                 </td>
38         </tr><tr id="edit" style="display:none;">
39                 <td><%text(_ADD_PREVIEW)%></td>
40                 <td><b><span id="prevtitle"></span></b><br />
41                         <span id="prevbody"></span><br />
42                         <span id="prevmore"></span><br />
43                 </td>
44         </tr><tr>
45         
46 <%ifblogsetting(bcomments)%>
47                 <td><%text(_ADD_DISABLE_COMMENTS)%></td>
48                 <td>
49                         <input name="closed" type="radio" tabindex="30" value="1" id="closed_yes" /><label for="closed_yes"><%text(_YES)%></label>
50                         <input name="closed" type="radio" tabindex="30" value="0" checked="checked" id="closed_no" /><label for="closed_no"><%text(_NO)%></label>
51                 </td>
52         </tr><tr>
53 <%endif%>
54
55
56                 <td><%text(_ADD_CATEGORY)%></td>
57                 <td><%categories(40)%></td>
58         </tr><tr>
59                 <td><%text(_SUBMIT)%></td>
60                 <td>
61                         <input tabindex="60" type="submit" value="<%text(_ADD_ADDITEM)%>" 
62                                 onclick="return checkSubmit();" />
63
64                         <br /><br />
65
66                         <input name="actiontype" value="addnow" type="radio" checked='checked' id="act_now" tabindex="61" /><label for="act_now"><%text(_ADD_ADDNOW)%></label>
67                         <br />
68                         <input name="actiontype" value="addfuture" type="radio" id="act_future" tabindex="61" /><label for="act_future" ><%text(_ADD_ADDLATER)%></label> <%helplink(future)%>
69                         <div class="indent">
70                                 <%text(_ADD_PLACE_ON)%>
71                                 <input id="inputmonth" name="month" tabindex="63" size="2" value="<%currenttime(mon)%>" />月
72                                 <input id="inputday" name="day" tabindex="64" size="2" value="<%currenttime(mday)%>" />日
73                                 <input id="inputyear" name="year" tabindex="65" size="4" value="<%currenttime(year)%>" />年
74                                  
75                                 <input id="inputhour" name="hour" tabindex="66" size="2" value="<%currenttime(hours)%>" />時
76                                 <input id="inputminutes" name="minutes" tabindex="67" size="2" value="<%currenttime(minutes)%>" />分
77                                 <br />
78                                 フォーマット:(mm)月(dd)日(yyyy)年 (hh)時(mm)分
79                                 
80                                 <%ifblogsetting(ballowpast,0)%>
81                                         <br />
82                                         <%text(_ADD_NOPASTDATES)%>
83                                 <%endif%>
84                         </div>
85                         <input name="actiontype" tabindex="61" value="adddraft" type="radio" id="act_draft" /><label for="act_draft"><%text(_ADD_ADDDRAFT)%></label> <%helplink(draft)%>
86                 </td>
87         </tr><tr>
88                 <td><%text(_ADD_PLUGIN_EXTRAS)%></td>
89                 <td>
90                         <%pluginextras%>
91                 </td>
92         </tr>
93                         <%itemoptions%> 
94     <tr>
95         <th colspan="2"><%text(_ADD_MORE)%></th>
96         </tr><tr>
97                 <td><%text(_ADD_MORE)%>
98                         <br /><%helplink(extended)%>
99                 </td>
100                 <td>
101                         <%jsbuttonbar(media+preview)%>          
102                         <textarea 
103                                 <%jsinput(more)%>                       
104                                 tabindex="70"
105                                 cols="60"
106                                 rows="20"
107                                 ><%contents(more)%></textarea>
108                 </td>
109         </tr><tr>
110                 <td><%text(_SUBMIT)%></td>
111                 <td>
112                         <input tabindex="60" type="submit" value="<%text(_ADD_ADDITEM)%>" 
113                                 onclick="return checkSubmit();" />
114                 </td>
115         </tr>
116 </table>
117
118 </div>
119 </form>