1 <?xml version="1.0"?>
\r
4 <skin name="admin/bookmarklet"/>
\r
5 <template name="admin/bookmarklet"/>
\r
6 <info><![CDATA[20120430]]></info>
\r
8 <skin name="admin/bookmarklet" type="text/html" includeMode="admin" includePrefix="admin/bookmarklet">
\r
10 <![CDATA[ADMIN Area Default Bookmarklet Skin]]>
\r
12 <part name="createitem">
\r
13 <![CDATA[<%pagehead%>
\r
14 <h1><%text(_ADD_ADDTO)%> '<%bloglink%>'</h1>
\r
16 <form id="addform" method="post" action="bookmarklet.php" >
\r
19 <input type="hidden" name="action" value="additem" />
\r
20 <input type="hidden" name="blogid" value="<%blogid%>" />
\r
21 <input type="hidden" name="draftid" value="0" />
\r
25 <div id="submit" class="buttonbar">
\r
26 <div id="switchbuttons">
\r
27 <input type="button" onclick="flipBlock('body');" value="<%text(_BMLET_BODY)%> >>" />
\r
28 <input type="button" onclick="flipBlock('more');" value="<%text(_BMLET_MORE)%> >>" />
\r
29 <input type="button" onclick="flipBlock('options');" value="<%text(_BMLET_OPTIONS)%> >>" />
\r
30 <input type="button" onclick="updAllPreviews(); flipBlock('preview');" value="<%text(_BMLET_PREVIEW)%> >>" />
\r
32 <input type="submit" value="<%text(_BMLET_ADD)%>" onclick="return checkSubmit();" />
\r
33 <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />
\r
36 <div id="body" class="contentblock">
\r
37 <table frame="box" rules="all" summary="<%text(_BMLET_BODY)%>">
\r
40 <td><%text(_AUTOSAVEDRAFT)%></td>
\r
41 <td><span id="info"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%></span></td>
\r
45 <td><%text(_ADD_TITLE)%></td>
\r
46 <td><input type="text" id="inputtitle" name="title" value="<%contents(title)%>" size="60" maxlength="160" /></td>
\r
50 <%text(_ADD_BODY)%> <%helplink(additem)%></td>
\r
53 <div class="jsbuttonbar">
\r
55 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="cutThis()">
\r
56 <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" />
\r
58 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="copyThis()">
\r
59 <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" />
\r
61 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="pasteThis()">
\r
62 <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" />
\r
64 <span class="jsbuttonspacer"> </span>
\r
65 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
\r
66 <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" />
\r
68 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
\r
69 <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" />
\r
71 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
\r
72 <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" />
\r
76 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
\r
77 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>" alt="<%text(_ADD_BOLD_TT)%>" width="16" height="16" />
\r
79 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
\r
80 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>" alt="<%text(_ADD_ITALIC_TT)%>" width="16" height="16" />
\r
82 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
\r
83 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>" alt="<%text(_ADD_HREF_TT)%>" width="16" height="16" />
\r
86 <span class="jsbuttonspacer"> </span>
\r
87 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignleftThis()">
\r
88 <img src="<%skinfile(/images/button-alignleft.gif)%>" title="<%text(_ADD_ALIGNLEFT_TT)%>" alt="<%text(_ADD_ALIGNLEFT_TT)%>" width="16" height="16" />
\r
90 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignrightThis()">
\r
91 <img src="<%skinfile(/images/button-alignright.gif)%>" title="<%text(_ADD_ALIGNRIGHT_TT)%>" alt="<%text(_ADD_ALIGNRIGHT_TT)%>" width="16" height="16" />
\r
93 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="aligncenterThis()">
\r
94 <img src="<%skinfile(/images/button-aligncenter.gif)%>" title="<%text(_ADD_ALIGNCENTER_TT)%>" alt="<%text(_ADD_ALIGNCENTER_TT)%>" width="16" height="16" />
\r
96 <span class="jsbuttonspacer"> </span>
\r
97 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="leftThis()">
\r
98 <img src="<%skinfile(/images/button-left.gif)%>" title="<%text(_ADD_LEFT_TT)%>" alt="<%text(_ADD_LEFT_TT)%>" width="16" height="16" />
\r
100 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="rightThis()">
\r
101 <img src="<%skinfile(/images/button-right.gif)%>" title="<%text(_ADD_RIGHT_TT)%>" alt="<%text(_ADD_RIGHT_TT)%>" width="16" height="16" />
\r
103 <span class="jsbuttonspacer"> </span>
\r
104 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="addMedia()">
\r
105 <img src="<%skinfile(/images/button-media.gif)%>" title="<%text(_ADD_MEDIA_TT)%>" alt="<%text(_ADD_MEDIA_TT)%>" width="16" height="16" />
\r
108 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="showedit()">
\r
109 <img src="<%skinfile(/images/button-preview.gif)%>" title="<%text(_ADD_PREVIEW_TT)%>" alt="<%text(_ADD_PREVIEW_TT)%>" width="16" height="16" />
\r
112 <div class="jsbuttonend"></div>
\r
115 <textarea id="inputbody" name="body" cols="58" rows="12"><%contents(body)%></textarea></td>
\r
118 <td><%text(_ADD_CATEGORY)%></td>
\r
119 <td><%categories%></td>
\r
123 <td><%text(_AUTOSAVEDRAFT_NOW)%></td>
\r
124 <td><input type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" tabindex="80" onclick="autoSaveDraft();" /></td>
\r
130 <div id="more" class="contentblock">
\r
131 <table frame="box" rules="all" summary="<%text(_BMLET_MORE)%>">
\r
133 <td><%text(_ADD_MORE)%> <%helplink(extended)%></td>
\r
136 <div class="jsbuttonbar">
\r
138 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="cutThis()">
\r
139 <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" />
\r
141 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="copyThis()">
\r
142 <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" />
\r
144 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="pasteThis()">
\r
145 <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" />
\r
147 <span class="jsbuttonspacer"> </span>
\r
148 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
\r
149 <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" />
\r
151 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
\r
152 <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" />
\r
154 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
\r
155 <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" />
\r
159 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
\r
160 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>" alt="<%text(_ADD_BOLD_TT)%>" width="16" height="16" />
\r
162 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
\r
163 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>" alt="<%text(_ADD_ITALIC_TT)%>" width="16" height="16" />
\r
165 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
\r
166 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>" alt="<%text(_ADD_HREF_TT)%>" width="16" height="16" />
\r
169 <span class="jsbuttonspacer"> </span>
\r
170 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignleftThis()">
\r
171 <img src="<%skinfile(/images/button-alignleft.gif)%>" title="<%text(_ADD_ALIGNLEFT_TT)%>" alt="<%text(_ADD_ALIGNLEFT_TT)%>" width="16" height="16" />
\r
173 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignrightThis()">
\r
174 <img src="<%skinfile(/images/button-alignright.gif)%>" title="<%text(_ADD_ALIGNRIGHT_TT)%>" alt="<%text(_ADD_ALIGNRIGHT_TT)%>" width="16" height="16" />
\r
176 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="aligncenterThis()">
\r
177 <img src="<%skinfile(/images/button-aligncenter.gif)%>" title="<%text(_ADD_ALIGNCENTER_TT)%>" alt="<%text(_ADD_ALIGNCENTER_TT)%>" width="16" height="16" />
\r
179 <span class="jsbuttonspacer"> </span>
\r
180 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="leftThis()">
\r
181 <img src="<%skinfile(/images/button-left.gif)%>" title="<%text(_ADD_LEFT_TT)%>" alt="<%text(_ADD_LEFT_TT)%>" width="16" height="16" />
\r
183 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="rightThis()">
\r
184 <img src="<%skinfile(/images/button-right.gif)%>" title="<%text(_ADD_RIGHT_TT)%>" alt="<%text(_ADD_RIGHT_TT)%>" width="16" height="16" />
\r
186 <span class="jsbuttonspacer"> </span>
\r
187 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="addMedia()">
\r
188 <img src="<%skinfile(/images/button-media.gif)%>" title="<%text(_ADD_MEDIA_TT)%>" alt="<%text(_ADD_MEDIA_TT)%>" width="16" height="16" />
\r
191 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="showedit()">
\r
192 <img src="<%skinfile(/images/button-preview.gif)%>" title="<%text(_ADD_PREVIEW_TT)%>" alt="<%text(_ADD_PREVIEW_TT)%>" width="16" height="16" />
\r
195 <div class="jsbuttonend"></div>
\r
198 <textarea id="inputmore" name="more" cols="58" rows="17"><%contents(more)%></textarea>
\r
204 <div id="options" class="contentblock">
\r
205 <table frame="box" rules="all" summary="<%text(_BMLET_OPTIONS)%>">
\r
207 <%if(blogsetting, bcomments)%>
\r
209 <td><%text(_ADD_DISABLE_COMMENTS)%></td>
\r
211 <input type='radio' id="closed_yes" name='closed' value='1' />
\r
212 <label for="closed_yes"><%text(_YES)%></label>
\r
213 <input type='radio' id="closed_no" name='closed' value='0' checked='checked' />
\r
214 <label for="closed_no"><%text(_NO)%></label>
\r
220 <td><%text(_ADD_DRAFTNFUTURE)%></td>
\r
222 <input type="radio" name="actiontype" value="addnow" checked='checked' id="act_now" />
\r
223 <label for="act_now"><%text(_ADD_ADDNOW)%></label><br />
\r
224 <input type="radio" id="act_future" name="actiontype" value="addfuture" />
\r
225 <label for="act_future"><%text(_ADD_ADDLATER)%></label> <%helplink(future)%>
\r
226 <div class="indent">
\r
227 <%text(_ADD_PLACE_ON)%>
\r
228 <input id="inputday" name="day" value="<%currenttime(mday)%>" size="2" onchange="document.forms[0].act_future.checked=true;" />/
\r
229 <input id="inputmonth" name="month" value="<%currenttime(mon)%>" size="2" onchange="document.forms[0].act_future.checked=true;" />/
\r
230 <input id="inputyear" name="year" value="<%currenttime(year)%>" size="4" onchange="document.forms[0].act_future.checked=true;" />
\r
232 <input id="inputhour" name="hour" value="<%currenttime(hours)%>" size="2" onchange="document.forms[0].act_future.checked=true;" />:
\r
233 <input id="inputminutes" name="minutes" value="<%currenttime(minutes)%>" size="2" onchange="document.forms[0].act_future.checked=true;" />
\r
236 <%if(blogsetting, ballowpast,0)%>
\r
238 <%text(_ADD_NOPASTDATES)%>
\r
242 <input type="radio" name="actiontype" value="adddraft" id="act_draft" />
\r
243 <label for="act_draft"><%text(_ADD_ADDDRAFT)%></label> <%helplink(draft)%>
\r
248 <td><%text(_ADD_PLUGIN_EXTRAS)%></td>
\r
249 <td><%pluginextras%></td>
\r
256 <div id="preview" class="contentblock">
\r
257 <h2><%text(_ADD_PREVIEW)%></h2>
\r
258 <b><span id="prevtitle"> </span></b><br />
\r
259 <span id="prevbody"> </span><br />
\r
260 <span id="prevmore"> </span>
\r
269 <part name="itemedit">
\r
270 <![CDATA[<%pagehead%>
\r
271 <h1><%text(_EDIT_ITEM)%> (<%contents(itemid)%>)</h1>
\r
272 <form id="editform" method="post" action="bookmarklet.php" ><div>
\r
273 <input type="hidden" name="action" value="edititem" />
\r
274 <input type="hidden" name="itemid" value="<%contents(itemid)%>" />
\r
275 <input type="hidden" name="draftid" value="0" />
\r
278 <div id="submit" class="buttonbar">
\r
279 <div id="switchbuttons">
\r
280 <input type="button" value="<%text(_BMLET_BODY)%> >>" onclick="flipBlock('body');" />
\r
281 <input type="button" value="<%text(_BMLET_MORE)%> >>" onclick="flipBlock('more');" />
\r
282 <input type="button" value="<%text(_BMLET_OPTIONS)%> >>" onclick="flipBlock('options');" />
\r
283 <input type="button" value="<%text(_BMLET_PREVIEW)%> >>" onclick="updAllPreviews(); flipBlock('preview');" />
\r
285 <input type="submit" value="<%text(_BMLET_EDIT)%>" onclick="return checkSubmit();" />
\r
286 <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />
\r
289 <div id="body" class="contentblock">
\r
290 <table frame="box" rules="all" summary="<%text(_BMLET_BODY)%>">
\r
294 <td><%text(_AUTOSAVEDRAFT)%></td>
\r
295 <td><span id="info"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%></span></td>
\r
300 <td><%text(_ADD_TITLE)%></td>
\r
301 <td><input type="text" id="inputtitle" name="title" value="<%contents(title)%>" size="60" maxlength="160" /></td>
\r
304 <td><%text(_ADD_BODY)%></td>
\r
307 <div class="jsbuttonbar">
\r
309 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="cutThis()">
\r
310 <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" />
\r
312 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="copyThis()">
\r
313 <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" />
\r
315 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="pasteThis()">
\r
316 <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" />
\r
318 <span class="jsbuttonspacer"> </span>
\r
319 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
\r
320 <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" />
\r
322 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
\r
323 <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" />
\r
325 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
\r
326 <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" />
\r
330 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
\r
331 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>" alt="<%text(_ADD_BOLD_TT)%>" width="16" height="16" />
\r
333 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
\r
334 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>" alt="<%text(_ADD_ITALIC_TT)%>" width="16" height="16" />
\r
336 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
\r
337 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>" alt="<%text(_ADD_HREF_TT)%>" width="16" height="16" />
\r
340 <span class="jsbuttonspacer"> </span>
\r
341 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignleftThis()">
\r
342 <img src="<%skinfile(/images/button-alignleft.gif)%>" title="<%text(_ADD_ALIGNLEFT_TT)%>" alt="<%text(_ADD_ALIGNLEFT_TT)%>" width="16" height="16" />
\r
344 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignrightThis()">
\r
345 <img src="<%skinfile(/images/button-alignright.gif)%>" title="<%text(_ADD_ALIGNRIGHT_TT)%>" alt="<%text(_ADD_ALIGNRIGHT_TT)%>" width="16" height="16" />
\r
347 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="aligncenterThis()">
\r
348 <img src="<%skinfile(/images/button-aligncenter.gif)%>" title="<%text(_ADD_ALIGNCENTER_TT)%>" alt="<%text(_ADD_ALIGNCENTER_TT)%>" width="16" height="16" />
\r
350 <span class="jsbuttonspacer"> </span>
\r
351 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="leftThis()">
\r
352 <img src="<%skinfile(/images/button-left.gif)%>" title="<%text(_ADD_LEFT_TT)%>" alt="<%text(_ADD_LEFT_TT)%>" width="16" height="16" />
\r
354 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="rightThis()">
\r
355 <img src="<%skinfile(/images/button-right.gif)%>" title="<%text(_ADD_RIGHT_TT)%>" alt="<%text(_ADD_RIGHT_TT)%>" width="16" height="16" />
\r
357 <span class="jsbuttonspacer"> </span>
\r
358 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="addMedia()">
\r
359 <img src="<%skinfile(/images/button-media.gif)%>" title="<%text(_ADD_MEDIA_TT)%>" alt="<%text(_ADD_MEDIA_TT)%>" width="16" height="16" />
\r
362 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="showedit()">
\r
363 <img src="<%skinfile(/images/button-preview.gif)%>" title="<%text(_ADD_PREVIEW_TT)%>" alt="<%text(_ADD_PREVIEW_TT)%>" width="16" height="16" />
\r
366 <div class="jsbuttonend"></div>
\r
369 <textarea id="inputbody" name="body" cols="58" rows="12"><%contents(body)%></textarea>
\r
373 <td><%text(_ADD_CATEGORY)%></td>
\r
374 <td><%categories%></td>
\r
378 <td><%text(_AUTOSAVEDRAFT_NOW)%></td>
\r
379 <td><input type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" tabindex="80" onclick="autoSaveDraft();" /></td>
\r
385 <div id="more" class="contentblock">
\r
386 <table frame="box" rules="all" summary="<%text(_BMLET_MORE)%>">
\r
388 <td><%text(_ADD_MORE)%> <%helplink(extended)%></td>
\r
391 <div class="jsbuttonbar">
\r
393 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="cutThis()">
\r
394 <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" />
\r
396 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="copyThis()">
\r
397 <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" />
\r
399 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="pasteThis()">
\r
400 <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" />
\r
402 <span class="jsbuttonspacer"> </span>
\r
403 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
\r
404 <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" />
\r
406 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
\r
407 <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" />
\r
409 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
\r
410 <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" />
\r
414 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="boldThis()">
\r
415 <img src="<%skinfile(/images/button-bold.gif)%>" title="<%text(_ADD_BOLD_TT)%>" alt="<%text(_ADD_BOLD_TT)%>" width="16" height="16" />
\r
417 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="italicThis()">
\r
418 <img src="<%skinfile(/images/button-italic.gif)%>" title="<%text(_ADD_ITALIC_TT)%>" alt="<%text(_ADD_ITALIC_TT)%>" width="16" height="16" />
\r
420 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="ahrefThis()">
\r
421 <img src="<%skinfile(/images/button-link.gif)%>" title="<%text(_ADD_HREF_TT)%>" alt="<%text(_ADD_HREF_TT)%>" width="16" height="16" />
\r
424 <span class="jsbuttonspacer"> </span>
\r
425 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignleftThis()">
\r
426 <img src="<%skinfile(/images/button-alignleft.gif)%>" title="<%text(_ADD_ALIGNLEFT_TT)%>" alt="<%text(_ADD_ALIGNLEFT_TT)%>" width="16" height="16" />
\r
428 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="alignrightThis()">
\r
429 <img src="<%skinfile(/images/button-alignright.gif)%>" title="<%text(_ADD_ALIGNRIGHT_TT)%>" alt="<%text(_ADD_ALIGNRIGHT_TT)%>" width="16" height="16" />
\r
431 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="aligncenterThis()">
\r
432 <img src="<%skinfile(/images/button-aligncenter.gif)%>" title="<%text(_ADD_ALIGNCENTER_TT)%>" alt="<%text(_ADD_ALIGNCENTER_TT)%>" width="16" height="16" />
\r
434 <span class="jsbuttonspacer"> </span>
\r
435 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="leftThis()">
\r
436 <img src="<%skinfile(/images/button-left.gif)%>" title="<%text(_ADD_LEFT_TT)%>" alt="<%text(_ADD_LEFT_TT)%>" width="16" height="16" />
\r
438 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="rightThis()">
\r
439 <img src="<%skinfile(/images/button-right.gif)%>" title="<%text(_ADD_RIGHT_TT)%>" alt="<%text(_ADD_RIGHT_TT)%>" width="16" height="16" />
\r
441 <span class="jsbuttonspacer"> </span>
\r
442 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="addMedia()">
\r
443 <img src="<%skinfile(/images/button-media.gif)%>" title="<%text(_ADD_MEDIA_TT)%>" alt="<%text(_ADD_MEDIA_TT)%>" width="16" height="16" />
\r
446 <span class="jsbutton" onmouseover="BtnHighlight(this);" onmouseout="BtnNormal(this);" onclick="showedit()">
\r
447 <img src="<%skinfile(/images/button-preview.gif)%>" title="<%text(_ADD_PREVIEW_TT)%>" alt="<%text(_ADD_PREVIEW_TT)%>" width="16" height="16" />
\r
450 <div class="jsbuttonend"></div>
\r
453 <textarea id="inputmore" name="more" cols="58" rows="17"><%contents(more)%></textarea>
\r
459 <div id="options" class="contentblock">
\r
460 <table frame="box" rules="all" summary="<%text(_BMLET_OPTIONS)%>">
\r
461 <%if(blogsetting, bcomments)%>
\r
463 <td><%text(_ADD_DISABLE_COMMENTS)%></td>
\r
465 <input type="radio" name="closed" value="1" id="closed_yes" <%checkedonval(1,closed)%> /><label for="closed_yes"><%text(_YES)%></label>
\r
466 <input type="radio" name="closed" value="0" id="closed_no" <%checkedonval(0,closed)%> /><label for="closed_no"><%text(_NO)%></label>
\r
471 <td><%text(_SUBMIT)%></td>
\r
473 <input id="act_edit" type="radio" name="actiontype" value="edit" checked="checked" />
\r
474 <label for="act_edit"><%text(_BMLET_EDIT)%></label>
\r
475 <input id="act_delete" type="radio" name="actiontype" value="delete" />
\r
476 <label for="act_delete"><%text(_BMLET_DELETE)%></label>
\r
478 <%if(blogsetting, ballowpast)%>
\r
479 <input id="act_changedate" name="actiontype" value="changedate" type="radio" tabindex="70" />
\r
480 <label for="act_changedate"><%text(_BMLET_CHANGEDATE)%></label> <%helplink(changedate)%>
\r
482 <div class="indent">
\r
483 <input id="inputday" name="day" value="<%itemtime(mday)%>" size="2" tabindex="71" onchange="document.forms[0].act_changedate.checked=true;" />/
\r
484 <input id="inputmonth" name="month" value="<%itemtime(mon)%>" tabindex="72" size="2" onchange="document.forms[0].act_changedate.checked=true;" />/
\r
485 <input id="inputyear" name="year" tabindex="73" size="4" value="<%itemtime(year)%>" onchange="document.forms[0].act_changedate.checked=true;" />
\r
487 <input id="inputhour" name="hour" value="<%itemtime(hours)%>" size="2" tabindex="74" onchange="document.forms[0].act_changedate.checked=true;" />:
\r
488 <input id="inputminutes" name="minutes" value="<%itemtime(minutes)%>" size="2" tabindex="75" onchange="document.forms[0].act_changedate.checked=true;" />
\r
491 <input type="radio" id="act_backtodrafts" name="actiontype" value="backtodrafts" tabindex="71" />
\r
492 <label for="act_backtodrafts">
\r
493 <%text(_BMLET_BACKTODRAFTS)%></label> <%helplink(draft)%>
\r
500 <td><%text(_ADD_PLUGIN_EXTRAS)%></td>
\r
501 <td><%pluginextras%></td>
\r
508 <div id="preview" class="contentblock">
\r
509 <h2><%text(_ADD_PREVIEW)%></h2>
\r
510 <b><span id="prevtitle"> </span></b><br />
\r
511 <span id="prevbody"> </span><br />
\r
512 <span id="prevmore"> </span>
\r
519 <part name="pagefoot">
\r
520 <![CDATA[<%if(autosave)%>
\r
521 <script type="text/javascript">
\r
522 var xmlhttprequest = new Array();
\r
523 xmlhttprequest[0] = createHTTPHandler(); // AutoDraft handler
\r
524 xmlhttprequest[1] = createHTTPHandler(); // UpdateTicket handler
\r
525 var seconds = now(); // Last AutoDraft time
\r
526 var checks = 0; // Number of checks since last AutoDraft
\r
527 var addform = document.getElementById('addform'); // The form id
\r
528 var goal = document.getElementById('info'); // The html div id where 'Last saved: date time' must come
\r
529 var goalurl = '../action.php'; // The PHP file where the content must be posted to
\r
530 var lastsavedtext = '<%text(_AUTOSAVEDRAFT_LASTSAVED)%>'; // The language variable for 'Last saved'
\r
531 var formtype = 'add'; // Add or edit form
\r
538 <part name="pagehead">
\r
539 <![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\r
540 <html xmlns="http://www.w3.org/1999/xhtml">
\r
542 <title><%title%></title>
\r
543 <link rel="stylesheet" type="text/css" href="<%skinfile(/styles/bookmarklet.css)%>" />
\r
544 <link rel="stylesheet" type="text/css" href="<%skinfile(/styles/addedit.css)%>" />
\r
545 <script type="text/javascript" src="<%skinfile(/javascripts/bookmarklet.js)%>"></script>
\r
546 <script type="text/javascript" src="<%skinfile(/javascripts/edit.js)%>"></script>
\r
547 <script type="text/javascript" src="<%skinfile(/javascripts/numbercheck.js)%>"></script>
\r
550 <script type="text/javascript" src="<%skinfile(/javascripts/xmlhttprequest.js)%>"></script>
\r
557 <script type="text/javascript">
\r
558 var nucleus_initbm_oldonload = window.onload;
\r
559 function nucleus_initbm()
\r
564 if ( nucleus_initbm_oldonload )
\r
566 nucleus_initbm_oldonload();
\r
569 window.onload = nucleus_initbm;
\r
575 <part name="showlogin">
\r
576 <![CDATA[<%pagehead%><h2><%text(_LOGIN)%></h2>
\r
578 <form action="bookmarklet.php" method="post">
\r
580 <%text(_LOGIN_NAME)%> <br /><input name="login" tabindex="10" /><br />
\r
581 <%text(_LOGIN_PASSWORD)%> <br /><input name="password" tabindex="20" type="password" /><br />
\r
582 <input type="checkbox" value="1" name="shared" tabindex="40" id="shared" />
\r
583 <label for="shared"><%text(_LOGIN_SHARED)%></label><br />
\r
584 <a href="forgotpassword.php"><%text(_LOGIN_FORGOT)%></a>
\r
586 <%passrequestvars%>
\r
588 <input type="hidden" name="blogid" value="<%blogid%>" />
\r
589 <input type="hidden" name="itemid" value="<%itemid%>" />
\r
590 <input type="hidden" name="logtext" value="<%log_text%>" />
\r
591 <input type="hidden" name="loglink" value="<%log_link%>" />
\r
592 <input type="hidden" name="loglinktitle" value="<%log_linktitle%>" />
\r
594 <input type="hidden" name="nextaction" value="<%action%>" />
\r
595 <button type="submit" name="action" value="login"><%text(_LOGIN)%></button>
\r
598 <%pagefoot%>]]></part>
\r
600 <part name="adminerrorpage"><![CDATA[
\r
602 <h2><%contents(title)%></h2>
\r
603 <p><%contents(msg)%></p>
\r
604 <p><a href="bookmarklet.php" onclick="window.close();window.opener.location.reload();"><%text(_POPUP_CLOSE)%></a></p>
\r
609 <template name="admin/bookmarklet">
\r
610 <description><![CDATA[ブックマークレット用のデフォルトテンプレート]]></description>
\r