plugins/libcalendaring

Thomas Brüderli bruederli at kolabsys.com
Tue Jul 8 14:35:49 CEST 2014


 plugins/libcalendaring/lib/libcalendaring_itip.php |   16 +++++++++-------
 plugins/libcalendaring/localization/en_US.inc      |    2 +-
 2 files changed, 10 insertions(+), 8 deletions(-)

New commits:
commit c67becd5ae029fad12bc9f55eb235968a4178f69
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Tue Jul 8 14:35:11 2014 +0200

    Visually align iTip reply control UI elements; change wording to match terms we're already using

diff --git a/plugins/libcalendaring/lib/libcalendaring_itip.php b/plugins/libcalendaring/lib/libcalendaring_itip.php
index eeb1445..570bade 100644
--- a/plugins/libcalendaring/lib/libcalendaring_itip.php
+++ b/plugins/libcalendaring/lib/libcalendaring_itip.php
@@ -437,18 +437,20 @@ class libcalendaring_itip
                 }
             }
 
-            // add input field for reply comment
-            $rsvp_buttons .= html::a(array('href' => '#toggle', 'class' => 'reply-comment-toggle'), $this->gettext('itipeditresponse'));
-            $rsvp_buttons .= html::div('itip-reply-comment',
-                html::tag('textarea', array('id' => 'reply-comment-'.$dom_id, 'cols' => 40, 'rows' => 6, 'style' => 'display:none', 'placeholder' => $this->gettext('itipcomment')), '')
-            );
-
             // add checkbox to suppress itip reply message
-            $rsvp_buttons .= html::label(array('class' => 'noreply-toggle'),
+            $rsvp_additions = html::label(array('class' => 'noreply-toggle'),
                 html::tag('input', array('type' => 'checkbox', 'id' => 'noreply-'.$dom_id, 'value' => 1))
                 . ' ' . $this->gettext('itipsuppressreply')
             );
 
+            // add input field for reply comment
+            $rsvp_additions .= html::a(array('href' => '#toggle', 'class' => 'reply-comment-toggle'), $this->gettext('itipeditresponse'));
+            $rsvp_additions .= html::div('itip-reply-comment',
+                html::tag('textarea', array('id' => 'reply-comment-'.$dom_id, 'cols' => 40, 'rows' => 6, 'style' => 'display:none', 'placeholder' => $this->gettext('itipcomment')), '')
+            );
+
+            $rsvp_buttons .= html::div('itip-reply-controls', $rsvp_additions);
+
             $buttons[] = html::div(array('id' => 'rsvp-'.$dom_id, 'class' => 'rsvp-buttons', 'style' => 'display:none'), $rsvp_buttons);
         }
         // for CANCEL messages, we can:
diff --git a/plugins/libcalendaring/localization/en_US.inc b/plugins/libcalendaring/localization/en_US.inc
index d3c9187..505b1dc 100644
--- a/plugins/libcalendaring/localization/en_US.inc
+++ b/plugins/libcalendaring/localization/en_US.inc
@@ -79,7 +79,7 @@ $labels['itipneeds-action'] = 'Postpone';
 $labels['itipcomment'] = 'Your response';
 $labels['itipeditresponse'] = 'Enter a response text';
 $labels['itipsendercomment'] = 'Sender\'s comment: ';
-$labels['itipsuppressreply'] = 'Don\'t send reply message';
+$labels['itipsuppressreply'] = 'Do not send a response';
 
 $labels['itipobjectnotfound'] = 'The object referred by this message was not found in your account.';
 $labels['itipsubjectaccepted'] = '"$title" has been accepted by $name';




More information about the commits mailing list