]> git.mxchange.org Git - friendica.git/commitdiff
comment open/close anomolies in non-English languages
authorFriendika <info@friendika.com>
Thu, 7 Apr 2011 23:19:46 +0000 (16:19 -0700)
committerFriendika <info@friendika.com>
Thu, 7 Apr 2011 23:19:46 +0000 (16:19 -0700)
boot.php
mod/display.php
mod/network.php
mod/photos.php
mod/profile.php
view/comment_item.tpl

index 858eb19a8362e511fd79113b62ed51e8101bf56d..5d604599b75d682e50a1d93f502d6402fc5fc7e9 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -2,7 +2,7 @@
 
 set_time_limit(0);
 
-define ( 'FRIENDIKA_VERSION',      '2.1.941' );
+define ( 'FRIENDIKA_VERSION',      '2.1.942' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.2'  );
 define ( 'DB_UPDATE_VERSION',      1047   );
 
index f74137e0e046b33daea75a3c77a19cba1e4cc35c..8224e491ba4175b7e50a468e7e4118e1cd1993c2 100644 (file)
@@ -170,6 +170,8 @@ function display_content(&$a) {
                                                '$mylink' => $contact['url'],
                                                '$mytitle' => t('This is you'),
                                                '$myphoto' => $contact['thumb'],
+                                               '$comment' => t('Comment'),
+                                               '$submit' => t('Submit'),
                                                '$ww' => ''
                                        ));
                                }
index 42c6c0c29e56e4ef971e8d5839c093d236a862ef..678a41f0a49631c3d7aaf61a693b33eacc7bd269 100644 (file)
@@ -502,6 +502,8 @@ function network_content(&$a, $update = 0) {
                                        '$mylink' => $a->contact['url'],
                                        '$mytitle' => t('This is you'),
                                        '$myphoto' => $a->contact['thumb'],
+                                       '$comment' => t('Comment'),
+                                       '$submit' => t('Submit'),
                                        '$ww' => $commentww
                                ));
                        }
index 061542c758ebda931ff6d37e55b1eb7c2ab73fc8..2e0ccd248fd2865625debbe5b63fa96a212ebd4b 100644 (file)
@@ -1105,6 +1105,8 @@ function photos_content(&$a) {
                                                        '$mylink' => $contact['url'],
                                                        '$mytitle' => t('This is you'),
                                                        '$myphoto' => $contact['thumb'],
+                                                       '$comment' => t('Comment'),
+                                                       '$submit' => t('Submit'),
                                                        '$ww' => ''
                                                ));
                                        }
index b421591f6658f8269f99bff8184794621a329fa2..3d0b79a7022e2df091fd66ce33a27219a3ef5f54 100644 (file)
@@ -391,6 +391,8 @@ function profile_content(&$a, $update = 0) {
                                                '$mylink' => $contact['url'],
                                                '$mytitle' => t('This is you'),
                                                '$myphoto' => $contact['thumb'],
+                                               '$comment' => t('Comment'),
+                                               '$submit' => t('Submit'),
                                                '$ww' => ''
                                        ));
                                }
index dabbd6e87bc4c6b7f64acd58dd2ab889b6443be0..0216e31d3d558294fbbd7345cde6bf3bb148895f 100644 (file)
                                        <a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
                                </div>
                                <div class="comment-edit-photo-end"></div>
-                               <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >Comment</textarea>
+                               <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea>
 
                                <div class="comment-edit-text-end"></div>
                                <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
-                                       <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="Submit" />
+                                       <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
                                </div>
 
                                <div class="comment-edit-end"></div>