<!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" media="all">@import "../../../style/media.css";</style>
    <style type="text/css"> body {background-image: none;} </style> 
    

<style type="text/css">
<!--

body {
   margin: 6px; background: #dddddd ;
}
h1, h2, h3, h4, h5, h6, p, li, dt, dd, div, td, blockquote
{
   font-family:arial, helvetica, sans-serif;
}
            
.pformbox
{
   border: none;
   margin: none; 
   padding-left: 10px;
   padding-right: 10px;
   padding-bottom: 0px;
   padding-top: 0px;   
}

h1 { padding-bottom: 0px; margin-bottom: 0px;}
h2
{
   padding-bottom: 0px;
   margin-bottom: 0px;
   padding: 2px;
   border: none;
   margin: none;
   border-top: 1px solid black;
   border-left: 1px solid black;
   border-right: 1px solid black;
   background-color: #003366;
   color: white;
}
h3 { padding-bottom: 0px; margin-bottom: 0px;}
h4 { padding-bottom: 0px; margin-bottom: 0px;}

.pdiscl
{
   padding: 4px;
   margin-top: 6px;
   margin-bottom: 6px;

   border-color: #FFF;
   border-width: 2px;
   border-style: solid;
}

.pformstep01
{
   margin: none;
   border: none;
   padding: 8px;
   margin-top: 0px;
   margin-bottom: 6px;
   background-color: #FAFAD2;
   border-color: gray;
   border-width: 1px;
   border-style: solid;
}
.pformstep02
{
   margin: none;
   border: none;
   padding: 8px;
   margin-top: 0px;
   margin-bottom: 6px;
   background-color: #FAFAD2;
   border-color: gray;
   border-width: 1px;
   border-style: solid;
}
.pformstep03
{
   margin: none;
   border: none;
   padding: 8px;
   margin-top: 0px;
   margin-bottom: 6px;
   background-color: #FAFAD2;
   border-color: gray;
   border-width: 1px;
   border-style: solid;
}
.pformstep04
{
   margin: none;
   border: none;
   padding: 8px;
   margin-top: 0px;
   margin-bottom: 6px;
   background-color: #FAFAD2;
   border-color: gray;
   border-width: 1px;
   border-style: solid;
}
.pformstep05
{
   margin: none;
   border: none;
   padding: 8px;
   margin-top: 0px;
   margin-bottom: 6px;
   background-color: #FAFAD2;
   border-color: gray;
   border-width: 1px;
   border-style: solid;
}
.pformstep06
{
   margin: none;
   border: none;
   padding: 8px;
   margin-top: 0px;
   margin-bottom: 6px;
   background-color: #FFFFFF;
   border-color: gray;
   border-width: 1px;
   border-style: solid;
}

input.psubmit
{
   padding: 5px;
   border: 2px solid green;
   background-color: #6F0;
}

input.preset
{
   padding: 5px;
   border: 2px solid red;
   background-color: #F96;
}

.pbuttons {
   text-align: right;
}

input
{
   background-color: #efefef;
}

textarea
{
   background-color: #efefef;
}


input.preq
{
   background-color: #ffffff;
}
textarea.preq
{
   background-color: #ffffff;
}

.error {
   color: red;
}

-->
</style>

</head>

<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>         
</function>

   <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")}
      </h2>

      <div class="pformstep01">
         ${lang("posting.readhowtos")}
      </div>
      
      <h2>
         ${lang("posting.step01")}
      </h2>

      <form enctype="multipart/form-data" action="${actionURL}&do=opensession&sessiontype=article" method="post">

         <div class="pformstep01">         
            <h4>
               ${lang("posting.nr_of_media")}
            </h4>
            <p>
               ${lang("posting.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")}">
            </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")}
         </h2>

         <div class="pformstep02">

            <!-- TITEL -->
            <h4>
               ${lang("posting.title")}
            </h4>      
            <p>
               <small>${lang("posting.title.info")}</small>
            </p>
            <p>
               <input type="text" class="preq" name="title" size="45" maxlength="45" value="${utility.encodeHTML(title)}">   
               <if errors>
                  <big class="error"><call showErrors("title")></big>
               <else>
                  <small><strong>(${lang("required")})</strong></small>
               </if>   
            <br><small>(maximal 45 Zeichen)</small>
            </p>

            <!-- TOPIC -->
            <h4>
               ${lang("posting.topic")}
            </h4>
            <p>
               ${lang("posting.topic.info")}
            </p>
            <select name="to_topic" size="10" multiple>
               <list topics as t>
                  <option value="${t.id}" <list to_topic as to><if (t.id == to)>selected</if></list>>${t.title}</option>
               </list>
            </select>
            <small>(${lang("optional")})</small>

            <!-- AUTOR -->
            <h4>
               ${lang("posting.author")}
            </h4>         

            <input type="text" class="preq" name="creator" value="${utility.encodeHTML(creator)}" size="45" maxlength="45"> 

            <if errors>               
               <big class="error"><call showErrors("creator")></big>
            <else>               
               <small><strong>(${lang("required")})</strong></small>
            </if>
            <br><small>(maximal 45 Zeichen)</small>

            <!-- ABSTRACT -->         
            <h4>
               ${lang("posting.abstract")}
            </h4>         
            <p>
               ${lang("posting.abstract.info")}
            </p>      
            <textarea name="description" class="preq" rows="10" cols="74" wrap=virtual>${utility.encodeHTML(description)}</textarea>
            <if errors>   
               <big class="error"><call showErrors("description")></big>
            <else>
               <small><strong>(${lang("required")})</strong></small>
            </if>
            <p>
               <strong>${lang("posting.abstract.constraint")}</strong>
            </p>

         </div>

         <h2>
            ${lang("posting.step03")}
         </h2>

         <div class="pformstep03">   
            <p>
               ${lang("posting.contact.info")}
            </p>

            <!--  EMAIL -->
            <h4>
               ${lang("posting.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")}
            </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")}
            </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")}
            </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")}
         </h2>

         <div class="pformstep04">
            <!-- LANG -->
            <h4>
               ${lang("posting.language")}
            </h4>            
            <select name="to_language">
               <list languages as l>
                  <option value="${l.id}">${l.name}</option>
               </list>
            </select>
            

            <!-- CONTENT -->   
            <h4>
               ${lang("posting.text")}
            </h4>         
            <p>
               ${lang("posting.text.info")}
            </p>
            <textarea name="content_data" class="preq" rows="35" cols="74" wrap="soft">${utility.encodeHTML(content_data)}</textarea>
            <br>
            <if errors>   
               <big class="error"><call showErrors("content_data")></big>
            <else>
               <small><strong>(${lang("required")})</strong></small>
            </if>
            <h4>
            Weiternutzung Deines Beitrags:
            </h4>
            <p>
               <select name="subtitle" size="1">
                  <option value="by-sa-de">CC - Weitergabe unter gleichen Bedingungen</option>
                  <option value="by-nc-sa-de">CC - Weitergabe unter gleichen Bedingungen - Nicht Kommerziell</option>
                  <option value="pd">Weiternutzung ohne Einschr&auml;nkung. Gemeinfrei im Sinne der Public Domain</option>
                  <option value="none">Keine Auszeichnung / Eigene Angaben zur Weiternutzung im Text</option>
               </select><br>
               Mehr zum Thema Weiternutzung und Lizenzen findest Du <A href="http://vienna.indymedia.org/static/onlicence.shtml" target="_blank" style="corsor:help;">hier</A>.
            </p>

         </div>

         <h2>
            ${lang("posting.step05")}
         </h2>
         <div class="pformstep05">

            <h4>
               ${lang("posting.media")}
            </h4>         
            <p>
               ${lang("posting.media.info")}
            </p>         
            <p>
               ${lang("posting.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>

            <p>
               <small>${lang("optional")}</small>
            </p>
         </div>

         <h2>
            ${lang("posting.step06")}
         </h2>
         <div class="pformstep06">
            <p>
               ${lang("posting.submit.info")}
            </p>      
            <p>
               ${lang("posting.criteria")}
            </p>         
            <div class="pbuttons">
               <input type="submit" name="post" class="psubmit" value="${lang("posting.submit")}">
               <comment>
                  <input type="reset" class="preset" value="${lang("posting.reset")}">
               </comment>
            </div>
         </div>
      </form>
   </div>
</body>
</html>


-- ReginaRegenbogen - 24 Apr 2005
Topic revision: r1 - 24 Apr 2005, ReginaRegenbogen
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback