Code

Updated some sieve templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Apr 2010 08:50:29 +0000 (08:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Apr 2010 08:50:29 +0000 (08:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17537 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/personal/mail/sieve/templates/create_script.tpl
gosa-plugins/mail/personal/mail/sieve/templates/edit_frame_base.tpl
gosa-plugins/mail/personal/mail/sieve/templates/import_script.tpl
gosa-plugins/mail/personal/mail/sieve/templates/management.tpl
gosa-plugins/mail/personal/mail/sieve/templates/remove_script.tpl

index 33411434b6307bd395f56339461afc4f5f27c228..e5d0b8ca03f0b2aed3f7059535e9cb1106b0d31d 100644 (file)
@@ -9,11 +9,12 @@
 <br>
 <br>
 
-<div class='seperator' style='border-top:1px solid #999; text-align:right; width:100%; padding-top:10px;'>
-   <input type='submit' name='create_script_save' value='{msgPool type=applyButton}' id='create_script_save'>
-   &nbsp;
-   <input type='submit' name='create_script_cancel' value='{msgPool type=cancelButton}'>
+<hr>
+<div class="plugin-actions">
+   <button type='submit' name='create_script_save'>{msgPool type=applyButton}</button>
+   <button type='submit' name='create_script_cancel'>{msgPool type=cancelButton}</button>
 </div>
+
 <script language="JavaScript" type="text/javascript">
        <!--
        focus_field('NewScriptName');
index e99e87fd0f02e678d9db9e3fb2e728c0f325cd45..7aed3c13ed0fdcbbe977b0172e7fd3f8379354b9 100644 (file)
@@ -1,17 +1,17 @@
 
-<table class='editing_surface' summary="{t}Sieve editor{/t}">
+<table class='editing_surface' summary="{t}Sieve editor{/t}" width="100%">
        <tr>
                <td class='editing_surface_menu'>
                        
-                       <input type='submit' name='Save_Copy' value="{t}Export{/t}">
-                       <input type='submit' name='Import_Script' value="{t}Import{/t}">
+                       <button type='submit' name='Save_Copy'>{t}Export{/t}</button>
+                       <button type='submit' name='Import_Script'>{t}Import{/t}</button>
 
                        {if $Mode != "Source-Only"}                     
                                
                                {if $Mode == "Source"}
-                               <input type='submit' name='View_Structured' value="{t}View structured{/t}">
+                               <button type='submit' name='View_Structured'>{t}View structured{/t}</button>
                                {else}
-                               <input type='submit' name='View_Source' value="{t}View source{/t}">
+                               <button type='submit' name='View_Source'>{t}View source{/t}</button>
                                {/if}
                        {/if}
                </td>
                        {if $Mode == "Structured"}
                                {$Contents}
                        {else}
-                               <textarea class='editing_source' name='script_contents'>{$Contents}</textarea>
+                               <textarea style='width:100%; height:300px;' class='editing_source' name='script_contents'>{$Contents}</textarea>
                        {/if}
 
                </td>
        </tr>
 </table>
-<div class='seperator' style='text-align:right; width:100%;'>
-       <input type='submit' name='save_sieve_changes' value='{msgPool type=saveButton}'>
-        &nbsp;
-    <input type='submit' name='cancel_sieve_changes' value='{msgPool type=cancelButton}'>
+<hr>
+<div class="plugin-actions">
+       <button type='submit' name='save_sieve_changes'>{msgPool type=saveButton}</button>
+    <button type='submit' name='cancel_sieve_changes'>{msgPool type=cancelButton}</button>
 </div>
index 65faecede1e2603feac7ac21772d225db574c69d..0d93e019aa9fd090ff03e5abf824b95cbc122154 100644 (file)
@@ -8,8 +8,7 @@
 <br>
 <hr>
 <br>
-<div class='seperator' style='text-align:right; width:100%;'>
-    <input type='submit' name='Import_Script_Save' value='{t}Import{/t}'>
-        &nbsp;
-    <input type='submit' name='Import_Script_Cancel' value='{msgPool type=cancelButton}'>
+<div class="plugin-actions">
+    <button type='submit' name='Import_Script_Save'>{t}Import{/t}</button>
+    <button type='submit' name='Import_Script_Cancel'>{msgPool type=cancelButton}</button>
 </div>
index 1ee9d9d97fc2c7e18352ec227b9a9eaed8e8702a..97d5e0d25f3336da9d59cc6e59da7faa813f2b52 100644 (file)
 {/if}
        {t}Be careful. All your changes will be saved directly to sieve, if you use the save button below.{/t}
 -->
+
        {$List}
-       <input type='submit' name='create_new_script' value='{t}Create new script{/t}'>
-       <p style="text-align:right;border-top:1px solid #999; padding-top:10px;">
-               <input type=submit name="sieve_finish" style="width:80px" value="{msgPool type=saveButton}">
-               &nbsp;
-               <input type=submit name="sieve_cancel" value="{msgPool type=cancelButton}">
-       </p>
+
+
+<button type='submit' name='create_new_script'>{msgPool type='addButton'}</button>
+<div class="plugin-actions">
+ <button type=submit name="sieve_finish">{msgPool type=saveButton}</button>
+ <button type=submit name="sieve_cancel">{msgPool type=cancelButton}</button>
+</div>
index 9bf13537ef0f7c96494e4009c7d9091cababb484..c6f1c44b959f3a3863c72781fa02899c5141d7c4 100644 (file)
@@ -1,18 +1,15 @@
-<div style="font-size:18px;">
-<img alt="" src="images/warning.png" align=top>&nbsp;{t}Warning{/t}
-</div>
+{image path='images/warning.png'}
+<hr>
 <p>
- {$Warning}<br>
- {t}Please double check if your really want to do this since there is no way for GOsa to get your data back.{/t}
+ {$Warning}
 </p>
-
-<p>
+ {t}Please double check if your really want to do this since there is no way for GOsa to get your data back.{/t}
  {t}Best thing to do before performing this action would be to save the current script in a file. So - if you've done so - press 'Delete' to continue or 'Cancel' to abort.{/t}
 </p>
 
 <hr>
 <div class="plugin-actions">
-  <input type=submit name="delete_script_confirm" value="{msgPool type=delButton}">
-  <input type=submit name="delete_cancel" value="{msgPool type=cancelButton}">
+  <button type=submit name="delete_script_confirm">{msgPool type=delButton}</button>
+  <button type=submit name="delete_script_cancel">{msgPool type=cancelButton}</button>
 </div>