Webseitenvorlagen für das "als Entwurf speichern"-Feature.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 21 Feb 2007 12:22:45 +0000 (12:22 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 21 Feb 2007 12:22:45 +0000 (12:22 +0000)
templates/webpages/drafts/load_de.html [new file with mode: 0644]
templates/webpages/drafts/load_master.html [new file with mode: 0644]
templates/webpages/drafts/save_new_de.html [new file with mode: 0644]
templates/webpages/drafts/save_new_master.html [new file with mode: 0644]

diff --git a/templates/webpages/drafts/load_de.html b/templates/webpages/drafts/load_de.html
new file mode 100644 (file)
index 0000000..3d589cc
--- /dev/null
@@ -0,0 +1,54 @@
+<body>
+
+ <form action="<TMPL_VAR script ESCAPE=HTML>" method="post">
+
+  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
+  <input type="hidden" name="path" value="<TMPL_VAR path ESCAPE=HTML>">
+  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
+
+  <input type="hidden" name="SAVED_FORM" value="<TMPL_VAR SAVED_FORM ESCAPE=HTML>">
+
+  <table width="100%">
+   <tr>
+    <th class="listtop">Entwurf laden</th>
+   </tr>
+   <tr height="5"></tr>
+
+   <tr>
+    <td>
+     Die folgenden Entw&uuml;rfe wurden gespeichert und k&ouml;nnen geladen werden.
+     Das Laden eines Entwurfs wird ihn aus dieser Liste entfernen, bis Sie erneut auf 'Entwurf Speichern' klicken.
+    </td>
+   </tr>
+
+   <tr>
+    <td>
+     <table>
+      <tr>
+       <th class="listheading">Datum</th>
+       <th class="listheading">Beschreibung</th>
+       <th class="listheading">Bearbeiter</th>
+      </tr>
+
+      <TMPL_LOOP DRAFTS>
+       <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
+        <td><TMPL_VAR itime ESCAPE=HTML></td>
+        <td><a href="<TMPL_VAR script ESCAPE=URL>?login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>&path=<TMPL_VAR path ESCAPE=URL>&action=load_draft&id=<TMPL_VAR id ESCAPE=URL>"><TMPL_VAR description ESCAPE=HTML></a></td>
+        <td><TMPL_VAR employee_name ESCAPE=HTML></td>
+       </tr>
+      </TMPL_LOOP>
+     </table>
+    </td>
+   </tr>
+
+   <tr>
+    <td>
+     <input type="hidden" name="action" value="dont_load_draft">
+     <input type="submit" class="submit" name="dummy" value="Überspringen">
+    </td>
+   </tr>
+  </table>
+
+ </form>
+</body>
+</html>
diff --git a/templates/webpages/drafts/load_master.html b/templates/webpages/drafts/load_master.html
new file mode 100644 (file)
index 0000000..81de720
--- /dev/null
@@ -0,0 +1,54 @@
+<body>
+
+ <form action="<TMPL_VAR script ESCAPE=HTML>" method="post">
+
+  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
+  <input type="hidden" name="path" value="<TMPL_VAR path ESCAPE=HTML>">
+  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
+
+  <input type="hidden" name="SAVED_FORM" value="<TMPL_VAR SAVED_FORM ESCAPE=HTML>">
+
+  <table width="100%">
+   <tr>
+    <th class="listtop"><translate>Load draft</translate></th>
+   </tr>
+   <tr height="5"></tr>
+
+   <tr>
+    <td>
+     <translate>The following drafts have been saved and can be loaded.</translate>
+     <translate>Loading a draft will remove it from this list until you click the 'Save Draft' button again.</translate>
+    </td>
+   </tr>
+
+   <tr>
+    <td>
+     <table>
+      <tr>
+       <th class="listheading"><translate>Date</translate></th>
+       <th class="listheading"><translate>Description</translate></th>
+       <th class="listheading"><translate>Employee</translate></th>
+      </tr>
+
+      <TMPL_LOOP DRAFTS>
+       <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
+        <td><TMPL_VAR itime ESCAPE=HTML></td>
+        <td><a href="<TMPL_VAR script ESCAPE=URL>?login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>&path=<TMPL_VAR path ESCAPE=URL>&action=load_draft&id=<TMPL_VAR id ESCAPE=URL>"><TMPL_VAR description ESCAPE=HTML></a></td>
+        <td><TMPL_VAR employee_name ESCAPE=HTML></td>
+       </tr>
+      </TMPL_LOOP>
+     </table>
+    </td>
+   </tr>
+
+   <tr>
+    <td>
+     <input type="hidden" name="action" value="dont_load_draft">
+     <input type="submit" class="submit" name="dummy" value="<translate>Skip</translate>">
+    </td>
+   </tr>
+  </table>
+
+ </form>
+</body>
+</html>
diff --git a/templates/webpages/drafts/save_new_de.html b/templates/webpages/drafts/save_new_de.html
new file mode 100644 (file)
index 0000000..1e71f4b
--- /dev/null
@@ -0,0 +1,37 @@
+<body>
+
+ <form action="<TMPL_VAR script ESCAPE=HTML>" method="post">
+
+  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
+  <input type="hidden" name="path" value="<TMPL_VAR path ESCAPE=HTML>">
+  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
+
+  <input type="hidden" name="SAVED_FORM" value="<TMPL_VAR SAVED_FORM ESCAPE=HTML>">
+
+  <table width="100%">
+   <tr>
+    <th class="listtop">Entwurf speichern</th>
+   </tr>
+   <tr height="5"></tr>
+
+   <tr>
+    <td>Geben Sie eine Beschreibung f&uuml;r diesen Entwurf ein.</td>
+   </tr>
+
+   <tr>
+    <td>
+    Beschreibung:
+    <input name="draft_description">
+    </td>
+   </tr>
+
+   <tr>
+    <td>
+     <input type="submit" class="submit" name="action" value="Entwurf speichern">
+    </td>
+   </tr>
+  </table>
+
+ </form>
+</body>
+</html>
diff --git a/templates/webpages/drafts/save_new_master.html b/templates/webpages/drafts/save_new_master.html
new file mode 100644 (file)
index 0000000..0e26674
--- /dev/null
@@ -0,0 +1,37 @@
+<body>
+
+ <form action="<TMPL_VAR script ESCAPE=HTML>" method="post">
+
+  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
+  <input type="hidden" name="path" value="<TMPL_VAR path ESCAPE=HTML>">
+  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
+
+  <input type="hidden" name="SAVED_FORM" value="<TMPL_VAR SAVED_FORM ESCAPE=HTML>">
+
+  <table width="100%">
+   <tr>
+    <th class="listtop"><translate>Save draft</translate></th>
+   </tr>
+   <tr height="5"></tr>
+
+   <tr>
+    <td><translate>Enter a description for this new draft.</translate></td>
+   </tr>
+
+   <tr>
+    <td>
+    <translate>Description</translate>:
+    <input name="draft_description">
+    </td>
+   </tr>
+
+   <tr>
+    <td>
+     <input type="submit" class="submit" name="action" value="<translate>Save draft</translate>">
+    </td>
+   </tr>
+  </table>
+
+ </form>
+</body>
+</html>