</h1>
<if errors>
-<p class="error">${lang("comment.errors")}</p>
+ Your input had the following errors:<br><br>
+ <list errors as e>
+ <font color="red">
+ <if e.field>
+ ${lang("content."+e.field)}:
+ </if>
+ ${lang(e.message)} <br>
+ <list e.parameters as p>
+ ${utility.prettyEncodeHTML(p)}<br>
+ </list>
+ </font>
+ </list>
</if>
<form enctype="multipart/form-data" action="${actionURL}&do=opensession&sessiontype=comment" method="post">
<h2>
${lang("posting.step03")}
</h2>
+
+
<div class="pformstep02">
+
+<list attachments as a>
+ <hr>
+ <h4>
+ ${utility.encodeHTML(a.filename)}
+ </h4>
+ <input type="checkbox" name="${a.fieldname}_cancel"> ${lang("posting.media.cancel")}
+
+ <h4>
+ ${lang("posting.media.title")}
+ </h4>
+ <input type="text" class="preq" name="${a.fieldname}_title" size="40" maxlength="80" value="${utility.encodeHTML(a.title)}">
+</list>
+
+<hr>
+
<table>
<tr>
<td>
</tr>
</table>
+<if config["Localizer.OpenSession.AllowFTPUploads"]!="0">
+ <if config["Localizer.OpenSession.AllowFTPUploadSelection"]!="0" && ftpfiles>
+ <hr>
+ <h4>
+ ${lang("posting.media.ftpmedia")}
+ </h4>
+ <select name="ftpupload">
+ <option value=""> </option>
+ <list ftpfiles as f>
+ <option value="${utility.encodeHTML(f)}">${f}</option>
+ </list>
+ </select>
+
+ <h4>
+ ${lang("posting.media.title")}
+ </h4>
+ <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
+ <else>
+ <hr>
+ <h4>
+ ${lang("posting.media.ftpmedia")}
+ </h4>
+ <input type="text" name="ftpupload" size="40" maxlength="80" value="">
+ <h4>
+ ${lang("posting.media.title")}
+ </h4>
+ <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
+ </if>
+</if>
+
</div>