1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//DE">
4 <title>${lang("content.htmltitle")}</title>
5 <style type="text/css"> body {background-image: none;} </style>
8 <style type="text/css">
12 margin: 6px; background: #dddddd ;
14 h1, h2, h3, h4, h5, h6, p, li, dt, dd, div, td, blockquote
16 font-family:arial, helvetica, sans-serif;
29 h1 { padding-bottom: 0px; margin-bottom: 0px;}
37 border-top: 1px solid black;
38 border-left: 1px solid black;
39 border-right: 1px solid black;
40 background-color: #003366;
43 h3 { padding-bottom: 0px; margin-bottom: 0px;}
44 h4 { padding-bottom: 0px; margin-bottom: 0px;}
64 background-color: #FFFFFF;
76 background-color: #FAFAD2;
89 background-color: #FAFAD2;
101 background-color: #FAFAD2;
113 background-color: #FAFAD2;
125 background-color: #FAFAD2;
137 background-color: #FAFAD2;
149 background-color: #FFFFFF;
158 border: 2px solid green;
159 background-color: #6F0;
165 border: 2px solid red;
166 background-color: #F96;
175 background-color: #efefef;
180 background-color: #efefef;
186 background-color: #ffffff;
190 background-color: #ffffff;
202 <body bgcolor="#dddddd">
204 <function showErrors(aField)>
206 function to display error message at the input box // occam, 2003-06-09
218 <div class="pformbox">
221 ${lang("content.form.title")}
225 <div class="pformerrors">
226 Your input had the following errors:<br><br>
230 ${lang("content."+e.field)}:
232 ${lang(e.message)} <br>
233 <list e.parameters as p>
234 ${utility.prettyEncodeHTML(p)}<br>
242 ${lang("content.step00")}
246 <div class="pformstep00">
247 ${lang("content.readhowtos")}
250 <form enctype="multipart/form-data" action="${actionURL}&do=opensession&sessiontype=article" method="post">
252 ${lang("content.step01")}
257 <div class="pformstep01">
259 ${lang("content.nr_of_media")}
262 ${lang("content.nr_of_media.info")}
265 <input type="text" name="nrmediaitems" size="8" value="${utility.encodeHTML(nrmediaitems)}">
266 <input type="submit" value="${lang("content.nr_of_media.submit")}">
271 ${lang("content.step02")}
274 <div class="pformstep02">
278 ${lang("content.title")}
281 <small>${lang("content.title.info")}</small>
284 <input type="text" class="preq" name="title" size="45" maxlength="45" value="${utility.encodeHTML(title)}">
286 <big class="error"><call showErrors("title")></big>
288 <small><strong>(${lang("required")})</strong></small>
294 ${lang("content.topic")}
297 ${lang("content.topic.info")}
299 <select name="to_topic" size="10" multiple>
301 <option value="${t.id}" <list to_topic as to><if (t.id == to)>selected</if></list>>${t.title}</option>
304 <small>(${lang("optional")})</small>
308 ${lang("content.creator")}
311 <input type="text" class="preq" name="creator" value="${utility.encodeHTML(creator)}" size="45" maxlength="45">
314 <big class="error"><call showErrors("creator")></big>
316 <small><strong>(${lang("required")})</strong></small>
321 ${lang("content.abstract")}
324 ${lang("content.abstract.info")}
326 <textarea name="description" class="preq" rows="10" cols="74" wrap=virtual>${utility.encodeHTML(description)}</textarea>
328 <big class="error"><call showErrors("description")></big>
330 <small><strong>(${lang("required")})</strong></small>
333 <strong>${lang("content.abstract.constraint")}</strong>
339 ${lang("content.step03")}
342 <div class="pformstep03">
344 ${lang("content.contact.info")}
349 ${lang("content.email")}
351 <input type="text" name="creator_email" size="55" maxlength="80" value="${utility.encodeHTML(creator_email)}">
352 <small>(${lang("optional")})</small>
356 ${lang("content.url")}
358 <input type="text" name="creator_main_url" size="55" maxlength="160" value="${utility.encodeHTML(creator_main_url)}">
359 <small>(${lang("optional")})</small>
363 ${lang("content.address")}
365 <input type="text" name="creator_address" size="55" maxlength="160" value="${utility.encodeHTML(creator_address)}">
366 <small>(${lang("optional")})</small>
370 ${lang("content.phone")}
372 <input type="text" name="creator_phone" size="20" maxlength="20" value="${utility.encodeHTML(creator_address)}">
373 <small>(${lang("optional")})</small>
377 ${lang("content.step04")}
380 <div class="pformstep04">
383 ${lang("content.language")}
385 <select name="to_language">
386 <list languages as l>
387 <option value="${l.id}">${l.name}</option>
390 <small>(${lang("optional")})</small>
394 ${lang("content.content_data")}
397 ${lang("content.content_data.info")}
399 <textarea name="content_data" class="preq" rows="35" cols="74" wrap="soft">${utility.encodeHTML(content_data)}</textarea>
401 <big class="error"><call showErrors("content_data")></big>
403 <small><strong>(${lang("required")})</strong></small>
405 <p>${lang("content.html")}</p>
406 <select name="is_html">
407 <option value="0" <if is_html!="1">selected</if>>plain text</option>
408 <option value="1" <if is_html=="1">selected</if>>html</option>
414 ${lang("content.step05")}
416 <div class="pformstep05">
419 ${lang("content.media")}
422 <small>${lang("optional")}</small>
424 <list attachments as a>
427 ${utility.encodeHTML(a.filename)}
429 <input type="checkbox" name="${a.fieldname}_cancel"> ${lang("content.media.cancel")}
432 ${lang("content.media.title")}
434 <input type="text" class="preq" name="${a.fieldname}_title" size="40" maxlength="80" value="${utility.encodeHTML(a.title)}">
438 ${lang("content.media.info")}
441 ${lang("content.media.howto")}
444 <list mediaitems as m>
447 ${lang("content.media.media")} ${m}
449 <input type="file" name="media${m}">
452 ${lang("content.media.title")} ${m}
454 <input type="text" class="preq" name="media${m}_title" size="40" maxlength="80" value="">
457 <if config["Localizer.OpenSession.AllowFTPUploads"]!="0">
458 <if config["Localizer.OpenSession.AllowFTPUploadSelection"]!="0" && ftpfiles>
461 ${lang("content.media.ftpmedia")}
463 <select name="ftpupload">
464 <option value=""> </option>
466 <option value="${utility.encodeHTML(f)}">${f}</option>
471 ${lang("content.media.title")}
473 <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
477 ${lang("content.media.ftpmedia")}
479 <input type="text" name="ftpupload" size="40" maxlength="80" value="">
481 ${lang("content.media.title")}
483 <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
491 ${lang("content.step06")}
493 <div class="pformstep06">
495 ${lang("content.submit.info")}
498 ${lang("content.criteria")}
501 <div class="ppassword">
502 <img src="${actionURL}&do=captcha"/>
504 <p>${lang("content.password")}</p>
506 <p><input type="text" name="password" size="10">
507 <call showErrors("title")>
510 <div class="pbuttons">
511 <input type="submit" name="post" class="psubmit" value="${lang("content.submit")}">
512 <input type="reset" class="preset" value="${lang("content.reset")}">