| [ Index ] |
PHP Cross Reference of Nucleus CMS 3.32 |
[Summary view] [Print] [Text view]
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 <script type="text/javascript" src="javascript/xmlhttprequest.js"></script> 11 <%init%> 12 <%extrahead%> 13 <script type="text/javascript"> 14 var nucleus_initbm_oldonload = window.onload; 15 function nucleus_initbm() 16 { 17 initStyles(); 18 updAllPreviews(); 19 20 if (nucleus_initbm_oldonload) 21 nucleus_initbm_oldonload(); 22 } 23 window.onload = nucleus_initbm; 24 </script> 25 </head> 26 <body> 27 <h1><%text(_ADD_ADDTO)%> '<%bloglink%>'</h1> 28 <form id="addform" method="post" action="bookmarklet.php" ><div> 29 30 <input name="action" type="hidden" value="additem" /> 31 <input name="blogid" type="hidden" value="<%blogid%>" /> 32 <input type="hidden" name="draftid" value="0" /> 33 <%ticket%> 34 35 <div id="submit" class="buttonbar"> 36 <input type="submit" value="<%text(_BMLET_ADD)%>" onclick="return checkSubmit();" /> 37 <div id="switchbuttons"> 38 <input type="button" onclick="flipBlock('body');" value="<%text(_BMLET_BODY)%> >>" /> 39 <input type="button" onclick="flipBlock('more');" value="<%text(_BMLET_MORE)%> >>" /> 40 <input type="button" onclick="flipBlock('options');" value="<%text(_BMLET_OPTIONS)%> >>" /> 41 <input type="button" onclick="updAllPreviews(); flipBlock('preview');" value="<%text(_BMLET_PREVIEW)%> >>" /> 42 </div> 43 </div> 44 45 <div id="body" class="contentblock"> 46 47 <table> 48 <tr> 49 <td><%text(_AUTOSAVEDRAFT)%></td> 50 <td><span id="info"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%></span></td> 51 </tr> 52 <tr> 53 <td><%text(_ADD_TITLE)%></td> 54 <td> 55 <input 56 <%jsinput(title)%> 57 type="text" size="60" maxlength="160" 58 value="<%contents(title)%>" 59 /></td> 60 </tr><tr> 61 <td> 62 <%text(_ADD_BODY)%> <%helplink(additem)%></td> 63 <td> 64 <%jsbuttonbar(media)%> 65 <textarea 66 <%jsinput(body)%> 67 cols="58" 68 rows="12"><%contents(body)%></textarea> 69 70 </td></tr> 71 <tr><td> 72 <%text(_ADD_CATEGORY)%></td> 73 <td><%categories%></td> 74 </tr> 75 <tr> 76 <td><%text(_AUTOSAVEDRAFT_NOW)%></td> 77 <td><input tabindex="80" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" onclick="autoSaveDraft();" /></td> 78 </tr> 79 </table> 80 81 82 </div> 83 84 <div id="more" class="contentblock"> 85 <table> 86 <tr> 87 <td><%text(_ADD_MORE)%> <%helplink(extended)%></td> 88 <td> 89 <%jsbuttonbar(media)%> 90 <textarea 91 <%jsinput(more)%> 92 cols="58" 93 rows="17"><%contents(more)%></textarea> 94 </td></tr></table> 95 </div> 96 <div id="options" class="contentblock"> 97 <table> 98 <%ifblogsetting(bcomments)%> 99 <tr> 100 <td><%text(_ADD_DISABLE_COMMENTS)%></td> 101 <td> 102 <input type='radio' name='closed' value='1' id="closed_yes" /><label for="closed_yes"><%text(_YES)%></label> 103 <input type='radio' name='closed' value='0' checked='checked' id="closed_no"/><label for="closed_no"><%text(_NO)%></label> 104 </td> 105 </tr> 106 <%endif%> 107 108 <tr> 109 <td><%text(_ADD_DRAFTNFUTURE)%></td> 110 <td> 111 <input name="actiontype" value="addnow" type="radio" checked='checked' id="act_now" /><label for="act_now"><%text(_ADD_ADDNOW)%></label> 112 <br /> 113 <input name="actiontype" value="addfuture" type="radio" id="act_future" /><label for="act_future"><%text(_ADD_ADDLATER)%></label> <%helplink(future)%> 114 <div class="indent"> 115 <%text(_ADD_PLACE_ON)%> 116 <input id="inputday" name="day" size="2" value="<%currenttime(mday)%>" />/ 117 <input id="inputmonth" name="month" size="2" value="<%currenttime(mon)%>" />/ 118 <input id="inputyear" name="year" size="4" value="<%currenttime(year)%>" /> 119 at 120 <input id="inputhour" name="hour" size="2" value="<%currenttime(hours)%>" />: 121 <input id="inputminutes" name="minutes" size="2" value="<%currenttime(minutes)%>" /> 122 (dd/mm/yyyy hh:mm) 123 <%ifblogsetting(ballowpast,0)%> 124 <br /> 125 <%text(_ADD_NOPASTDATES)%> 126 <%endif%> 127 </div> 128 <input name="actiontype" value="adddraft" type="radio" id="act_draft" /><label for="act_draft"><%text(_ADD_ADDDRAFT)%></label> <%helplink(draft)%> 129 </td> 130 </tr> 131 <tr> 132 <td><%text(_ADD_PLUGIN_EXTRAS)%></td> 133 <td> 134 <%pluginextras%></td> 135 </tr> 136 137 138 <%itemoptions%> 139 </table> 140 141 142 </div> 143 144 <div id="preview" class="contentblock"> 145 <h2><%text(_ADD_PREVIEW)%></h2> 146 147 <b><span id="prevtitle"> </span></b> 148 <br /> 149 <span id="prevbody"> </span> 150 <br /> 151 <span id="prevmore"> </span> 152 </div> 153 154 </div></form> 155 156 <script type="text/javascript"> 157 var xmlhttprequest = new Array(); 158 xmlhttprequest[0] = createHTTPHandler(); // AutoDraft handler 159 xmlhttprequest[1] = createHTTPHandler(); // UpdateTicket handler 160 var seconds = now(); // Last AutoDraft time 161 var checks = 0; // Number of checks since last AutoDraft 162 var addform = document.getElementById('addform'); // The form id 163 var goal = document.getElementById('info'); // The html div id where 'Last saved: date time' must come 164 var goalurl = '../action.php'; // The PHP file where the content must be posted to 165 var lastsavedtext = '<%text(_AUTOSAVEDRAFT_LASTSAVED)%>'; // The language variable for 'Last saved' 166 var formtype = 'add'; // Add or edit form 167 </script> 168 169 </body> 170 </html> 171
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Feb 12 15:34:36 2008 | Cross-referenced by PHPXref 0.7 |