mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
Merge branch 'master' of https://github.com/friendica/friendica into threaded_items
Conflicts: include/conversation.php
This commit is contained in:
commit
e247915f48
21 changed files with 72 additions and 55 deletions
|
@ -247,7 +247,7 @@ class Photo {
|
|||
if($this->is_imagick()) {
|
||||
$this->image->setFirstIterator();
|
||||
do {
|
||||
$this->image->rotateImage(new ImagickPixel(), $degrees);
|
||||
$this->image->rotateImage(new ImagickPixel(), -$degrees); // ImageMagick rotates in the opposite direction of imagerotate()
|
||||
} while ($this->image->nextImage());
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -514,6 +514,7 @@ function prepare_threads_body($a, $items, $cmnt_tpl, $page_writeable, $mode, $pr
|
|||
'$edurl' => t('Link'),
|
||||
'$edvideo' => t('Video'),
|
||||
'$preview' => t('Preview'),
|
||||
'$sourceapp' => t($a->sourcename),
|
||||
'$ww' => (($mode === 'network') ? $commentww : '')
|
||||
));
|
||||
}
|
||||
|
@ -1132,7 +1133,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
|
|||
'$bang' => $x['bang'],
|
||||
'$profile_uid' => $x['profile_uid'],
|
||||
'$preview' => t('Preview'),
|
||||
'$mobileapp' => t('Friendica mobile web'),
|
||||
'$sourceapp' => t($a->sourcename),
|
||||
));
|
||||
|
||||
|
||||
|
|
|
@ -3699,7 +3699,7 @@ function drop_item($id,$interactive = true) {
|
|||
|
||||
// check if logged in user is either the author or owner of this item
|
||||
|
||||
if((local_user() == $item['uid']) || (remote_user() == $item['contact-id'])) {
|
||||
if((local_user() == $item['uid']) || (remote_user() == $item['contact-id']) || (! $interactive)) {
|
||||
|
||||
// delete the item
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue