OSDN Git Service

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