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