[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kolab-devel
Subject:    [Kolab-devel] [issue3404] Present the options in "Action to take
From:       Richard Bos <kolab-issues () intevation ! de>
Date:       2009-02-15 20:33:24
Message-ID: 1234730004.51.0.348451852161.issue3404 () intevation ! de
[Download RAW message or body]

New submission from Richard Bos <ml@radoeka.nl>:

The attached patch presents the options for "Action to take for messages th=
at
fail the check" on the settings page in a nicer way.

The long text will not go through to the check buttons.  The patch uses =

a table for this.

----------
files: settings.tpl.diff
messages: 18571
nosy: rbos
status: unread
title: Present the options in "Action to take for messages that fail the ch=
eck" nicer
topic: web admin
___________________________________________________
Kolab issue tracker <kolab-issues@intevation.de>
<https://www.intevation.de/roundup/kolab/issue3404>
___________________________________________________

["settings.tpl.diff" (text/plain)]

Index: settings.tpl
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates/settings.tpl,v
 retrieving revision 1.3
diff -u -r1.3 settings.tpl
--- settings.tpl	5 Jun 2008 17:33:51 -0000	1.3
+++ settings.tpl	15 Feb 2009 20:00:53 -0000
@@ -149,11 +149,21 @@
 {tr msg="Use the Sender header instead of From for the above checks if Sender is \
present."}  <br />
 <h4>{tr msg="Action to take for messages that fail the check:"}</h4>
-<input type="radio" name="kolabfilterrejectforgedfrom" value="FALSE" {if \
                $kolabfilterrejectforgedfrom == 'false' }checked="checked"{/if} />
-{tr msg="Reject the message, except if it originates from the outside and the From \
header matches one of Kolab server's domains. In that case rewrite the From header so \
                the recipient can see the potential forgery."}<br/>
-<input type="radio" name="kolabfilterrejectforgedfrom" value="TRUE" {if \
                $kolabfilterrejectforgedfrom == 'true' }checked="checked"{/if} />
-{tr msg="Always reject the message."}
+<table border="0">
+ <tr>
+  <td valign="top"><input type="radio" name="kolabfilterrejectforgedfrom" \
value="FALSE" {if $kolabfilterrejectforgedfrom == 'false' }checked="checked"{/if} /> \
+  </td> +  <td>{tr msg="Reject the message, except if it originates from the outside \
and the From header matches one of Kolab server's domains. In that case rewrite the \
From header so the recipient can see the potential forgery."}<br/> +  </td>
+ </tr>
+ <tr>
+  <td valign="top"><input type="radio" name="kolabfilterrejectforgedfrom" \
value="TRUE" {if $kolabfilterrejectforgedfrom == 'true' }checked="checked"{/if} /> +  \
</td> +  <td>{tr msg="Always reject the message."}
 {tr msg="Note that enabling this setting will make the server reject any mail with \
non-matching sender and From header if the sender is an account on this server. This \
is known to cause trouble for example with mailinglists."} +  </td>
+ </tr>
+</table>
 <br />
 <div class="align_right"><input type="submit" name="submitkolabfilter" value="{tr \
msg="Update"}" /></div>  </div>



_______________________________________________
Kolab-devel mailing list
Kolab-devel@kolab.org
https://kolab.org/mailman/listinfo/kolab-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic