Code

Updated layout
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 11 Apr 2007 07:49:59 +0000 (07:49 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 11 Apr 2007 07:49:59 +0000 (07:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6001 594d385d-05f5-0310-b6e9-bd551577e9d8

include/sieve/class_sieveManagement.inc
include/sieve/templates/create_script.tpl
include/sieve/templates/management.tpl
include/sieve/templates/object_container.tpl

index 90e87bf23b22bff02d4ee041dd397d54e346464c..4124232881614e89532f223d2d636222d00cfb62 100644 (file)
@@ -641,7 +641,7 @@ class sieveManagement extends plugin
       }
       $field2 = array("string" => $script['NAME']);  
       $field3 = array("string" => $script['MSG']);
-      $field4 = array("string" => _("Script length")."&nbsp;:&nbsp;".strlen($script['SCRIPT']));
+      $field4 = array("string" => _("Script length").":&nbsp;".strlen($script['SCRIPT']));
 
       if($this->parent->acl_is_writeable("sieveManagement")){
         $del = "<input type='image' name='delscript_".$key."' src='images/edittrash.png'
@@ -660,7 +660,7 @@ class sieveManagement extends plugin
       $field6 = array("string" => $activate."<input type='image' name='editscript_".$key."' src='images/edit.png'
                         title='"._("Edit script")."'>".$del,
                       "attach" => "style='border-right:0px; width:70px;'");
-      $List ->AddEntry(array($field1,$field2,$field3,$field4,$field6)); 
+      $List->AddEntry(array($field1,$field2,$field3,$field4,$field6)); 
     }
  
     /* If the uattrib is empty   (Attribute to use for authentification with sieve)
index 240cdba59246c24a0293d19393121bca7ca1cd8d..e5e97c9dc0e66e5bba2bfa8b2d8d7c8be14f9d3d 100644 (file)
@@ -1,21 +1,23 @@
 <h2>Create a new sieve script</h2>
-{t}Please enter the name for yout new script below.{/t}<br>
-{t}Script names must be lower case and only characters are allowed.{/t}
+{t}Please enter the name for yout new script below. Script names must be lower case and only characters are allowed.{/t}
 
 <br>
 <br>
 {if $Error != ""}
        <font color='red'>{$Error}</font>
        <br>
+       <br>
 {/if}
-<b>{t}Script name{/t}&nbsp;:&nbsp;</b><input type='text' name='NewScriptName' value='{$NewScriptName}'>
-
+<p class="seperator">&nbsp;</p>
+<br>
+<b>{t}Script name{/t}</b> <input type='text' name='NewScriptName' value='{$NewScriptName}'>
+<br>
 <br>
 
-<div class='seperator' style='text-align:right; width:100%;'>
-    <input type='submit' name='create_script_cancel' value='{t}Cancel{/t}'>
-        &nbsp;
-    <input type='submit' name='create_script_save' value='{t}Next{/t}' id='create_script_save'>
+<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='{t}Save{/t}' id='create_script_save'>
+   &nbsp;
+   <input type='submit' name='create_script_cancel' value='{t}Cancel{/t}'>
 </div>
 <script language="JavaScript" type="text/javascript">
        document.mainform.NewScriptName.focus();
index ce287351c3bf85690b2e9fe13608b5e553aced7e..10b600ba6856df362c1677d62818a2a7bb5cee76 100644 (file)
@@ -2,26 +2,25 @@
 <!--
 {if $uattrib_empty}
                
-       <font color='red'><b>{t}Connection to sieve could not be established, the authentification attribute is empty.{/t}</b></font><br>
+       <font color='red'><b>{t}Connection to the sieve server 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>
 
 {elseif $Sieve_Error != ""}
 
-       <font color='red'><b>{t}Connection to sieve could not be established.{/t}</b></font><br>
+       <font color='red'><b>{t}Connection to the sieve server could not be established.{/t}</b></font><br>
        {$Sieve_Error}
        <br>
-       {t}Possibly the sieve account was not created yet.{/t}
+       {t}Possibly the sieve account has not been created yet.{/t}
        <br>
        <br>
 {/if}
        {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='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="{t}Ok{/t}">
                &nbsp;
                <input type=submit name="sieve_cancel" value="{t}Cancel{/t}">
index 7662b67f772235bb8ba65b898685d6cb16c6dc5b..6de06f7d15799e12a368ec5cb37926d2503e76c5 100644 (file)
@@ -7,15 +7,15 @@
                        <input type='image' src='images/sieve_move_object_up.png' name='Move_Up_Object_{$ID}' 
                                title='{t}Move this object one position up{/t}' alt='{t}Up{/t}' class='center'>
                        <a href='{$plug}&amp;Move_Up_Object_ID={$ID}'>{t}Move up{/t}</a>
-
+                       &nbsp;&nbsp;&nbsp;
                        <input type='image' src='images/sieve_move_object_down.png' name='Move_Down_Object_{$ID}' 
                                title='{t}Move this object one position down{/t}' alt='{t}Down{/t}' class='center'>
                        <a href='{$plug}&amp;Move_Down_Object_ID={$ID}'>{t}Move down{/t}</a>
-
+                       &nbsp;&nbsp;&nbsp;
                        <input type='image' src='images/sieve_del_object.png' name='Remove_Object_{$ID}' 
                                title='{t}Remove this object{/t}' alt='R' class='center'>
                        <a href='{$plug}&amp;Remove_Object_ID={$ID}'>{t}Remove this element{/t}</a>
-
+                       &nbsp;&nbsp;&nbsp;
        
                        <select name='element_type_{$ID}'>
                                <option value=''>&nbsp;</option>