a simple posting.template in english, which works. ugly as all hell,
authorkellan <kellan>
Thu, 11 Oct 2001 00:27:48 +0000 (00:27 +0000)
committerkellan <kellan>
Thu, 11 Oct 2001 00:27:48 +0000 (00:27 +0000)
but enough to use for testing purposes.  -kellan

templates-dist/en/open/minimal_posting.template [new file with mode: 0755]

diff --git a/templates-dist/en/open/minimal_posting.template b/templates-dist/en/open/minimal_posting.template
new file mode 100755 (executable)
index 0000000..fd798d4
--- /dev/null
@@ -0,0 +1,77 @@
+<html>
+
+this is a minimal template need to successfully publish a story.  the
+current en/open/posting.template is out of date to the point of being
+broken.  this works.  though it could use a little design help :)
+
+<!-- begin MEDIANUM form -->
+<!-- how many media items to upload? -->
+<!-- submit simply re-displays *this* form -->
+<form action="${openAction}?do=addposting" method="post">
+  How many media items: 
+  <input type="text" name="medianum"
+   value="${medianum}">&nbsp;
+  <input type="submit" value="Update">
+</form>
+<!-- end MEDIANUM form -->
+
+<!-- begin MAINCONTENT form -->
+<!-- submit attempts to add new story -->
+<form enctype="multipart/form-data" action="${openAction}?do=insposting" method="post">
+
+Title: <input type="text" name="title" size="45" 
+maxlength="45" value=""> 
+<p>
+<!-- Pull down of available topics -->
+<!-- iterate over all available topics: themenPopupData -->
+<!-- if any topics are passed in (e.g. ?to_topic=3,2) then -->
+<!-- set topic to selected -->
+Topic: 
+<select name="to_topic" size="3" multiple> 
+  <list themenPopupData as t>
+     <option value="${t.key}" 
+         <list to_topic as to>
+            <if (t.key == to)>selected</if>
+        </list>
+     >${t.value}</option>
+  </list>
+</select>
+<p>
+Author: <input type="text" name="creator" size="45" maxlength="45">
+<p>
+Summary:  <textarea name="description" rows="6" cols="45" wrap=virtual></textarea>
+<p>
+Your Email: <input type="text" name="creator_email" size="45"
+maxlength="80" value="">
+<p>
+Your Web Address: 
+<input type="text" name="creator_main_url" size="45" maxlength="160" value="http://">
+<p>
+Address: <input type="text" name="creator_address" size="45" maxlength="160" value="">
+<p>
+Phone #: <input type="text" name="creator_phone" size="20" maxlength="20" value="">
+<p>
+<!-- generate list of known languages -->
+Language: 
+<select name="to_language">
+  <list languagePopUpData as l>
+    <option value="${l.key}">${l.value}</option>
+  </list>
+</select>
+<p>
+Your Article:
+<textarea name="content_data" rows="20" cols="45" wrap="soft"></textarea>
+<p>
+<!-- generate N fields for uploading files -->
+<!-- where N is medianum -->
+Media Uploads:
+<list mediafields as m>
+    File ${m} 
+    <INPUT TYPE="file" NAME="media${m}">
+    <br>
+     Title ${m}: <input type="text" name="media_title${m}" size="40" maxlength="80" value="">
+</list>
+<p>
+<input type="submit" value="Post"><br>
+
+</html>
\ No newline at end of file