OSDN Git Service

Merge branch 'skinnable-master'
[nucleus-jp/nucleus-next.git] / skins / admin / bookmarklet / skinbackup.xml
1 <?xml version="1.0"?>
2 <nucleusskin>
3 <meta>
4 <skin name="admin/bookmarklet"/>
5 <template name="admin/bookmarklet"/>
6 <info><![CDATA[20120430]]></info>
7 </meta>
8 <skin name="admin/bookmarklet" type="text/html" includeMode="skindir" includePrefix="admin/bookmarklet">
9 <description>
10 <![CDATA[ADMIN Area Default Bookmarklet Skin]]>
11 </description>
12
13 <part name="createitem">
14 <![CDATA[<%pagehead%>
15 <h1><%text(_ADD_ADDTO)%> '<%bloglink%>'</h1>
16
17 <form id="addform" method="post" action="<%adminurl%>bookmarklet.php" >
18
19 <div>
20 <input type="hidden" name="action" value="additem" />
21 <input type="hidden" name="blogid" value="<%blogid%>" />
22 <input type="hidden" name="draftid" value="0" />
23
24 <%ticket%>
25
26 <div id="submit" class="buttonbar">
27 <div id="switchbuttons">
28 <input type="button" onclick="flipBlock('body');" value="<%text(_BMLET_BODY)%> &gt;&gt;" />
29 <input type="button" onclick="flipBlock('more');" value="<%text(_BMLET_MORE)%> &gt;&gt;" />
30 <input type="button" onclick="flipBlock('options');" value="<%text(_BMLET_OPTIONS)%> &gt;&gt;" />
31 <input type="button" onclick="updAllPreviews(); flipBlock('preview');" value="<%text(_BMLET_PREVIEW)%> &gt;&gt;" />
32 </div>
33 <input type="submit" value="<%text(_BMLET_ADD)%>" onclick="return checkSubmit();" />
34 <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />
35 </div>
36
37 <div id="body" class="contentblock">
38 <table frame="box" rules="all" summary="<%text(_BMLET_BODY)%>">
39 <%if(autosave)%>
40 <tr>
41 <td><%text(_AUTOSAVEDRAFT)%></td>
42 <td><span id="info"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%></span></td>
43 </tr>
44 <%endif%>
45 <tr>
46 <td><%text(_ADD_TITLE)%></td>
47 <td><input type="text" id="inputtitle" name="title" value="<%contents(title)%>" size="60" maxlength="160" /></td>
48 </tr>
49 <tr>
50 <td>
51 <%text(_ADD_BODY)%> <%helplink(additem)%></td>
52 <td>
53
54 <div class="jsbuttonbar">
55 <!--[if IE]>
56 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="cutThis()">
57 <img src="<%skinfile(/images/button-cut.gif)%>" title="<%text(_ADD_CUT_TT)%>(Ctrl + X)" alt="<%text(_ADD_CUT_TT)%>(Ctrl + X)" width="16" height="16" />
58 </span>
59 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="copyThis()">
60 <img src="<%skinfile(/images/button-copy.gif)%>" title="<%text(_ADD_COPY_TT)%>(Ctrl + C)" alt="<%text(_ADD_COPY_TT)%>(Ctrl + C)" width="16" height="16" />
61 </span>
62 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="pasteThis()">
63 <img src="<%skinfile(/images/button-paste.gif)%>" title="<%text(_ADD_PASTE_TT)%>(Ctrl + V)" alt="<%text(_ADD_PASTE_TT)%>(Ctrl + V)" width="16" height="16" />
64 </span>
65 <span class="jsbuttonspacer">&nbsp;</span>
66 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
67 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>(Ctrl + Shift + B)" alt="<%text(_ADD_BOLD_TT)%>(Ctrl + Shift + B)" width="16" height="16" />
68 </span>
69 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
70 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>(Ctrl + Shift + I)" alt="<%text(_ADD_ITALIC_TT)%>(Ctrl + Shift + I)" width="16" height="16" />
71 </span>
72 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
73 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>(Ctrl + Shift + A)" alt="<%text(_ADD_HREF_TT)%>(Ctrl + Shift + A)" width="16" height="16" />
74 </span>
75 <![endif]-->
76 <!--[if ! IE]>-->
77 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
78 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>" alt="<%text(_ADD_BOLD_TT)%>" width="16" height="16" />
79 </span>
80 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
81 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>" alt="<%text(_ADD_ITALIC_TT)%>" width="16" height="16" />
82 </span>
83 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
84 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>" alt="<%text(_ADD_HREF_TT)%>" width="16" height="16" />
85 </span>
86 <!--<![endif]-->
87 <span class="jsbuttonspacer">&nbsp;</span>
88 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignleftThis()">
89 <img src="<%skinfile(/images/button-alignleft.gif)%>" title="<%text(_ADD_ALIGNLEFT_TT)%>" alt="<%text(_ADD_ALIGNLEFT_TT)%>" width="16" height="16" />
90 </span>
91 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignrightThis()">
92 <img src="<%skinfile(/images/button-alignright.gif)%>" title="<%text(_ADD_ALIGNRIGHT_TT)%>" alt="<%text(_ADD_ALIGNRIGHT_TT)%>" width="16" height="16" />
93 </span>
94 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="aligncenterThis()">
95 <img src="<%skinfile(/images/button-aligncenter.gif)%>" title="<%text(_ADD_ALIGNCENTER_TT)%>" alt="<%text(_ADD_ALIGNCENTER_TT)%>" width="16" height="16" />
96 </span>
97 <span class="jsbuttonspacer">&nbsp;</span>
98 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="leftThis()">
99 <img src="<%skinfile(/images/button-left.gif)%>" title="<%text(_ADD_LEFT_TT)%>" alt="<%text(_ADD_LEFT_TT)%>" width="16" height="16" />
100 </span>
101 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="rightThis()">
102 <img src="<%skinfile(/images/button-right.gif)%>" title="<%text(_ADD_RIGHT_TT)%>" alt="<%text(_ADD_RIGHT_TT)%>" width="16" height="16" />
103 </span>
104 <span class="jsbuttonspacer">&nbsp;</span>
105 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="addMedia()">
106 <img src="<%skinfile(/images/button-media.gif)%>" title="<%text(_ADD_MEDIA_TT)%>" alt="<%text(_ADD_MEDIA_TT)%>" width="16" height="16" />
107 </span>
108 <!--[if IE]>
109 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="showedit()">
110 <img src="<%skinfile(/images/button-preview.gif)%>" title="<%text(_ADD_PREVIEW_TT)%>" alt="<%text(_ADD_PREVIEW_TT)%>" width="16" height="16" />
111 </span>
112 <![endif]-->
113 <div class="jsbuttonend"></div>
114 </div>
115
116 <textarea id="inputbody" name="body" cols="58" rows="12"><%contents(body)%></textarea></td>
117 </tr>
118 <tr>
119 <td><%text(_ADD_CATEGORY)%></td>
120 <td><%categories%></td>
121 </tr>
122 <tr>
123 <%if(autosave)%>
124 <td><%text(_AUTOSAVEDRAFT_NOW)%></td>
125 <td><input type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" tabindex="80" onclick="autoSaveDraft();" /></td>
126 <%endif%>
127 </tr>
128 </table>
129 </div>
130
131 <div id="more" class="contentblock">
132 <table frame="box" rules="all" summary="<%text(_BMLET_MORE)%>">
133 <tr>
134 <td><%text(_ADD_MORE)%> <%helplink(extended)%></td>
135 <td>
136
137 <div class="jsbuttonbar">
138 <!--[if IE]>
139 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="cutThis()">
140 <img src="<%skinfile(/images/button-cut.gif)%>" title="<%text(_ADD_CUT_TT)%>(Ctrl + X)" alt="<%text(_ADD_CUT_TT)%>(Ctrl + X)" width="16" height="16" />
141 </span>
142 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="copyThis()">
143 <img src="<%skinfile(/images/button-copy.gif)%>" title="<%text(_ADD_COPY_TT)%>(Ctrl + C)" alt="<%text(_ADD_COPY_TT)%>(Ctrl + C)" width="16" height="16" />
144 </span>
145 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="pasteThis()">
146 <img src="<%skinfile(/images/button-paste.gif)%>" title="<%text(_ADD_PASTE_TT)%>(Ctrl + V)" alt="<%text(_ADD_PASTE_TT)%>(Ctrl + V)" width="16" height="16" />
147 </span>
148 <span class="jsbuttonspacer">&nbsp;</span>
149 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
150 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>(Ctrl + Shift + B)" alt="<%text(_ADD_BOLD_TT)%>(Ctrl + Shift + B)" width="16" height="16" />
151 </span>
152 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
153 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>(Ctrl + Shift + I)" alt="<%text(_ADD_ITALIC_TT)%>(Ctrl + Shift + I)" width="16" height="16" />
154 </span>
155 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
156 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>(Ctrl + Shift + A)" alt="<%text(_ADD_HREF_TT)%>(Ctrl + Shift + A)" width="16" height="16" />
157 </span>
158 <![endif]-->
159 <!--[if ! IE]>-->
160 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
161 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>" alt="<%text(_ADD_BOLD_TT)%>" width="16" height="16" />
162 </span>
163 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
164 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>" alt="<%text(_ADD_ITALIC_TT)%>" width="16" height="16" />
165 </span>
166 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
167 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>" alt="<%text(_ADD_HREF_TT)%>" width="16" height="16" />
168 </span>
169 <!--<![endif]-->
170 <span class="jsbuttonspacer">&nbsp;</span>
171 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignleftThis()">
172 <img src="<%skinfile(/images/button-alignleft.gif)%>" title="<%text(_ADD_ALIGNLEFT_TT)%>" alt="<%text(_ADD_ALIGNLEFT_TT)%>" width="16" height="16" />
173 </span>
174 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignrightThis()">
175 <img src="<%skinfile(/images/button-alignright.gif)%>" title="<%text(_ADD_ALIGNRIGHT_TT)%>" alt="<%text(_ADD_ALIGNRIGHT_TT)%>" width="16" height="16" />
176 </span>
177 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="aligncenterThis()">
178 <img src="<%skinfile(/images/button-aligncenter.gif)%>" title="<%text(_ADD_ALIGNCENTER_TT)%>" alt="<%text(_ADD_ALIGNCENTER_TT)%>" width="16" height="16" />
179 </span>
180 <span class="jsbuttonspacer">&nbsp;</span>
181 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="leftThis()">
182 <img src="<%skinfile(/images/button-left.gif)%>" title="<%text(_ADD_LEFT_TT)%>" alt="<%text(_ADD_LEFT_TT)%>" width="16" height="16" />
183 </span>
184 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="rightThis()">
185 <img src="<%skinfile(/images/button-right.gif)%>" title="<%text(_ADD_RIGHT_TT)%>" alt="<%text(_ADD_RIGHT_TT)%>" width="16" height="16" />
186 </span>
187 <span class="jsbuttonspacer">&nbsp;</span>
188 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="addMedia()">
189 <img src="<%skinfile(/images/button-media.gif)%>" title="<%text(_ADD_MEDIA_TT)%>" alt="<%text(_ADD_MEDIA_TT)%>" width="16" height="16" />
190 </span>
191 <!--[if IE]>
192 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="showedit()">
193 <img src="<%skinfile(/images/button-preview.gif)%>" title="<%text(_ADD_PREVIEW_TT)%>" alt="<%text(_ADD_PREVIEW_TT)%>" width="16" height="16" />
194 </span>
195 <![endif]-->
196 <div class="jsbuttonend"></div>
197 </div>
198
199 <textarea id="inputmore" name="more" cols="58" rows="17"><%contents(more)%></textarea>
200 </td>
201 </tr>
202 </table>
203 </div>
204
205 <div id="options" class="contentblock">
206 <table frame="box" rules="all" summary="<%text(_BMLET_OPTIONS)%>">
207
208 <%if(blogsetting, bcomments)%>
209 <tr>
210 <td><%text(_ADD_DISABLE_COMMENTS)%></td>
211 <td>
212 <input type='radio' id="closed_yes" name='closed' value='1' />
213 <label for="closed_yes"><%text(_YES)%></label>
214 <input type='radio' id="closed_no" name='closed' value='0' checked='checked' />
215 <label for="closed_no"><%text(_NO)%></label>
216 </td>
217 </tr>
218 <%endif%>
219
220 <tr>
221 <td><%text(_ADD_DRAFTNFUTURE)%></td>
222 <td>
223 <input type="radio" name="actiontype" value="addnow" checked='checked' id="act_now" />
224 <label for="act_now"><%text(_ADD_ADDNOW)%></label><br />
225 <input type="radio" id="act_future" name="actiontype" value="addfuture" />
226 <label for="act_future"><%text(_ADD_ADDLATER)%></label> <%helplink(future)%>
227 <div class="indent">
228 <%text(_ADD_PLACE_ON)%>
229 <input id="inputday" name="day" value="<%currenttime(mday)%>" size="2" onchange="document.forms[0].act_future.checked=true;" />/
230 <input id="inputmonth" name="month" value="<%currenttime(mon)%>" size="2" onchange="document.forms[0].act_future.checked=true;" />/
231 <input id="inputyear" name="year" value="<%currenttime(year)%>" size="4" onchange="document.forms[0].act_future.checked=true;" />
232 at
233 <input id="inputhour" name="hour" value="<%currenttime(hours)%>" size="2" onchange="document.forms[0].act_future.checked=true;" />:
234 <input id="inputminutes" name="minutes" value="<%currenttime(minutes)%>" size="2" onchange="document.forms[0].act_future.checked=true;" />
235 (dd/mm/yyyy hh:mm)
236
237 <%if(blogsetting, ballowpast,0)%>
238 <br />
239 <%text(_ADD_NOPASTDATES)%>
240 <%endif%>
241
242 </div>
243 <input type="radio" name="actiontype" value="adddraft" id="act_draft" />
244 <label for="act_draft"><%text(_ADD_ADDDRAFT)%></label> <%helplink(draft)%>
245 </td>
246 </tr>
247
248 <tr>
249 <td><%text(_ADD_PLUGIN_EXTRAS)%></td>
250 <td><%pluginextras%></td>
251 </tr>
252 <%itemoptions%>
253 </table>
254
255 </div>
256
257 <div id="preview" class="contentblock">
258 <h2><%text(_ADD_PREVIEW)%></h2>
259 <b><span id="prevtitle">&#160;</span></b><br />
260 <span id="prevbody">&#160;</span><br />
261 <span id="prevmore">&#160;</span>
262 </div>
263
264 <%if(autosave)%>
265 <script type="text/javascript">
266         var xmlhttprequest = new Array();
267         xmlhttprequest[0] = createHTTPHandler(); // AutoDraft handler
268         xmlhttprequest[1] = createHTTPHandler(); // UpdateTicket handler
269         var seconds = now(); // Last AutoDraft time
270         var checks = 0; // Number of checks since last AutoDraft
271         var addform = document.getElementById('addform');
272         var goal = document.getElementById('info'); // The html div id where 'Last saved: date time' must come
273         var goalurl = '../action.php'; // The PHP file where the content must be posted to
274         var lastsavedtext = '<%text(_AUTOSAVEDRAFT_LASTSAVED)%>'; // The language variable for 'Last saved'
275         var formtype = 'add';
276 </script>
277 <%endif%>
278
279 </div>
280
281 </form>
282 <%pagefoot%>]]>
283 </part>
284
285 <part name="itemedit">
286 <![CDATA[<%pagehead%>
287 <h1><%text(_EDIT_ITEM)%> (<%contents(itemid)%>)</h1>
288 <form id="editform" method="post" action="<%adminurl%>bookmarklet.php" ><div>
289 <input type="hidden" name="action" value="edititem" />
290 <input type="hidden" name="itemid" value="<%contents(itemid)%>" />
291 <input type="hidden" name="draftid" value="0" />
292 <%ticket%>
293
294 <div id="submit" class="buttonbar">
295 <div id="switchbuttons">
296 <input type="button" value="<%text(_BMLET_BODY)%> &gt;&gt;" onclick="flipBlock('body');" />
297 <input type="button" value="<%text(_BMLET_MORE)%> &gt;&gt;" onclick="flipBlock('more');" />
298 <input type="button" value="<%text(_BMLET_OPTIONS)%> &gt;&gt;" onclick="flipBlock('options');" />
299 <input type="button" value="<%text(_BMLET_PREVIEW)%> &gt;&gt;" onclick="updAllPreviews(); flipBlock('preview');" />
300 </div>
301 <input type="submit" value="<%text(_BMLET_EDIT)%>" onclick="return checkSubmit();" />
302 <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />
303 </div>
304
305 <div id="body" class="contentblock">
306 <table frame="box" rules="all" summary="<%text(_BMLET_BODY)%>">
307
308 <%if(autosave)%>
309 <tr>
310 <td><%text(_AUTOSAVEDRAFT)%></td>
311 <td><span id="info"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%></span></td>
312 </tr>
313 <%endif%>
314
315 <tr>
316 <td><%text(_ADD_TITLE)%></td>
317 <td><input type="text" id="inputtitle" name="title" value="<%contents(title)%>" size="60" maxlength="160" /></td>
318 </tr>
319 <tr>
320 <td><%text(_ADD_BODY)%></td>
321 <td>
322
323 <div class="jsbuttonbar">
324 <!--[if IE]>
325 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="cutThis()">
326 <img src="<%skinfile(/images/button-cut.gif)%>" title="<%text(_ADD_CUT_TT)%>(Ctrl + X)" alt="<%text(_ADD_CUT_TT)%>(Ctrl + X)" width="16" height="16" />
327 </span>
328 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="copyThis()">
329 <img src="<%skinfile(/images/button-copy.gif)%>" title="<%text(_ADD_COPY_TT)%>(Ctrl + C)" alt="<%text(_ADD_COPY_TT)%>(Ctrl + C)" width="16" height="16" />
330 </span>
331 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="pasteThis()">
332 <img src="<%skinfile(/images/button-paste.gif)%>" title="<%text(_ADD_PASTE_TT)%>(Ctrl + V)" alt="<%text(_ADD_PASTE_TT)%>(Ctrl + V)" width="16" height="16" />
333 </span>
334 <span class="jsbuttonspacer">&nbsp;</span>
335 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
336 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>(Ctrl + Shift + B)" alt="<%text(_ADD_BOLD_TT)%>(Ctrl + Shift + B)" width="16" height="16" />
337 </span>
338 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
339 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>(Ctrl + Shift + I)" alt="<%text(_ADD_ITALIC_TT)%>(Ctrl + Shift + I)" width="16" height="16" />
340 </span>
341 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
342 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>(Ctrl + Shift + A)" alt="<%text(_ADD_HREF_TT)%>(Ctrl + Shift + A)" width="16" height="16" />
343 </span>
344 <![endif]-->
345 <!--[if ! IE]>-->
346 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
347 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>" alt="<%text(_ADD_BOLD_TT)%>" width="16" height="16" />
348 </span>
349 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
350 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>" alt="<%text(_ADD_ITALIC_TT)%>" width="16" height="16" />
351 </span>
352 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
353 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>" alt="<%text(_ADD_HREF_TT)%>" width="16" height="16" />
354 </span>
355 <!--<![endif]-->
356 <span class="jsbuttonspacer">&nbsp;</span>
357 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignleftThis()">
358 <img src="<%skinfile(/images/button-alignleft.gif)%>" title="<%text(_ADD_ALIGNLEFT_TT)%>" alt="<%text(_ADD_ALIGNLEFT_TT)%>" width="16" height="16" />
359 </span>
360 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignrightThis()">
361 <img src="<%skinfile(/images/button-alignright.gif)%>" title="<%text(_ADD_ALIGNRIGHT_TT)%>" alt="<%text(_ADD_ALIGNRIGHT_TT)%>" width="16" height="16" />
362 </span>
363 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="aligncenterThis()">
364 <img src="<%skinfile(/images/button-aligncenter.gif)%>" title="<%text(_ADD_ALIGNCENTER_TT)%>" alt="<%text(_ADD_ALIGNCENTER_TT)%>" width="16" height="16" />
365 </span>
366 <span class="jsbuttonspacer">&nbsp;</span>
367 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="leftThis()">
368 <img src="<%skinfile(/images/button-left.gif)%>" title="<%text(_ADD_LEFT_TT)%>" alt="<%text(_ADD_LEFT_TT)%>" width="16" height="16" />
369 </span>
370 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="rightThis()">
371 <img src="<%skinfile(/images/button-right.gif)%>" title="<%text(_ADD_RIGHT_TT)%>" alt="<%text(_ADD_RIGHT_TT)%>" width="16" height="16" />
372 </span>
373 <span class="jsbuttonspacer">&nbsp;</span>
374 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="addMedia()">
375 <img src="<%skinfile(/images/button-media.gif)%>" title="<%text(_ADD_MEDIA_TT)%>" alt="<%text(_ADD_MEDIA_TT)%>" width="16" height="16" />
376 </span>
377 <!--[if IE]>
378 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="showedit()">
379 <img src="<%skinfile(/images/button-preview.gif)%>" title="<%text(_ADD_PREVIEW_TT)%>" alt="<%text(_ADD_PREVIEW_TT)%>" width="16" height="16" />
380 </span>
381 <![endif]-->
382 <div class="jsbuttonend"></div>
383 </div>
384
385 <textarea id="inputbody" name="body" cols="58" rows="12"><%contents(body)%></textarea>
386 </td>
387 </tr>
388 <tr>
389 <td><%text(_ADD_CATEGORY)%></td>
390 <td><%categories%></td>
391 </tr>
392 <%if(autosave)%>
393 <tr>
394 <td><%text(_AUTOSAVEDRAFT_NOW)%></td>
395 <td><input type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" tabindex="80" onclick="autoSaveDraft();" /></td>
396 </tr>
397 <%endif%>
398 </table>
399 </div>
400
401 <div id="more" class="contentblock">
402 <table frame="box" rules="all" summary="<%text(_BMLET_MORE)%>">
403 <tr>
404 <td><%text(_ADD_MORE)%> <%helplink(extended)%></td>
405 <td>
406
407 <div class="jsbuttonbar">
408 <!--[if IE]>
409 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="cutThis()">
410 <img src="<%skinfile(/images/button-cut.gif)%>" title="<%text(_ADD_CUT_TT)%>(Ctrl + X)" alt="<%text(_ADD_CUT_TT)%>(Ctrl + X)" width="16" height="16" />
411 </span>
412 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="copyThis()">
413 <img src="<%skinfile(/images/button-copy.gif)%>" title="<%text(_ADD_COPY_TT)%>(Ctrl + C)" alt="<%text(_ADD_COPY_TT)%>(Ctrl + C)" width="16" height="16" />
414 </span>
415 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="pasteThis()">
416 <img src="<%skinfile(/images/button-paste.gif)%>" title="<%text(_ADD_PASTE_TT)%>(Ctrl + V)" alt="<%text(_ADD_PASTE_TT)%>(Ctrl + V)" width="16" height="16" />
417 </span>
418 <span class="jsbuttonspacer">&nbsp;</span>
419 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
420 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>(Ctrl + Shift + B)" alt="<%text(_ADD_BOLD_TT)%>(Ctrl + Shift + B)" width="16" height="16" />
421 </span>
422 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
423 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>(Ctrl + Shift + I)" alt="<%text(_ADD_ITALIC_TT)%>(Ctrl + Shift + I)" width="16" height="16" />
424 </span>
425 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
426 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>(Ctrl + Shift + A)" alt="<%text(_ADD_HREF_TT)%>(Ctrl + Shift + A)" width="16" height="16" />
427 </span>
428 <![endif]-->
429 <!--[if ! IE]>-->
430 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
431 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>" alt="<%text(_ADD_BOLD_TT)%>" width="16" height="16" />
432 </span>
433 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
434 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>" alt="<%text(_ADD_ITALIC_TT)%>" width="16" height="16" />
435 </span>
436 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
437 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>" alt="<%text(_ADD_HREF_TT)%>" width="16" height="16" />
438 </span>
439 <!--<![endif]-->
440 <span class="jsbuttonspacer">&nbsp;</span>
441 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignleftThis()">
442 <img src="<%skinfile(/images/button-alignleft.gif)%>" title="<%text(_ADD_ALIGNLEFT_TT)%>" alt="<%text(_ADD_ALIGNLEFT_TT)%>" width="16" height="16" />
443 </span>
444 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignrightThis()">
445 <img src="<%skinfile(/images/button-alignright.gif)%>" title="<%text(_ADD_ALIGNRIGHT_TT)%>" alt="<%text(_ADD_ALIGNRIGHT_TT)%>" width="16" height="16" />
446 </span>
447 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="aligncenterThis()">
448 <img src="<%skinfile(/images/button-aligncenter.gif)%>" title="<%text(_ADD_ALIGNCENTER_TT)%>" alt="<%text(_ADD_ALIGNCENTER_TT)%>" width="16" height="16" />
449 </span>
450 <span class="jsbuttonspacer">&nbsp;</span>
451 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="leftThis()">
452 <img src="<%skinfile(/images/button-left.gif)%>" title="<%text(_ADD_LEFT_TT)%>" alt="<%text(_ADD_LEFT_TT)%>" width="16" height="16" />
453 </span>
454 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="rightThis()">
455 <img src="<%skinfile(/images/button-right.gif)%>" title="<%text(_ADD_RIGHT_TT)%>" alt="<%text(_ADD_RIGHT_TT)%>" width="16" height="16" />
456 </span>
457 <span class="jsbuttonspacer">&nbsp;</span>
458 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="addMedia()">
459 <img src="<%skinfile(/images/button-media.gif)%>" title="<%text(_ADD_MEDIA_TT)%>" alt="<%text(_ADD_MEDIA_TT)%>" width="16" height="16" />
460 </span>
461 <!--[if IE]>
462 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="showedit()">
463 <img src="<%skinfile(/images/button-preview.gif)%>" title="<%text(_ADD_PREVIEW_TT)%>" alt="<%text(_ADD_PREVIEW_TT)%>" width="16" height="16" />
464 </span>
465 <![endif]-->
466 <div class="jsbuttonend"></div>
467 </div>
468
469 <textarea id="inputmore" name="more" cols="58" rows="17"><%contents(more)%></textarea>
470 </td>
471 </tr>
472 </table>
473 </div>
474
475 <div id="options" class="contentblock">
476 <table frame="box" rules="all" summary="<%text(_BMLET_OPTIONS)%>">
477 <%if(blogsetting, bcomments)%>
478 <tr>
479 <td><%text(_ADD_DISABLE_COMMENTS)%></td>
480 <td>
481 <input type="radio" name="closed" value="1" id="closed_yes" <%checkedonval(1,closed)%> /><label for="closed_yes"><%text(_YES)%></label>
482 <input type="radio" name="closed" value="0" id="closed_no" <%checkedonval(0,closed)%> /><label for="closed_no"><%text(_NO)%></label>
483 </td>
484 </tr>
485 <%endif%>
486 <tr>
487 <td><%text(_SUBMIT)%></td>
488 <td>
489 <input id="act_edit" type="radio" name="actiontype" value="edit" checked="checked" />
490 <label for="act_edit"><%text(_BMLET_EDIT)%></label><br />
491 <input id="act_delete" type="radio" name="actiontype" value="delete" />
492 <label for="act_delete"><%text(_BMLET_DELETE)%></label><br />
493
494 <%if(blogsetting, ballowpast)%>
495 <input id="act_changedate" name="actiontype" value="changedate" type="radio" tabindex="70" />
496 <label for="act_changedate"><%text(_BMLET_CHANGEDATE)%></label> <%helplink(changedate)%>
497
498 <div class="indent">
499 <input id="inputday" name="day" value="<%itemtime(mday)%>" size="2" tabindex="71" onchange="document.forms[0].act_changedate.checked=true;" />/
500 <input id="inputmonth" name="month" value="<%itemtime(mon)%>" tabindex="72" size="2" onchange="document.forms[0].act_changedate.checked=true;" />/
501 <input id="inputyear" name="year" tabindex="73" size="4" value="<%itemtime(year)%>" onchange="document.forms[0].act_changedate.checked=true;" />
502 at
503 <input id="inputhour" name="hour" value="<%itemtime(hours)%>" size="2" tabindex="74" onchange="document.forms[0].act_changedate.checked=true;" />:
504 <input id="inputminutes" name="minutes" value="<%itemtime(minutes)%>" size="2" tabindex="75" onchange="document.forms[0].act_changedate.checked=true;" />
505 (dd/mm/yyyy hh:mm)
506 </div>
507 <input type="radio" id="act_backtodrafts" name="actiontype" value="backtodrafts" tabindex="71" />
508 <label for="act_backtodrafts">
509 <%text(_BMLET_BACKTODRAFTS)%></label> <%helplink(draft)%>
510 <%endif%>
511
512 </td>
513 </tr>
514
515 <tr>
516 <td><%text(_ADD_PLUGIN_EXTRAS)%></td>
517 <td><%pluginextras%></td>
518 </tr>
519
520 <%itemoptions%>
521 </table>
522 </div>
523
524 <div id="preview" class="contentblock">
525 <h2><%text(_ADD_PREVIEW)%></h2>
526 <b><span id="prevtitle">&#160;</span></b><br />
527 <span id="prevbody">&#160;</span><br />
528 <span id="prevmore">&#160;</span>
529 </div>
530 </div>
531 </form>
532 <%if(autosave)%>
533 <script type="text/javascript">
534         var xmlhttprequest = new Array();
535         xmlhttprequest[0] = createHTTPHandler(); // AutoDraft handler
536         xmlhttprequest[1] = createHTTPHandler(); // UpdateTicket handler
537         var seconds = now(); // Last AutoDraft time
538         var checks = 0; // Number of checks since last AutoDraft
539         var addform = document.getElementById('editform');
540         var goal = document.getElementById('info'); // The html div id where 'Last saved: date time' must come
541         var goalurl = '../action.php'; // The PHP file where the content must be posted to
542         var lastsavedtext = '<%text(_AUTOSAVEDRAFT_LASTSAVED)%>'; // The language variable for 'Last saved'
543         var formtype = 'edit';
544 </script>
545 <%endif%>
546 <%pagefoot%>]]>
547 </part>
548
549 <part name="pagefoot">
550 <![CDATA[
551         </body>
552         </html>
553 ]]></part>
554
555 <part name="pagehead">
556 <![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
557         <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%locale%>" lang="<%locale%>">
558         <head>
559         <title><%title%></title>
560         <link rel="stylesheet" type="text/css" href="<%skinfile(/styles/bookmarklet.css)%>" /> 
561         <link rel="stylesheet" type="text/css" href="<%skinfile(/styles/addedit.css)%>" />
562         <script type="text/javascript" src="<%skinfile(/javascripts/bookmarklet.js)%>"></script>
563         <script type="text/javascript" src="<%skinfile(/javascripts/edit.js)%>"></script>
564         <script type="text/javascript" src="<%skinfile(/javascripts/numbercheck.js)%>"></script>
565         
566         <%if(autosave)%>
567         <script type="text/javascript" src="<%skinfile(/javascripts/xmlhttprequest.js)%>"></script>
568         <%endif%>
569         
570         <%init%>
571         
572         <%extrahead%>
573         
574         <script type="text/javascript">
575         var nucleus_initbm_oldonload = window.onload;
576         function nucleus_initbm()
577         {
578                 initStyles();
579                 updAllPreviews();
580                 
581                 if ( nucleus_initbm_oldonload )
582                 {
583                         nucleus_initbm_oldonload();
584                 }
585         }
586         window.onload = nucleus_initbm;
587         </script>
588         </head>
589         <body>
590 ]]></part>
591
592 <part name="showlogin">
593 <![CDATA[<%pagehead%><h2><%text(_LOGIN)%></h2>
594         <%headmessage%>
595         <form method="post" action="<%adminurl%>bookmarklet.php">
596         <p>
597         <%text(_LOGIN_NAME)%> <br /><input name="login" tabindex="10" /><br />
598         <%text(_LOGIN_PASSWORD)%> <br /><input name="password"  tabindex="20" type="password" /><br />
599         <input type="checkbox" value="1" name="shared" tabindex="40" id="shared" />
600         <label for="shared"><%text(_LOGIN_SHARED)%></label><br />
601         <a href="forgotpassword.php"><%text(_LOGIN_FORGOT)%></a>
602         
603         <%passrequestvars%>
604         
605         <input type="hidden" name="blogid" value="<%blogid%>" />
606         <input type="hidden" name="itemid" value="<%itemid%>" />
607         <input type="hidden" name="logtext" value="<%log_text%>" />
608         <input type="hidden" name="loglink" value="<%log_link%>" />
609         <input type="hidden" name="loglinktitle" value="<%log_linktitle%>" />
610         
611         <input type="hidden" name="nextaction" value="<%action%>" />
612         <button type="submit" name="action" value="login"><%text(_LOGIN)%></button>
613         </p>
614         </form>
615 <%pagefoot%>]]></part>
616
617 <part name="adminerrorpage"><![CDATA[
618 <%pagehead%>
619 <%headmessage%>
620 <p><a href="<%adminurl%>bookmarklet.php" onclick="window.close();window.opener.location.reload();"><%text(_POPUP_CLOSE)%></a></p>
621 <%pagefoot%>
622 ]]></part>
623
624 </skin>
625 <template name="admin/bookmarklet">
626 <description><![CDATA[ADMIN Area Default bookmarklet template]]></description>
627 </template>
628 </nucleusskin>