<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//DE">
<html>
<head>
-<title>${lang("posting.htmltitle")}</title>
-<meta name="description" content="${lang("posting.meta.description")}">
-<meta name="author" content="${lang("posting.meta.author")}">
-<meta name="keywords" content="${lang("posting.meta.keywords")}">
-<!--<meta name="date" content="### Date ###Time">-->
-<meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">
-<meta name="robots" content="index">
-<meta name="robots" content="follow">
-
-
- <style type="text/css"> body {background-image: none;} </style>
+<title>${lang("content.htmltitle")}</title>
+<style type="text/css"> body {background-image: none;} </style>
<style type="text/css">
border-style: solid;
}
+.pformerrors
+{
+margin: none;
+border: none;
+padding: 8px;
+margin-top: 0px;
+margin-bottom: 6px;
+background-color: #FFFFFF;
+border-color: gray;
+border-width: 1px;
+border-style: solid;
+}
+.pformstep00
+{
+margin: none;
+border: none;
+padding: 8px;
+margin-top: 0px;
+margin-bottom: 6px;
+background-color: #FAFAD2;
+border-color: gray;
+border-width: 1px;
+border-style: solid;
+}
+
.pformstep01
{
margin: none;
<body bgcolor="#dddddd">
<function showErrors(aField)>
-<comment>
-function to display error message at the input box // occam, 2003-06-09
-</comment>
-<if errors>
-<list errors as e>
-<if e.field==aField>
-${lang(e.message + "." + e.field)}
-</if>
-</list>
-</if>
+ <comment>
+ function to display error message at the input box // occam, 2003-06-09
+ </comment>
+
+ <if errors>
+ <list errors as e>
+ <if e.field==aField>
+ ${lang(e.message)}
+ </if>
+ </list>
+ </if>
</function>
- <if errors>
+<div class="pformbox">
+<h1>
+${lang("content.form.title")}
+</h1>
+ <if errors>
+<div class="pformerrors">
Your input had the following errors:<br><br>
<list errors as e>
<font color="red">
${lang("content."+e.field)}:
</if>
${lang(e.message)} <br>
+ <list e.parameters as p>
+ ${utility.prettyEncodeHTML(p)}<br>
+ </list>
</font>
</list>
-
-
- </if>
-
-
-<comment>
-
-<div class="pdiscl">
-<include "disclaimer.inc.de">
</div>
-
-</comment>
-
-<div class="pformbox">
-
-<h1>
-${lang("posting.form.title")}
-</h1>
-
- <if errors>
-<p class="error">${lang("posting.errors")}</p>
</if>
<h2>
-${lang("posting.step00")}
+${lang("content.step00")}
+
</h2>
-<div class="pformstep01">
-${lang("posting.readhowtos")}
+<div class="pformstep00">
+${lang("content.readhowtos")}
+
</div>
<form enctype="multipart/form-data" action="${actionURL}&do=opensession&sessiontype=article" method="post">
<h2>
-${lang("posting.step01")}
+${lang("content.step01")}
</h2>
<div class="pformstep01">
<h4>
-${lang("posting.nr_of_media")}
+${lang("content.nr_of_media")}
</h4>
<p>
-${lang("posting.nr_of_media.info")}
+${lang("content.nr_of_media.info")}
</p>
<p>
<input type="text" name="nrmediaitems" size="8" value="${utility.encodeHTML(nrmediaitems)}">
-<input type="submit" value="${lang("posting.nr_of_media.submit")}">
+<input type="submit" value="${lang("content.nr_of_media.submit")}">
</p>
</div>
-<if password>
-<div class="ppassword">
-${password}
-
-<p>${lang("posting.password")}</p>
-
-<p><input type="text" name="password" size="10">
-</if>
-
<h2>
-${lang("posting.step02")}
+${lang("content.step02")}
</h2>
<div class="pformstep02">
<!-- TITEL -->
<h4>
-${lang("posting.title")}
+${lang("content.title")}
</h4>
<p>
-<small>${lang("posting.title.info")}</small>
+<small>${lang("content.title.info")}</small>
</p>
<p>
<input type="text" class="preq" name="title" size="45" maxlength="45" value="${utility.encodeHTML(title)}">
<!-- TOPIC -->
<h4>
-${lang("posting.topic")}
+${lang("content.topic")}
</h4>
<p>
-${lang("posting.topic.info")}
+${lang("content.topic.info")}
</p>
<select name="to_topic" size="10" multiple>
<list topics as t>
<!-- AUTOR -->
<h4>
-${lang("posting.author")}
+${lang("content.creator")}
</h4>
<input type="text" class="preq" name="creator" value="${utility.encodeHTML(creator)}" size="45" maxlength="45">
<!-- ABSTRACT -->
<h4>
-${lang("posting.abstract")}
+${lang("content.abstract")}
</h4>
<p>
-${lang("posting.abstract.info")}
+${lang("content.abstract.info")}
</p>
<textarea name="description" class="preq" rows="10" cols="74" wrap=virtual>${utility.encodeHTML(description)}</textarea>
<if errors>
<small><strong>(${lang("required")})</strong></small>
</if>
<p>
-<strong>${lang("posting.abstract.constraint")}</strong>
+<strong>${lang("content.abstract.constraint")}</strong>
</p>
</div>
<h2>
-${lang("posting.step03")}
+${lang("content.step03")}
</h2>
<div class="pformstep03">
<p>
-${lang("posting.contact.info")}
+${lang("content.contact.info")}
</p>
<!-- EMAIL -->
<h4>
-${lang("posting.email")}
+${lang("content.email")}
</h4>
<input type="text" name="creator_email" size="55" maxlength="80" value="${utility.encodeHTML(creator_email)}">
<small>(${lang("optional")})</small>
<!-- URL -->
<h4>
-${lang("posting.url")}
+${lang("content.url")}
</h4>
<input type="text" name="creator_main_url" size="55" maxlength="160" value="${utility.encodeHTML(creator_main_url)}">
<small>(${lang("optional")})</small>
<!-- ADRESS -->
<h4>
-${lang("posting.address")}
+${lang("content.address")}
</h4>
<input type="text" name="creator_address" size="55" maxlength="160" value="${utility.encodeHTML(creator_address)}">
<small>(${lang("optional")})</small>
<!-- PHONE -->
<h4>
-${lang("posting.phone")}
+${lang("content.phone")}
</h4>
<input type="text" name="creator_phone" size="20" maxlength="20" value="${utility.encodeHTML(creator_address)}">
<small>(${lang("optional")})</small>
</div>
<h2>
-${lang("posting.step04")}
+${lang("content.step04")}
</h2>
<div class="pformstep04">
<!-- LANG -->
<h4>
-${lang("posting.language")}
+${lang("content.language")}
</h4>
<select name="to_language">
<list languages as l>
<!-- CONTENT -->
<h4>
-${lang("posting.text")}
+${lang("content.content_data")}
</h4>
<p>
-${lang("posting.text.info")}
+${lang("content.content_data.info")}
</p>
<textarea name="content_data" class="preq" rows="35" cols="74" wrap="soft">${utility.encodeHTML(content_data)}</textarea>
<if errors>
<else>
<small><strong>(${lang("required")})</strong></small>
</if>
+<p>${lang("content.html")}</p>
+<select name="is_html">
+<option value="0" <if is_html!="1">selected</if>>plain text</option>
+<option value="1" <if is_html=="1">selected</if>>html</option>
+</select>
+
</div>
<h2>
-${lang("posting.step05")}
+${lang("content.step05")}
</h2>
<div class="pformstep05">
<h4>
-${lang("posting.media")}
+${lang("content.media")}
</h4>
<p>
-${lang("posting.media.info")}
+<small>${lang("optional")}</small>
</p>
+<list attachments as a>
+ <hr>
+ <h4>
+ ${utility.encodeHTML(a.filename)}
+ </h4>
+ <input type="checkbox" name="${a.fieldname}_cancel"> ${lang("content.media.cancel")}
+
+ <h4>
+ ${lang("content.media.title")}
+ </h4>
+ <input type="text" class="preq" name="${a.fieldname}_title" size="40" maxlength="80" value="${utility.encodeHTML(a.title)}">
+</list>
+
<p>
-${lang("posting.media.howto")}
+${lang("content.media.info")}
+</p>
+<p>
+${lang("content.media.howto")}
</p>
- <list mediaitems as m>
-<h4>
-${lang("posting.media.media")} ${m}
-</h4>
-<input type="file" name="media${m}">
-
-<h4>
-${lang("posting.media.title")} ${m}
-</h4>
-<input type="text" class="preq" name="media${m}_title" size="40" maxlength="80" value="">
+<list mediaitems as m>
+ <hr>
+ <h4>
+ ${lang("content.media.media")} ${m}
+ </h4>
+ <input type="file" name="media${m}">
+
+ <h4>
+ ${lang("content.media.title")} ${m}
+ </h4>
+ <input type="text" class="preq" name="media${m}_title" size="40" maxlength="80" value="">
</list>
-<p>
-<small>${lang("optional")}</small>
-</p>
+<if config["Localizer.OpenSession.AllowFTPUploads"]!="0">
+ <if config["Localizer.OpenSession.AllowFTPUploadSelection"]!="0" && ftpfiles>
+ <hr>
+ <h4>
+ ${lang("content.media.ftpmedia")}
+ </h4>
+ <select name="ftpupload">
+ <option value=""> </option>
+ <list ftpfiles as f>
+ <option value="${utility.encodeHTML(f)}">${f}</option>
+ </list>
+ </select>
+
+ <h4>
+ ${lang("content.media.title")}
+ </h4>
+ <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
+ <else>
+ <hr>
+ <h4>
+ ${lang("content.media.ftpmedia")}
+ </h4>
+ <input type="text" name="ftpupload" size="40" maxlength="80" value="">
+ <h4>
+ ${lang("content.media.title")}
+ </h4>
+ <input type="text" class="preq" name="ftpupload_title" size="40" maxlength="80" value="">
+ </if>
+</if>
+
+
</div>
<h2>
-${lang("posting.step06")}
+${lang("content.step06")}
</h2>
<div class="pformstep06">
<p>
-${lang("posting.submit.info")}
+${lang("content.submit.info")}
</p>
<p>
-${lang("posting.criteria")}
+${lang("content.criteria")}
</p>
+<if password>
+<div class="ppassword">
+<img src="${actionURL}&do=captcha"/>
+
+<p>${lang("content.password")}</p>
+
+<p><input type="text" name="password" size="10">
+<call showErrors("title")>
+</if>
+
<div class="pbuttons">
-<input type="submit" name="post" class="psubmit" value="${lang("posting.submit")}">
-<input type="reset" class="preset" value="${lang("posting.reset")}">
+<input type="submit" name="post" class="psubmit" value="${lang("content.submit")}">
+<input type="reset" class="preset" value="${lang("content.reset")}">
</div>
</div>
</form>