- anti-abuse features created
[mir.git] / etc / open / posting.template
index 73803f1..67e2f47 100755 (executable)
@@ -6,7 +6,7 @@
        <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=${config["Mir.DefaultHTMLCharset"]}">
+       <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">
        <meta name="robots" content="index">
        <meta name="robots" content="follow">
 
                <td colspan="3" bgcolor="white">
 
 <include "open/disclaimer.inc.de">
+<if data.passwd>                                       
+
 <br>${data.passwd}
+</if>
 <br><br>
 <a name="form"></a>
                </td>
                        <center><font size="+2" face="Helvetica, Arial,sans-serif" color="white"><b>${lang("posting.form.title")}</b></font></center>
                </td>
        </tr>
-       <if config["PasswdProtection"]=="yes" || config["PasswdProtection"]=="1">
+<if data.passwd>                                       
     <tr>
                <td>${lang("posting.password")}</td>
                <td><input type="text" name="passwd" size="10"></td>
        </tr>
-       </if>
+</if>
        <tr>
                <td valign="top">
                        ${lang("posting.title")}:<br>