mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:40:17 +00:00
comment open/close anomolies in non-English languages
This commit is contained in:
parent
000efa6df0
commit
5d5a94c88a
6 changed files with 11 additions and 3 deletions
2
boot.php
2
boot.php
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
define ( 'FRIENDIKA_VERSION', '2.1.941' );
|
define ( 'FRIENDIKA_VERSION', '2.1.942' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.2' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.2' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1047 );
|
define ( 'DB_UPDATE_VERSION', 1047 );
|
||||||
|
|
||||||
|
|
|
@ -170,6 +170,8 @@ function display_content(&$a) {
|
||||||
'$mylink' => $contact['url'],
|
'$mylink' => $contact['url'],
|
||||||
'$mytitle' => t('This is you'),
|
'$mytitle' => t('This is you'),
|
||||||
'$myphoto' => $contact['thumb'],
|
'$myphoto' => $contact['thumb'],
|
||||||
|
'$comment' => t('Comment'),
|
||||||
|
'$submit' => t('Submit'),
|
||||||
'$ww' => ''
|
'$ww' => ''
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -502,6 +502,8 @@ function network_content(&$a, $update = 0) {
|
||||||
'$mylink' => $a->contact['url'],
|
'$mylink' => $a->contact['url'],
|
||||||
'$mytitle' => t('This is you'),
|
'$mytitle' => t('This is you'),
|
||||||
'$myphoto' => $a->contact['thumb'],
|
'$myphoto' => $a->contact['thumb'],
|
||||||
|
'$comment' => t('Comment'),
|
||||||
|
'$submit' => t('Submit'),
|
||||||
'$ww' => $commentww
|
'$ww' => $commentww
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1105,6 +1105,8 @@ function photos_content(&$a) {
|
||||||
'$mylink' => $contact['url'],
|
'$mylink' => $contact['url'],
|
||||||
'$mytitle' => t('This is you'),
|
'$mytitle' => t('This is you'),
|
||||||
'$myphoto' => $contact['thumb'],
|
'$myphoto' => $contact['thumb'],
|
||||||
|
'$comment' => t('Comment'),
|
||||||
|
'$submit' => t('Submit'),
|
||||||
'$ww' => ''
|
'$ww' => ''
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -391,6 +391,8 @@ function profile_content(&$a, $update = 0) {
|
||||||
'$mylink' => $contact['url'],
|
'$mylink' => $contact['url'],
|
||||||
'$mytitle' => t('This is you'),
|
'$mytitle' => t('This is you'),
|
||||||
'$myphoto' => $contact['thumb'],
|
'$myphoto' => $contact['thumb'],
|
||||||
|
'$comment' => t('Comment'),
|
||||||
|
'$submit' => t('Submit'),
|
||||||
'$ww' => ''
|
'$ww' => ''
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="comment-edit-photo-end"></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-text-end"></div>
|
||||||
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
|
<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>
|
||||||
|
|
||||||
<div class="comment-edit-end"></div>
|
<div class="comment-edit-end"></div>
|
||||||
|
|
Loading…
Reference in a new issue