1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" |
---|
4 | lang="{{tpl:BlogLanguage}}"> |
---|
5 | <head> |
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
---|
7 | <meta name="MSSmartTagsPreventParsing" content="TRUE" /> |
---|
8 | <meta name="robots" content="noindex, nofollow" /> |
---|
9 | <title>{{tpl:lang Contribute}} - {{tpl:BlogName encode_html="1"}}</title> |
---|
10 | |
---|
11 | <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> |
---|
12 | <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> |
---|
13 | |
---|
14 | <link rel="alternate" type="application/rss+xml" title="RSS 2.0" |
---|
15 | href="{{tpl:BlogFeedURL type="rss2"}}" /> |
---|
16 | <link rel="alternate" type="application/atom+xml" title="Atom 1.0" |
---|
17 | href="{{tpl:BlogFeedURL type="atom"}}" /> |
---|
18 | <link rel="meta" type="application/xbel+xml" title="Blogroll" |
---|
19 | href="{{tpl:BlogrollXbelLink}}" /> |
---|
20 | |
---|
21 | <style type="text/css"> |
---|
22 | label {display:block;} |
---|
23 | input[type=text], textarea {width:100%;} |
---|
24 | .message { |
---|
25 | padding:0.5em; |
---|
26 | background: #ffc; |
---|
27 | border: 2px solid yellow; |
---|
28 | font-weight: bold; |
---|
29 | color: Black; |
---|
30 | } |
---|
31 | #available-tags .tags li, #available-tags .tags li a {display:inline;} |
---|
32 | #contribute-preview { |
---|
33 | padding:1em; |
---|
34 | border: 2px solid yellow; |
---|
35 | } |
---|
36 | </style> |
---|
37 | |
---|
38 | {{tpl:include src="_head.html"}} |
---|
39 | |
---|
40 | <link rel="stylesheet" type="text/css" href="{{tpl:BlogQmarkURL}}pf=contribute/style/jsToolBar/jsToolBar.css" /> |
---|
41 | |
---|
42 | <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=contribute/js/contribute.pack.js"></script> |
---|
43 | |
---|
44 | <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=contribute/js/jsToolBar/jsToolBar.js"></script> |
---|
45 | <!-- # load WYSIWYG only when required --> |
---|
46 | <tpl:ContributeIf operator="or" choose_format="1" format="xhtml"> |
---|
47 | <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=contribute/js/jsToolBar/jsToolBar.wysiwyg.pack.js"></script> |
---|
48 | </tpl:ContributeIf> |
---|
49 | <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=contribute/js/confirm-close.js"></script> |
---|
50 | |
---|
51 | <link rel="stylesheet" type="text/css" href="{{tpl:BlogQmarkURL}}pf=contribute/style/datePicker/date-picker.css" /> |
---|
52 | <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=contribute/js/date-picker.js"></script> |
---|
53 | |
---|
54 | <script type="text/javascript"> |
---|
55 | //<![CDATA[ |
---|
56 | jsToolBar.prototype.iframe_css = |
---|
57 | 'body{font: 12px "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;'+ |
---|
58 | 'color : #000;background: #f9f9f9;margin: 0;padding : 2px;border: none;}'+ |
---|
59 | 'pre, code, kbd, samp {font-family:"Courier New",Courier,monospace;font-size : 1.1em;}'+ |
---|
60 | 'code {color : #666;font-weight : bold;}body > p:first-child {margin-top: 0;}'; |
---|
61 | |
---|
62 | jsToolBar.prototype.legend_msg = '{{tpl:lang You can use the following shortcuts to format your text.}}'; |
---|
63 | jsToolBar.prototype.elements.blocks.options.none = '{{tpl:lang -- none --}}'; |
---|
64 | jsToolBar.prototype.elements.blocks.options.nonebis = '{{tpl:lang -- block format --}}'; |
---|
65 | jsToolBar.prototype.elements.blocks.options.p = '{{tpl:lang Paragraph}}'; |
---|
66 | jsToolBar.prototype.elements.blocks.options.h1 = '{{tpl:lang Level 1 header}}'; |
---|
67 | jsToolBar.prototype.elements.blocks.options.h2 = '{{tpl:lang Level 2 header}}'; |
---|
68 | jsToolBar.prototype.elements.blocks.options.h3 = '{{tpl:lang Level 3 header}}'; |
---|
69 | jsToolBar.prototype.elements.blocks.options.h4 = '{{tpl:lang Level 4 header}}'; |
---|
70 | jsToolBar.prototype.elements.blocks.options.h5 = '{{tpl:lang Level 5 header}}'; |
---|
71 | jsToolBar.prototype.elements.blocks.options.h6 = '{{tpl:lang Level 6 header}}'; |
---|
72 | jsToolBar.prototype.elements.strong.title = '{{tpl:lang Strong emphasis}}'; |
---|
73 | jsToolBar.prototype.elements.em.title = '{{tpl:lang Emphasis}}'; |
---|
74 | jsToolBar.prototype.elements.ins.title = '{{tpl:lang Inserted}}'; |
---|
75 | jsToolBar.prototype.elements.del.title = '{{tpl:lang Deleted}}'; |
---|
76 | jsToolBar.prototype.elements.quote.title = '{{tpl:lang Inline quote}}'; |
---|
77 | jsToolBar.prototype.elements.code.title = '{{tpl:lang Code}}'; |
---|
78 | jsToolBar.prototype.elements.br.title = '{{tpl:lang Line break}}'; |
---|
79 | jsToolBar.prototype.elements.blockquote.title = '{{tpl:lang Blockquote}}'; |
---|
80 | jsToolBar.prototype.elements.pre.title = '{{tpl:lang Preformated text}}'; |
---|
81 | jsToolBar.prototype.elements.ul.title = '{{tpl:lang Unordered list}}'; |
---|
82 | jsToolBar.prototype.elements.ol.title = '{{tpl:lang Ordered list}}'; |
---|
83 | jsToolBar.prototype.elements.link.title = '{{tpl:lang Link}}'; |
---|
84 | jsToolBar.prototype.elements.link.href_prompt = '{{tpl:lang URL?}}'; |
---|
85 | jsToolBar.prototype.elements.link.hreflang_prompt = '{{tpl:lang Language?}}'; |
---|
86 | jsToolBar.prototype.elements.img.title = '{{tpl:lang External image}}'; |
---|
87 | jsToolBar.prototype.elements.img.src_prompt = '{{tpl:lang URL?}}'; |
---|
88 | |
---|
89 | jsToolBar.prototype.switcher_visual_title = '{{tpl:lang visual}}'; |
---|
90 | jsToolBar.prototype.switcher_source_title = '{{tpl:lang source}}'; |
---|
91 | |
---|
92 | confirmClosePage = new confirmClose('entry-form'); |
---|
93 | confirmClose.prototype.prompt = "{{tpl:lang You have unsaved changes.}}"; |
---|
94 | |
---|
95 | // Add date(s) picker(s) |
---|
96 | |
---|
97 | datePicker.prototype.months[0] = '{{tpl:lang January}}'; |
---|
98 | datePicker.prototype.months[1] = '{{tpl:lang February}}'; |
---|
99 | datePicker.prototype.months[2] = '{{tpl:lang March}}'; |
---|
100 | datePicker.prototype.months[3] = '{{tpl:lang April}}'; |
---|
101 | datePicker.prototype.months[4] = '{{tpl:lang May}}'; |
---|
102 | datePicker.prototype.months[5] = '{{tpl:lang June}}'; |
---|
103 | datePicker.prototype.months[6] = '{{tpl:lang July}}'; |
---|
104 | datePicker.prototype.months[7] = '{{tpl:lang August}}'; |
---|
105 | datePicker.prototype.months[8] = '{{tpl:lang September}}'; |
---|
106 | datePicker.prototype.months[9] = '{{tpl:lang October}}'; |
---|
107 | datePicker.prototype.months[10] = '{{tpl:lang November}}'; |
---|
108 | datePicker.prototype.months[11] = '{{tpl:lang December}}'; |
---|
109 | |
---|
110 | datePicker.prototype.days[0] = '{{tpl:lang Monday}}'; |
---|
111 | datePicker.prototype.days[1] = '{{tpl:lang Tuesday}}'; |
---|
112 | datePicker.prototype.days[2] = '{{tpl:lang Wednesday}}'; |
---|
113 | datePicker.prototype.days[3] = '{{tpl:lang Thursday}}'; |
---|
114 | datePicker.prototype.days[4] = '{{tpl:lang Friday}}'; |
---|
115 | datePicker.prototype.days[5] = '{{tpl:lang Saturday}}'; |
---|
116 | datePicker.prototype.days[6] = '{{tpl:lang Sunday}}'; |
---|
117 | |
---|
118 | datePicker.prototype.img_src = '{{tpl:BlogQmarkURL}}pf=contribute/style/datePicker/date-picker.png'; |
---|
119 | |
---|
120 | datePicker.prototype.close_msg = '{{tpl:lang close}}'; |
---|
121 | datePicker.prototype.now_msg = '{{tpl:lang now}}'; |
---|
122 | |
---|
123 | $(document).ready(function() { |
---|
124 | $('.contribute_mymeta_date').each(function() { |
---|
125 | var post_dtPick = new datePicker($(this).get(0)); |
---|
126 | post_dtPick.img_top = '1.5em'; |
---|
127 | post_dtPick.draw(); |
---|
128 | }); |
---|
129 | $('.contribute_mymeta_date_help').each(function() { |
---|
130 | $(this).remove(); |
---|
131 | }); |
---|
132 | }); |
---|
133 | |
---|
134 | //]]> |
---|
135 | </script> |
---|
136 | </head> |
---|
137 | |
---|
138 | <body class="dc-contribute"> |
---|
139 | <div id="page"> |
---|
140 | {{tpl:include src="_top.html"}} |
---|
141 | |
---|
142 | <div id="wrapper" class="clearfix"> |
---|
143 | |
---|
144 | <div class="container"> |
---|
145 | |
---|
146 | <div id="main"> |
---|
147 | <div class="post"> |
---|
148 | <div class="post-meta clearfix"> |
---|
149 | <h2 class="post-title">{{tpl:lang Contribute}}</h2> |
---|
150 | <p class="post-info right"> |
---|
151 | </p> |
---|
152 | </div><!-- End post-meta --> |
---|
153 | </div><!-- End post --> |
---|
154 | |
---|
155 | <tpl:ContributeIf message="preview"> |
---|
156 | <p class="message">{{tpl:lang This is a preview.}} |
---|
157 | {{tpl:lang Click on <strong>save</strong> when the post is ready.}} |
---|
158 | {{tpl:lang It needs to be approved by an administrator to be published.}} |
---|
159 | </p> |
---|
160 | </tpl:ContributeIf> |
---|
161 | |
---|
162 | <tpl:ContributeIf message="sent"> |
---|
163 | <p class="message">{{tpl:lang The post has been saved.}} |
---|
164 | {{tpl:lang It needs to be approved by an administrator to be published.}} |
---|
165 | </p> |
---|
166 | </tpl:ContributeIf> |
---|
167 | |
---|
168 | <tpl:SysIfFormError> |
---|
169 | <p class="error">{{tpl:lang Error:}} {{tpl:SysFormError}}</p> |
---|
170 | </tpl:SysIfFormError> |
---|
171 | |
---|
172 | <tpl:ContributePreview> |
---|
173 | <div id="p{{tpl:EntryID}}" class="post"> |
---|
174 | |
---|
175 | <div class="post-meta clearfix"> |
---|
176 | <h2 class="post-title left">{{tpl:EntryTitle encode_html="1"}}</h2> |
---|
177 | <p class="post-info right"> |
---|
178 | <span class="infopost"><span>{{tpl:lang By}} {{tpl:EntryAuthorLink}}</span> |
---|
179 | {{tpl:EntryDate}}</span> |
---|
180 | </p> |
---|
181 | </div><!-- End post-meta --> |
---|
182 | |
---|
183 | <div class="post-box"> |
---|
184 | <div class="page-content clearfix"> |
---|
185 | <div class="clearfix"> |
---|
186 | |
---|
187 | <!-- # --BEHAVIOR-- publicEntryBeforeContent --> |
---|
188 | {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} |
---|
189 | <!-- # Entry with an excerpt --> |
---|
190 | <tpl:EntryIf extended="1"> |
---|
191 | <div class="post post-excerpt">{{tpl:EntryExcerpt}}</div> |
---|
192 | </tpl:EntryIf> |
---|
193 | <div class="post post-content">{{tpl:EntryContent}}</div> |
---|
194 | <!-- # --BEHAVIOR-- publicEntryAfterContent --> |
---|
195 | {{tpl:SysBehavior behavior="publicEntryAfterContent"}} |
---|
196 | |
---|
197 | </div> |
---|
198 | |
---|
199 | </div><!-- End post-content --> |
---|
200 | |
---|
201 | <tpl:EntryTags> |
---|
202 | <tpl:TagsHeader> |
---|
203 | <div class="post-tags"> |
---|
204 | <h3>{{tpl:lang Tags}}</h3> |
---|
205 | <ul> |
---|
206 | </tpl:TagsHeader> |
---|
207 | <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a><tpl:LoopPosition start="1" length="-1"> - </tpl:LoopPosition></li> |
---|
208 | <tpl:TagsFooter> |
---|
209 | </ul> |
---|
210 | </div> |
---|
211 | </tpl:TagsFooter> |
---|
212 | </tpl:EntryTags> |
---|
213 | |
---|
214 | <tpl:Entries category="#self" no_content="1" no_context="1" lastn="4" exclude_current="1"> |
---|
215 | <tpl:EntriesHeader> |
---|
216 | <div class="post-cat-related"> |
---|
217 | <h3>{{tpl:lang Posted in the same category}} "<a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>"</h3> |
---|
218 | <ul> |
---|
219 | </tpl:EntriesHeader> |
---|
220 | <li><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></li> |
---|
221 | <tpl:EntriesFooter> |
---|
222 | </ul> |
---|
223 | </div> |
---|
224 | </tpl:EntriesFooter> |
---|
225 | </tpl:Entries> |
---|
226 | |
---|
227 | </div><!-- End post-box --> |
---|
228 | </div><!-- End post --> |
---|
229 | |
---|
230 | <hr /> |
---|
231 | </tpl:ContributePreview> |
---|
232 | |
---|
233 | <tpl:ContributeForm> |
---|
234 | <div id="contribute"> |
---|
235 | {{tpl:ContributeHelp}} |
---|
236 | <form method="post" action="{{tpl:SysSelfURI}}" id="entry-form"> |
---|
237 | <!-- # it's a trick : when pressing Enter, the preview button |
---|
238 | will be selected instead of Convert to XHTML --> |
---|
239 | <p> |
---|
240 | <input type="submit" name="preview" value="{{tpl:lang preview}}" /> |
---|
241 | <tpl:ContributePreview> |
---|
242 | <input type="submit" name="add" value="{{tpl:lang save}}" /> |
---|
243 | </tpl:ContributePreview> |
---|
244 | </p> |
---|
245 | |
---|
246 | <tpl:ContributeIf choose_format="1"> |
---|
247 | <p> |
---|
248 | <tpl:ContributeFormaters> |
---|
249 | <tpl:LoopPosition start="1" length="1"> |
---|
250 | <label for="post_format">{{tpl:lang Text formating}} |
---|
251 | :</label> |
---|
252 | <select name="post_format" id="post_format"> |
---|
253 | </tpl:LoopPosition> |
---|
254 | <option value="{{tpl:ContributeFormat}}"<tpl:ContributeIfSelected format="1"> selected="selected"</tpl:ContributeIfSelected>>{{tpl:ContributeFormat encode_html="1"}}</option> |
---|
255 | <tpl:LoopPosition start="-1"> |
---|
256 | </select> |
---|
257 | </tpl:LoopPosition> |
---|
258 | </tpl:ContributeFormaters> |
---|
259 | </p> |
---|
260 | |
---|
261 | <p id="p-convert-xhtml"> |
---|
262 | <input type="submit" name="convert-xhtml" id="convert-xhtml" value="{{tpl:lang convert to XHTML}}" /> |
---|
263 | </p> |
---|
264 | </tpl:ContributeIf> |
---|
265 | |
---|
266 | <tpl:ContributeIf choose_format="0"> |
---|
267 | <p> |
---|
268 | <input type="hidden" name="post_format" id="post_format" value="{{tpl:ContributeFormat}}" /> |
---|
269 | </p> |
---|
270 | </tpl:ContributeIf> |
---|
271 | |
---|
272 | <p id="wiki-syntax-reference"> |
---|
273 | <a href="{{tpl:lang http://dotclear.org/documentation/2.0/usage/syntaxes}}"> |
---|
274 | {{tpl:lang wiki syntax reference}}</a> |
---|
275 | </p> |
---|
276 | |
---|
277 | <p> |
---|
278 | <label for="post_title">{{tpl:lang Title}} :</label> |
---|
279 | <input type="text" id="post_title" name="post_title" size="20" maxlength="255" value="{{tpl:EntryTitle encode_html="1"}}" /> |
---|
280 | </p> |
---|
281 | |
---|
282 | <tpl:ContributeIf excerpt="1"> |
---|
283 | <p> |
---|
284 | <label for="post_excerpt">{{tpl:lang Excerpt}} ({{tpl:lang optional}}) :</label> |
---|
285 | <textarea id="post_excerpt" name="post_excerpt" cols="60" rows="10">{{tpl:ContributeEntryExcerpt}}</textarea> |
---|
286 | </p> |
---|
287 | </tpl:ContributeIf> |
---|
288 | |
---|
289 | <p> |
---|
290 | <label for="post_content">{{tpl:lang Content}} :</label> |
---|
291 | <textarea id="post_content" name="post_content" cols="60" rows="20">{{tpl:ContributeEntryContent}}</textarea> |
---|
292 | </p> |
---|
293 | |
---|
294 | <tpl:ContributeIf category="1"> |
---|
295 | <p> |
---|
296 | <tpl:Categories> |
---|
297 | <tpl:CategoriesHeader> |
---|
298 | <label for="cat_id">{{tpl:lang Category}} ({{tpl:lang optional}}) :</label> |
---|
299 | <select name="cat_id" id="cat_id"> |
---|
300 | <option value=""></option> |
---|
301 | </tpl:CategoriesHeader> |
---|
302 | <option value="{{tpl:ContributeCategoryID}}" |
---|
303 | <tpl:ContributeIfSelected category="1"> selected="selected"</tpl:ContributeIfSelected>> |
---|
304 | {{tpl:ContributeCategorySpacer string=" "}} |
---|
305 | • {{tpl:CategoryTitle encode_html="1"}} |
---|
306 | </option> |
---|
307 | <tpl:CategoriesFooter> |
---|
308 | </select> |
---|
309 | </tpl:CategoriesFooter> |
---|
310 | </tpl:Categories> |
---|
311 | </p> |
---|
312 | </tpl:ContributeIf> |
---|
313 | |
---|
314 | <tpl:ContributeIf tags="1"> |
---|
315 | <p> |
---|
316 | <label for="post_tags">{{tpl:lang Tags}} ({{tpl:lang separate tags by a comma}}) ({{tpl:lang optional}}) :</label> |
---|
317 | <!-- # avoid unnecessary spaces and line breaks --> |
---|
318 | <input type="text" name="post_tags" id="post_tags" |
---|
319 | value="<tpl:EntryTags>{{tpl:TagID}}<tpl:LoopPosition start="1" length="-1">, </tpl:LoopPosition></tpl:EntryTags>" /> |
---|
320 | </p> |
---|
321 | |
---|
322 | <tpl:Tags type="tag"> |
---|
323 | <tpl:LoopPosition start="1" length="1"> |
---|
324 | <div id="available-tags"> |
---|
325 | <h3>{{tpl:lang Tags}} :</h3> |
---|
326 | <ul class="tags"> |
---|
327 | </tpl:LoopPosition> |
---|
328 | <!-- # don't display selected tags --> |
---|
329 | <tpl:ContributeEntryTagsFilter> |
---|
330 | <li><a href="#" class="tag{{tpl:TagRoundPercent}}">{{tpl:TagID}}</a></li> |
---|
331 | </tpl:ContributeEntryTagsFilter> |
---|
332 | <tpl:LoopPosition start="-1"> |
---|
333 | </ul> |
---|
334 | </div> |
---|
335 | </tpl:LoopPosition> |
---|
336 | </tpl:Tags> |
---|
337 | </tpl:ContributeIf> |
---|
338 | |
---|
339 | <tpl:ContributeIf mymeta="1"> |
---|
340 | <tpl:ContributeEntryMyMeta> |
---|
341 | <p> |
---|
342 | <!-- # string --> |
---|
343 | <tpl:ContributeEntryMyMetaIf type="string"> |
---|
344 | <label for="mymeta_{{tpl:ContributeEntryMyMetaID}}">{{tpl:ContributeEntryMyMetaPrompt}} |
---|
345 | ({{tpl:lang optional}}) :</label> |
---|
346 | <input type="text" id="mymeta_{{tpl:ContributeEntryMyMetaID}}" |
---|
347 | name="mymeta_{{tpl:ContributeEntryMyMetaID}}" |
---|
348 | value="{{tpl:ContributeEntryMyMetaValue}}" /> |
---|
349 | </tpl:ContributeEntryMyMetaIf> |
---|
350 | <!-- # list --> |
---|
351 | <tpl:ContributeEntryMyMetaIf type="list"> |
---|
352 | <tpl:ContributeEntryMyMetaValues> |
---|
353 | <tpl:LoopPosition start="1" length="1"> |
---|
354 | <label for="mymeta_{{tpl:ContributeEntryMyMetaID}}"> |
---|
355 | {{tpl:ContributeEntryMyMetaPrompt}} :</label> |
---|
356 | <select name="mymeta_{{tpl:ContributeEntryMyMetaID}}" |
---|
357 | id="mymeta_{{tpl:ContributeEntryMyMetaID}}"> |
---|
358 | </tpl:LoopPosition> |
---|
359 | <option value="{{tpl:ContributeEntryMyMetaValuesID}}" |
---|
360 | <tpl:ContributeIfSelected mymeta="1"> selected="selected"</tpl:ContributeIfSelected>> |
---|
361 | {{tpl:ContributeEntryMyMetaValuesDescription encode_html="1"}}</option> |
---|
362 | <tpl:LoopPosition start="-1"> |
---|
363 | </select> |
---|
364 | </tpl:LoopPosition> |
---|
365 | </tpl:ContributeEntryMyMetaValues> |
---|
366 | </tpl:ContributeEntryMyMetaIf> |
---|
367 | <!-- # boolean (checkbox) --> |
---|
368 | <tpl:ContributeEntryMyMetaIf type="boolean"> |
---|
369 | <label> |
---|
370 | <input type="checkbox" id="mymeta_{{tpl:ContributeEntryMyMetaID}}" |
---|
371 | name="mymeta_{{tpl:ContributeEntryMyMetaID}}" |
---|
372 | value="1" |
---|
373 | <tpl:ContributeEntryMyMetaIfChecked> |
---|
374 | checked="checked" |
---|
375 | </tpl:ContributeEntryMyMetaIfChecked> |
---|
376 | /> |
---|
377 | {{tpl:ContributeEntryMyMetaPrompt}}</label> |
---|
378 | </tpl:ContributeEntryMyMetaIf> |
---|
379 | <!-- # section --> |
---|
380 | <tpl:ContributeEntryMyMetaIf type="section"> |
---|
381 | <h3>{{tpl:ContributeEntryMyMetaPrompt}}</h3> |
---|
382 | </tpl:ContributeEntryMyMetaIf> |
---|
383 | <!-- # date --> |
---|
384 | <tpl:ContributeEntryMyMetaIf type="date"> |
---|
385 | <label for="mymeta_{{tpl:ContributeEntryMyMetaID}}">{{tpl:ContributeEntryMyMetaPrompt}} |
---|
386 | ({{tpl:lang optional}}) :</label> |
---|
387 | <input type="text" id="mymeta_{{tpl:ContributeEntryMyMetaID}}" |
---|
388 | name="mymeta_{{tpl:ContributeEntryMyMetaID}}" |
---|
389 | value="{{tpl:ContributeEntryMyMetaValue}}" |
---|
390 | size="20" maxlength="20" |
---|
391 | class="contribute_mymeta_date" /> |
---|
392 | <span class="contribute_mymeta_date_help">{{tpl:lang Example:}} <kbd>{{tpl:EntryDate format="%Y-%m-%d %H:%M"}}</kbd></span> |
---|
393 | </tpl:ContributeEntryMyMetaIf> |
---|
394 | </p> |
---|
395 | </tpl:ContributeEntryMyMeta> |
---|
396 | </tpl:ContributeIf> |
---|
397 | |
---|
398 | <tpl:ContributeIf notes="1"> |
---|
399 | <p> |
---|
400 | <label for="post_notes">{{tpl:lang Notes}} ({{tpl:lang only visible by administrators, won't be displayed in the post}} |
---|
401 | ({{tpl:lang optional}}) :</label> |
---|
402 | <textarea id="post_notes" name="post_notes" cols="50" rows="5">{{tpl:ContributeEntryNotes}}</textarea> |
---|
403 | </p> |
---|
404 | </tpl:ContributeIf> |
---|
405 | |
---|
406 | <tpl:ContributeIf author="1"> |
---|
407 | <div id="comments"> |
---|
408 | <h3>{{tpl:lang Your informations}} :</h3> |
---|
409 | <p class="field"><label for="c_name">{{tpl:lang Name or nickname}} |
---|
410 | <tpl:ContributeIfNameAndEmailAreNotRequired>({{tpl:lang optional}}) |
---|
411 | </tpl:ContributeIfNameAndEmailAreNotRequired> :</label> |
---|
412 | <input name="c_name" id="c_name" type="text" size="30" maxlength="255" |
---|
413 | value="{{tpl:CommentPreviewName encode_html="1"}}" /> |
---|
414 | </p> |
---|
415 | |
---|
416 | <p class="field"><label for="c_mail">{{tpl:lang Email address}} |
---|
417 | <tpl:ContributeIfNameAndEmailAreNotRequired> |
---|
418 | ({{tpl:lang optional}}) |
---|
419 | </tpl:ContributeIfNameAndEmailAreNotRequired> |
---|
420 | ({{tpl:lang won't be displayed}}) :</label> |
---|
421 | <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" |
---|
422 | value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> |
---|
423 | </p> |
---|
424 | |
---|
425 | <p class="field"><label for="c_site">{{tpl:lang Website}} |
---|
426 | ({{tpl:lang optional}}) :</label> |
---|
427 | <input name="c_site" id="c_site" type="text" size="30" maxlength="255" |
---|
428 | value="{{tpl:CommentPreviewSite encode_html="1"}}" /> |
---|
429 | </p> |
---|
430 | </div> |
---|
431 | </tpl:ContributeIf> |
---|
432 | |
---|
433 | <p style="display:none"><input name="f_mail" type="text" size="30" |
---|
434 | maxlength="255" value="" /></p> |
---|
435 | |
---|
436 | <p> |
---|
437 | <input type="submit" name="preview" value="{{tpl:lang preview}}" /> |
---|
438 | <tpl:ContributePreview> |
---|
439 | <input type="submit" name="add" value="{{tpl:lang save}}" /> |
---|
440 | </tpl:ContributePreview> |
---|
441 | </p> |
---|
442 | </form> |
---|
443 | |
---|
444 | </div><!-- End #contribute --> |
---|
445 | </tpl:ContributeForm> |
---|
446 | |
---|
447 | </div> <!-- End #main --> |
---|
448 | |
---|
449 | <div class="sidebar"> |
---|
450 | {{tpl:include src="_sidebar.html"}} |
---|
451 | </div><!-- End sidebar --> |
---|
452 | |
---|
453 | </div> <!-- end #container --> |
---|
454 | |
---|
455 | </div> <!-- End #wrapper --> |
---|
456 | |
---|
457 | {{tpl:include src="_footer.html"}} |
---|
458 | </div> <!-- End #page --> |
---|
459 | </body> |
---|
460 | </html> |
---|