1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <title>${lang("comment.htmltitle")}</title>
7 <style type="text/css">
11 margin: 6px; background: #dddddd ;
13 h1, h2, h3, h4, h5, h6, p, li, dt, dd, div, td, blockquote
15 font-family:arial, helvetica, sans-serif;
33 background-color: #FFFFFF;
40 h1 { padding-bottom: 0px; margin-bottom: 0px;}
48 border-top: 1px solid black;
49 border-left: 1px solid black;
50 border-right: 1px solid black;
51 background-color: #003366;
54 h3 { padding-bottom: 0px; margin-bottom: 0px;}
55 h4 { padding-bottom: 0px; margin-bottom: 0px; }
77 background-color: #FAFAD2;
89 background-color: #FAFAD2;
102 background-color: #ffffff;
111 border: 2px solid green;
112 background-color: #6F0;
118 border: 2px solid red;
119 background-color: #F96;
127 background-color: #efefef;
132 background-color: #efefef;
138 background-color: #ffffff;
142 background-color: #ffffff;
153 <body bgcolor="#dddddd">
155 <function showErrors(aField)>
157 function to display error message at the input box // occam, 2003-06-09
168 <div class="pformbox">
170 ${lang("comment.header")}
173 ${lang("comment.note")}
177 ${lang("comment.formtitle")}
180 <form enctype="multipart/form-data" action="${actionURL}&do=opensession&sessiontype=comment" method="post">
181 <input type="hidden" name="to_media" value="${utility.encodeHTML(to_media)}">
185 ${lang("content.errors")}
187 <div class="pformstep01">
188 Your input had the following errors:<br><br>
192 ${lang("comment."+e.field)}:
194 ${lang(e.message)} <br>
195 <list e.parameters as p>
196 ${utility.prettyEncodeHTML(p)}<br>
204 ${lang("content.step01")}
206 <div class="pformstep01">
210 ${lang("comment.title")}
212 <input type="text" class="preq" name="title" size="45" maxlength="45" value="${utility.encodeHTML(title)}">
214 <big class="error"><call showErrors("title")></big>
216 <small><strong>(${lang("required")})</strong></small>
221 ${lang("comment.name")}
223 <input type="text" class="preq" name="creator" size="20" maxlength="45" value="${utility.encodeHTML(creator)}">
225 <big class="error"><call showErrors("creator")></big>
227 <small><strong>(${lang("required")})</strong></small>
232 ${lang("comment.description")}
234 <textarea name="description" class="preq" rows="20" cols="74" wrap=virtual>${utility.encodeHTML(description)}</textarea>
236 <big class="error"><call showErrors("description")></big>
238 <small><strong>(${lang("required")})</strong></small>
243 ${lang("content.step02")}
245 <div class="pformstep02">
248 ${lang("comment.email")}
250 <input type="text" name="email" size="30" maxlength="80" value="${utility.encodeHTML(email)}">
251 <small>(${lang("optional")})</small>
255 ${lang("comment.url")}
257 <input type="text" name="main_url" size="40" maxlength="160" value="http://">
258 <small>(${lang("optional")})</small>
262 ${lang("comment.phone")}
264 <input type="text" name="phone" size="30" maxlength="80" value="${utility.encodeHTML(phone)}">
265 <small>(${lang("optional")})</small>
269 ${lang("comment.address")}
271 <input type="text" name="address" size="40" maxlength="160" value="${utility.encodeHTML(address)}">
272 <small>(${lang("optional")})</small>
276 ${lang("comment.language")}
278 <select name="to_language">
279 <list languages as l>
280 <option value="${l.id}">${l.name}</option>
283 <small>(${lang("optional")})</small>
288 ${lang("content.step03")}
292 <div class="pformstep02">
294 <list attachments as a>
297 ${utility.encodeHTML(a.filename)}
299 <input type="checkbox" name="${a.fieldname}_cancel"> ${lang("content.media.cancel")}
302 ${lang("content.media.title")}
304 <input type="text" class="preq" name="${a.fieldname}_title" size="40" maxlength="80" value="${utility.encodeHTML(a.title)}">
312 ${lang("content.media.title")} 1:
315 <input type="text" name="media1_title" size="40" maxlength="80" value=""><br>
319 <td>${lang("content.media.media")} 1</td>
321 <INPUT TYPE="file" NAME="media1">
326 ${lang("content.media.title")} 2:
329 <input type="text" name="media2_title" size="40" maxlength="80" value=""><br>
333 <td>${lang("content.media.media")} 2</td>
335 <INPUT TYPE="file" NAME="media2">
340 ${lang("content.media.title")} 3:
343 <input type="text" name="media3_title" size="40" maxlength="80" value=""><br>
347 <td>${lang("content.media.media")} 3</td>
349 <INPUT TYPE="file" NAME="media3">
354 <if config["Localizer.OpenSession.AllowFTPUploads"]!="0">
355 <if config["Localizer.OpenSession.AllowFTPUploadSelection"]!="0" && ftpfiles>
358 ${lang("content.media.ftpmedia")}
360 <select name="ftpupload">
361 <option value=""> </option>
363 <option value="${utility.encodeHTML(f)}">${f}</option>
368 ${lang("content.media.title")}
370 <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
374 ${lang("content.media.ftpmedia")}
376 <input type="text" name="ftpupload" size="40" maxlength="80" value="">
378 ${lang("content.media.title")}
380 <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
388 ${lang("content.step04")}
390 <div class="pformstep06">
392 <div class="ppassword">
393 <img src="${actionURL}&do=captcha"/>
395 <p>${lang("content.password")}</p>
397 <p><input type="text" name="password" size="10">
398 <call showErrors("title")>
401 <div class="pbuttons">
402 <input type="submit" name="post" class="psubmit" value="${lang("comment.submit")}">
403 <input type="reset" class="preset" value="${lang("comment.reset")}">