Code

Added template for management dialog
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 07:15:04 +0000 (07:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 07:15:04 +0000 (07:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5933 594d385d-05f5-0310-b6e9-bd551577e9d8

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

diff --git a/include/sieve/templates/management.tpl b/include/sieve/templates/management.tpl
new file mode 100644 (file)
index 0000000..e36b5cf
--- /dev/null
@@ -0,0 +1,38 @@
+<h2>{t}Sieve script management{/t}</h2>
+
+{if $uattrib_empty}
+               
+       <font color='red'><b>{t}Connection to sieve could not be established, the authentification attribute is empty.{/t}</b></font><br>
+       {t}Please verfiy that the attributes uid and mail are not empty and try again.{/t}
+       <br>
+       <br>
+
+       {$List}
+
+       <p style="text-align:right">
+               <input type=submit name="sieve_cancel" value="{t}Cancel{/t}">
+       </p>
+{elseif $Sieve_Error != ""}
+
+       <font color='red'><b>{t}Connection to sieve could not be established.{/t}</b></font><br>
+       {$Sieve_Error}
+       <br>
+       <br>
+
+       {$List}
+
+       <p style="text-align:right">
+               <input type=submit name="sieve_cancel" value="{t}Cancel{/t}">
+       </p>
+       
+{else}
+       {t}Be careful. All your changes will be saved directly to sieve, if you use the save button below.{/t}
+       <br>
+       <input type='submit' name='create_new_script' value='{t}Create new script{/t}'>
+       {$List}
+       <p style="text-align:right">
+               <input type=submit name="sieve_finish" style="width:80px" value="{t}Ok{/t}">
+               &nbsp;
+               <input type=submit name="sieve_cancel" value="{t}Cancel{/t}">
+       </p>
+{/if}