[Patch] abook_group plugin: adjusting odd looking "Remove" button

Nino Novak <[email protected]> Thu, 19 Dec 2013 17:30:29 +0100
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
Hi Tomas,

sorry, I did not find your personal mail address (it was always
truncated after the "us" ;-) ), so I'm posting this little patch for
abook_group plugin here.

As I'm not a dev, please bear with me if the patch does not fulfill all
quality criteria - the correction should work anyways, it just removes a
newline character + some whitespace which causes ugly button display in
some Mac browsers.

If possible, please test it before integration because I couldn't as I
have no working instance of SM myself. I just created the patch after
reading a Mac user's complaint.

Thanks,
Nino

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
abook_group_listMembers.php-0.51.1-1.4.2-NINO.patch (text/x-patch, 695 B)
--- A/listMembers.php	2013-12-19 16:41:21.412864989 +0100
+++ B/listMembers.php	2013-12-19 16:41:53.746866357 +0100
@@ -138,15 +138,14 @@
 
   <p align="center">
     <input type="hidden" name="groupName" value="<?php echo $groupName ?>">
-    <input type="submit" name="remove" value="
-       <?php 
+    <input type="submit" name="remove" 
+       value="<?php 
         bindtextdomain('abook_group', SM_PATH . 'plugins/abook_group/locale');
         textdomain('abook_group');
         echo _("Remove");
         bindtextdomain('squirrelmail', SM_PATH . 'locale');
         textdomain('squirrelmail');
-       ?>
-    ">
+       ?>">
   </p>
 </form>
 <?php display_abook_group_footer(); ?>