2 Template file for publishing form.
3 </comment><!DOCTYPE HTML PUBLIC
4 "-//W3C//DTD HTML 4.01 Transitional//EN"
5 "http://www.w3.org/TR/html4/loose.dtd">
8 <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
9 <title>${config["Mir.Name"]} | ${lang("posting.htmltitle")}</title>
10 <link rel="stylesheet" type="text/css" href="/css/main.css" />
14 <body class="interior" id="publish">
16 <!--#include virtual="/${language.code}/navigation.html" -->
18 <function showErrors(aField)>
20 function to display error message at the input box // occam, 2003-06-09
26 ${lang(e.message + "." + e.field)}
33 Please correct the following errors:<br />
35 <!-- <p class="errors"> -->
37 ${lang("content."+e.field)}:
39 ${lang(e.message)}<br />
40 <list e.parameters as p>
41 ${utility.prettyEncodeHTML(p)}<br />
49 <include "disclaimer.inc.de">
54 ${lang("posting.form.title")}
59 ${lang("posting.errors")}
63 <!-- ${lang("posting.step00")} -->
66 ${lang("posting.readhowtos")}
70 <form enctype="multipart/form-data" action="${actionURL}&do=opensession&sessiontype=article" method="post">
73 what the heck is this? --patrick
77 ${lang("posting.password")}<br />
78 <input type="password" class="formPassword" id="" name="password" value="" size="20" maxlength="" tabindex="" />
81 <div class="mediaUploadCount">
83 ${lang("posting.nr_of_media")}<br />
84 ${lang("posting.nr_of_media.info")}
86 <input type="text" name="nrmediaitems" size="8" value="${utility.encodeHTML(nrmediaitems)}">
87 <input type="submit" value="${lang("posting.nr_of_media.submit")}">
89 <table class="formWrap" id="publishForm" cellspacing="0">
92 <input type="text" class="formText" id="" name="title" value="${utility.encodeHTML(title)}" size="45" maxlength="45" tabindex="" />
94 ${lang("posting.title")}
95 <span class="prompt">${lang("posting.title.info")}</span>
97 <span class="errors"><call showErrors("title")></span>
99 <span class="required">(${lang("required")})</span>
106 <input type="text" class="formText" id="" name="creator" value="${utility.encodeHTML(creator)}" size="45" maxlength="45" tabindex="" />
108 <td><div class="spacer"><!-- --></div></td>
111 <!-- ${lang("posting.language")} -->
112 <select name="to_language">
113 <list languages as l>
114 <option value="${l.id}">${l.name}</option>
123 ${lang("posting.author")}
125 <span class="errors"><call showErrors("creator")></span>
127 <span class="required">(${lang("required")})</span>
133 ${lang("posting.lead")}
134 <span class="prompt">${lang("posting.lead.info")}</span>
136 <textarea class="formTextarea" id="lead" name="sub-title" value="" rows="2" cols="100" wrap="virtual" tabindex="">${utility.encodeHTML(sub-title)}</textarea>
138 ${lang("posting.lead.constraint")}
142 <div class="summary">
144 ${lang("posting.abstract")}
145 <span class="prompt">${lang("posting.abstract.info")}</span>
147 <span class="errors"><call showErrors("description")></span>
149 <span class="required">(${lang("required")})</span>
152 <textarea class="formTextarea" id="summary" name="description" value="" rows="10" cols="100" wrap="virtual" tabindex="">${utility.encodeHTML(description)}</textarea>
154 ${lang("posting.abstract.constraint")}
158 <table class="formWrap" id="location" cellspacing="0">
161 <select class="formSelect" id="location" name="to_topic">
163 <if t.arhiv_url = "Location">
164 <option value="${t.id}" <list to_topic as to><if (t.id == to)>selected="selected"</if></list>>${t.title}</option>
167 <option disabled="disabled">----</option>
169 <if t.arhiv_url = "Sublocation">
170 <option value="${t.id}" <list to_topic as to><if (t.id == to)>selected="selected"</if></list>>${t.title}</option>
175 <td><div class="spacer"><!-- --></div></td>
178 <table class="formWrap" id="contentType" cellspacing="0">
181 <input type="radio" class="formRadio" id="" name="" value="" tabindex="" checked="checked" />
188 <td><div class="spacer"><!-- --></div></td>
190 <input type="radio" class="formRadio" id="" name="" value="" tabindex="" />
197 <td><div class="spacer"><!-- --></div></td>
199 <input type="radio" class="formRadio" id="" name="" value="" tabindex="" />
206 <td><div class="spacer"><!-- --></div></td>
209 <table class="formWrap" id="contentType" cellspacing="0">
212 <input type="radio" class="formRadio" id="" name="" value="" tabindex="" />
219 <td><div class="spacer"><!-- --></div></td>
221 <input type="radio" class="formRadio" id="" name="" value="" tabindex="" />
228 <td><div class="spacer"><!-- --></div></td>
230 <input type="radio" class="formRadio" id="" name="" value="" tabindex="" />
240 <div style="clear: both;"></div>
243 ${lang("posting.text")}
244 ${lang("posting.text.info")}
245 ${lang("posting.html")}
247 <span class="errors"><call showErrors("content_data")></span>
249 (${lang("required")})
252 <textarea class="formTextarea" id="body" name="content_data" value="" rows="40" cols="100" wrap="soft" tabindex="">${utility.encodeHTML(content_data)}</textarea>
253 <div class="formWrap" id="textFormat">
254 <table cellspacing="0">
257 <input type="radio" class="formRadio" id="" name="is_html" value="0" tabindex="" checked="checked" />
264 <td><div class="spacer"><!-- --></div></td>
266 <input type="radio" class="formRadio" id="" name="is_html" value="1" tabindex="" />
277 Replacing this with radio buttons --patrick
278 <select name="is_html">
279 <option value="0" <if is_html!="1">selected</if>>plain text</option>
280 <option value="1" <if is_html=="1">selected</if>>html</option>
284 <table class="formWrap" id="topics" cellspacing="0">
286 <td class="categories">
288 ${lang("posting.topic")}
291 <if t.arhiv_url = "Category">
292 <input type="checkbox" class="formCheckbox" id="" name="to_topic" value="${t.id}" />
296 <div class="spacer"><!-- --></div>
303 <table class="formWrap" id="topics" cellspacing="0">
305 <td class="subcategories">
307 ${lang("posting.subcategory")}
309 <!-- ${lang("posting.topic.info")} -->
310 <select class="formSelect" id="" name="to_topic" size="15" multiple="multiple">
312 <if t.arhiv_url = "Subcategory">
313 <option value="${t.id}" <list to_topic as to><if (t.id == to)>selected="selected"</if></list>>${t.title}</option>
321 <div style="clear: both;"></div>
324 ${lang("posting.contact")}
327 ${lang("posting.contact.info")}
330 <div class="contactWrap">
331 <table class="formWrap" id="contactEmail" cellspacing="0">
334 <input type="text" class="formText" id="email" name="creator_email" value="${utility.encodeHTML(creator_email)}" size="20" maxlength="80" tabindex="" />
336 ${lang("posting.email")}
339 <td><div class="spacer"><!-- --></div></td>
342 <table class="formWrap" id="contactURL" cellspacing="0">
345 <input type="text" class="formText" id="url" name="creator_main_url" value="${utility.encodeHTML(creator_main_url)}" size="75" maxlength="160" tabindex="" />
347 ${lang("posting.url")}
353 <div style="clear: both;"></div>
355 <table class="formWrap" id="contactPhone" cellspacing="0">
358 <input type="text" class="formText" id="phone" name="creator_phone" value="${utility.encodeHTML(creator_address)}" size="20" maxlength="20" tabindex="" />
360 ${lang("posting.phone")}
363 <td><div class="spacer"><!-- --></div></td>
366 <table class="formWrap" id="contactAddress" cellspacing="0">
369 <input type="text" class="formText" id="address" name="creator_address" value="${utility.encodeHTML(creator_address)}" size="20" maxlength="160" tabindex="" />
371 ${lang("posting.address")}
379 ${lang("posting.media")}
382 <list attachments as a>
383 <p> ${utility.encodeHTML(a.filename)}</p>
384 <input type="checkbox" name="${a.fieldname}_cancel"> ${lang("posting.media.cancel")}
385 <p>${lang("posting.media.title")}</p>
386 <input type="text" class="preq" name="${a.fieldname}_title" size="40" maxlength="80" value="${utility.encodeHTML(a.title)}">
390 ${lang("posting.media.info")}
393 ${lang("posting.media.howto")}
396 <list mediaitems as m>
397 <p>${lang("posting.media.media")} ${m}</p>
398 <input type="file" name="media${m}">
399 <p>${lang("posting.media.title")} ${m}</p>
400 <input type="text" class="preq" name="media${m}_title" size="40" maxlength="80" value="">
403 <if config["Localizer.OpenSession.AllowFTPUploads"]!="0">
404 <if config["Localizer.OpenSession.AllowFTPUploadSelection"]!="0" && ftpfiles>
405 <p>${lang("posting.media.ftpmedia")}</p>
406 <select name="ftpupload">
407 <option value=""> </option>
409 <option value="${utility.encodeHTML(f)}">${f}</option>
413 <p>${lang("posting.media.title")}</p>
414 <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
416 <p>${lang("posting.media.ftpmedia")}</p>
417 <input type="text" name="ftpupload" size="40" maxlength="80" value="">
418 <p>${lang("posting.media.title")}</p>
419 <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
425 ${lang("posting.submit.info")}
428 ${lang("posting.criteria")}
430 <input type="submit" name="post" class="psubmit" value="${lang("posting.submit")}">
438 <td class="margin"><div><!-- --> </td>
442 <!--#include virtual="/${language.code}/footer.html" -->