debug info
[mir.git] / templates-dist / de / linksimcs.template
index 5814047..215cd2f 100755 (executable)
@@ -1,16 +1,15 @@
 <html>
 <head>
 <title>
-indymedia.de | LinksImcs
+       indymedia.de | LinksImcs
 </title>
 
 <head>
-
 <body bgcolor="#FFFFFF">
 <include "head.template">
 <form action="${actionRoot}" method="post">
        <input type=hidden name=module value=LinksImcs>
-       <input type="hidden" name="id" value="${id}">
+       <input type="hidden" name="id" value=<if entity>"${entity.id}"<else>"${id}"</if>>
        <if new><input type="hidden" name="do" value="insert">
        <else><input type="hidden" name="do" value="update"></if>
 <table border="0">
@@ -18,56 +17,46 @@ indymedia.de | LinksImcs
     <td align="right" bgcolor="#006600"><font face="Verdana, Arial, Helvetica, sans-serif" size="-1" color="#ffffff">
                <B>Name:</B></font></td>
     <td>
-      <input type="text" size="40" name="title" value="${title}">
+       <input type="text" size="40" name="title" value=<if entity>"${entity.title}"<else>"${title}"</if>>
     </td>
   </tr>
   <tr>
     <td align="right" bgcolor="#006600"><font face="Verdana, Arial, Helvetica, sans-serif" size="-1" color="#ffffff">
                <B>Kontinent:</B></font></td>
     <td>
-       <select name="parent_id" size="1">
-               <option value="0" selected> Neuen Parent anlegen
-               <list contentlist as parent>
-               <if ${parent_id} == 0>
-               <option value="${id}"> ${title} 
-               </if>
-               </list>
+               <if parentlist>
+       <select name="to_parent_id" size="1">
+                       <option value=NULL> Neuen Oberbegriff anlegen
+                       <list parentlist as entry><option value="${entry.id}"<if entry.id == entity.to_parent_id> selected</if>> ${entry.title}</list>
                </select>
+               </if>
     </td>
   </tr>
   <tr>
-       <td align="right" valign="top" bgcolor="#006600"><font color="#ffffff"><B>Beschreibung:</B></font></td>
-    <td>
-       <textarea cols="40" rows="3" name="description">${description}</textarea>
-       </td>
-  </tr>
-  <tr>
-    <td align="right" bgcolor="#006600"><font color="#ffffff"><B>Filename:</B></font></td>
-    <td>
-      <input type="text" size="20" name="filename" value="${filename}">
-    </td>
-  </tr>
-  <tr>
-    <td align="right" bgcolor="#006600"><font color="#ffffff"><B>Hauptinfoseite
-      </B></font></td>
+    <td align="right" bgcolor="#006600"><font color="#ffffff"><B>URL:</B></font></td>
     <td>
-      <input type="text" size="40" name="main_url" value="${main_url}">
+      <input type="text" size="40" name="url" value=<if entity>"${entity.url}"<else>"${url}"</if>>
     </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#006600"><font color="#ffffff"><B>Archiv url:</B></font></td>
+    <td align="right" bgcolor="#006600"><font color="#ffffff"><B>Sortierkriteríum:</B></font></td>
     <td>
-      <input type="text" size="40" name="archiv_url" value="${archiv_url}">
+      <select name="sortpriority" size="1">
+               <option value="1"<if entity.sortpriority == 1> selected</if>> 1 
+               <option value="2"<if entity.sortpriority == 2> selected</if>> 2 
+               <option value="3"<if entity.sortpriority == 3> selected</if>> 3
+               <option value="4"<if entity.sortpriority == 4> selected</if>> 4
+               </select>
     </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#006600"><font color="#ffffff"><B>Sortierkriteríum:</B></font></td>
+    <td align="right" bgcolor="#006600"><font color="#ffffff"><B>Sprache:</B></font></td>
     <td>
-      <select name="sortpriority" size="1">
-               <option value="1"> 1 
-               <option value="2"> 2 
-               <option value="3"> 3
-               </select>
+      <select name="to_language" size="1">
+               <list languagelist as language>
+                       <option value="${language.id}"<if entity.to_language == language.id> selected</if>> ${language.name}
+               </list> 
+         </select>
     </td>
   </tr>
   <tr>