OSDN Git Service

merged 3.3 beta1
[nucleus-jp/nucleus-jp-ancient.git] / nucleus / libs / include / bookmarklet-add.template
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2         <html xmlns="http://www.w3.org/1999/xhtml">
3         <head>
4                 <title><%text(_ADD_ADDTO)%> '<%blogname%>'</title>
5                 <link rel="stylesheet" type="text/css" href="styles/bookmarklet.css" /> 
6                 <link rel="stylesheet" type="text/css" href="styles/addedit.css" />             
7                 <script type="text/javascript" src="javascript/bookmarklet.js"></script>
8                 <script type="text/javascript" src="javascript/edit.js"></script>
9                 <script type="text/javascript" src="javascript/numbercheck.js"></script>
10                 <%init%>
11                 <%extrahead%>
12                 <script type="text/javascript">
13                         var nucleus_initbm_oldonload = window.onload;
14                         function nucleus_initbm()
15                         {
16                                 initStyles(); 
17                                 updAllPreviews();
18
19                                 if (nucleus_initbm_oldonload)
20                                         nucleus_initbm_oldonload();
21                         }
22                         window.onload = nucleus_initbm;
23                 </script>
24         </head>
25         <body>
26                 <h1><%text(_ADD_ADDTO)%> '<%bloglink%>'</h1>
27                 <form method="post" action="bookmarklet.php" ><div>
28                         
29                         <input name="action" type="hidden" value="additem" />
30                         <input name="blogid" type="hidden" value="<%blogid%>" />
31                         <%ticket%>
32                         
33                         <div id="submit" class="buttonbar">
34                                 <input type="submit" value="<%text(_BMLET_ADD)%>" onclick="return checkSubmit();" />
35                                 <div id="switchbuttons">
36                                         <input type="button" onclick="flipBlock('body');" value="<%text(_BMLET_BODY)%> &gt;&gt;" />
37                                         <input type="button" onclick="flipBlock('more');" value="<%text(_BMLET_MORE)%> &gt;&gt;" />
38                                         <input type="button" onclick="flipBlock('options');" value="<%text(_BMLET_OPTIONS)%> &gt;&gt;" />
39                                         <input type="button" onclick="updAllPreviews(); flipBlock('preview');" value="<%text(_BMLET_PREVIEW)%> &gt;&gt;" />
40                                 </div>
41                         </div>
42
43                         <div id="body" class="contentblock">
44
45                                 <table>
46                                 <tr>
47                                 <td><%text(_ADD_TITLE)%></td>
48                                 <td>
49                                 <input 
50                                         <%jsinput(title)%>
51                                         type="text" size="60" maxlength="160" 
52                                         value="<%contents(title)%>"
53                                 /></td>
54                                 </tr><tr>
55                                 <td>
56                                 <%text(_ADD_BODY)%> <%helplink(additem)%></td>
57                                 <td>
58                                 <%jsbuttonbar(media)%>
59                                 <textarea 
60                                         <%jsinput(body)%>
61                                         cols="58" 
62                                         rows="12"><%contents(body)%></textarea>
63                                         
64                                 </td></tr>
65                                 <tr><td>
66                                 <%text(_ADD_CATEGORY)%></td>
67                                 <td><%categories%></td>
68                                 </tr></table>
69
70                                         
71                         </div>
72                         
73                         <div id="more" class="contentblock">
74                                 <table>
75                                 <tr>
76                                 <td><%text(_ADD_MORE)%> <%helplink(extended)%></td>
77                                 <td>
78                                 <%jsbuttonbar(media)%>
79                                 <textarea 
80                                         <%jsinput(more)%>
81                                         cols="58" 
82                                         rows="17"><%contents(more)%></textarea>
83                                 </td></tr></table>
84                         </div>
85                         <div id="options" class="contentblock">
86                                 <table>
87                                 <%ifblogsetting(bcomments)%>
88                                         <tr>
89                                         <td><%text(_ADD_DISABLE_COMMENTS)%></td>
90                                         <td>
91                                         <input type='radio' name='closed' value='1' id="closed_yes" /><label for="closed_yes"><%text(_YES)%></label>
92                                         <input type='radio' name='closed' value='0' checked='checked' id="closed_no"/><label for="closed_no"><%text(_NO)%></label>
93                                         </td>
94                                         </tr>
95                                 <%endif%>
96                                 
97                                 <tr>
98                                 <td><%text(_ADD_DRAFTNFUTURE)%></td>
99                                 <td>
100                                         <input name="actiontype" value="addnow" type="radio" checked='checked' id="act_now" /><label for="act_now"><%text(_ADD_ADDNOW)%></label>
101                                         <br />
102                                         <input name="actiontype" value="addfuture" type="radio" id="act_future" /><label for="act_future"><%text(_ADD_ADDLATER)%></label> <%helplink(future)%>
103                                         <div class="indent">
104                                                 <%text(_ADD_PLACE_ON)%>
105                                                 <input id="inputyear" name="year" size="4" value="<%currenttime(year)%>" />年
106                                                 <input id="inputmonth" name="month" size="2" value="<%currenttime(mon)%>" />月
107                                                 <input id="inputday" name="day" size="2" value="<%currenttime(mday)%>" />日
108                                                 <input id="inputhour" name="hour" size="2" value="<%currenttime(hours)%>" />時
109                                                 <input id="inputminutes" name="minutes" size="2" value="<%currenttime(minutes)%>" />分
110                                                 <br />
111                                                 フォーマット:(yyyy)年(mm)月(dd)日 (hh)時(mm)分
112                                                 <%ifblogsetting(ballowpast,0)%>
113                                                         <br />
114                                                         <%text(_ADD_NOPASTDATES)%>
115                                                 <%endif%>
116                                         </div>
117                                         <input name="actiontype" value="adddraft" type="radio" id="act_draft" /><label for="act_draft"><%text(_ADD_ADDDRAFT)%></label> <%helplink(draft)%>
118                                 </td>
119                                 </tr>
120                                 <tr>
121                                 <td><%text(_ADD_PLUGIN_EXTRAS)%></td>
122                                 <td>
123                                 <%pluginextras%></td>
124                                 </tr>
125                                 
126                                 
127                                   <%itemoptions%>
128                                 </table>
129                                 
130
131                         </div>
132                         
133                         <div id="preview" class="contentblock">
134                                 <h2><%text(_ADD_PREVIEW)%></h2>
135                                 
136                                 <b><span id="prevtitle"></span></b>
137                                 <br />
138                                 <span id="prevbody"></span>
139                                 <br />
140                                 <span id="prevmore"></span>
141                         </div>
142                         
143                 </div></form>
144         </body>
145         </html>
146