Code

Updated edit_frame, added import tpl
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 Mar 2007 11:15:58 +0000 (11:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 Mar 2007 11:15:58 +0000 (11:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5797 594d385d-05f5-0310-b6e9-bd551577e9d8

include/sieve/templates/edit_frame_base.tpl
include/sieve/templates/import_script.tpl [new file with mode: 0644]

index a5552beb4b02360ac654129d37bf34fa60e93486..241ab9429aa1a0eac39f9f3043fe98234283c819 100644 (file)
@@ -3,8 +3,8 @@
        <tr>
                <td style='background-color: #CCCCCC; padding:5px;'>
                        
-                       <input type='submit' name='Save_Copy' value="{t}Save copy{/t}">
-                       <input type='submit' name='Import_Copy' value="{t}Import copy{/t}">
+                       <input type='submit' name='Save_Copy' value="{t}Export{/t}">
+                       <input type='submit' name='Import_Script' value="{t}Import{/t}">
 
                        {if $Mode != "Source-Only"}                     
                                <input type='submit' name='View_Source' value="{t}View source{/t}">
diff --git a/include/sieve/templates/import_script.tpl b/include/sieve/templates/import_script.tpl
new file mode 100644 (file)
index 0000000..402275c
--- /dev/null
@@ -0,0 +1,15 @@
+<h2>{t}Import sieve script{/t}</h2>
+{t}Please select the sieve script you want to import below. And use the import button to import the script or the cancel button to abort.{/t}
+<br>
+<br>
+<b>{t}Script to import{/t}</b>&nbsp;<input type='file' name='Script_To_Import'>
+
+<br>
+<br>
+<p class='seperator'>&nbsp;</p>
+<br>
+<div class='seperator' style='text-align:right; width:100%;'>
+    <input type='submit' name='Import_Script_Cancel' value='{t}Cancel{/t}'>
+        &nbsp;
+    <input type='submit' name='Import_Script_Save' value='{t}Import{/t}'>
+</div>