]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
bbcode: Use shorter method for shared content to networks where size matters.
[friendica.git] / mod / photos.php
index 1ec16898bf761f784d0d0b652b403959d8e3e4e2..0e9055d05dcf1cff004e54019a93a73c4847d686 100644 (file)
@@ -1640,10 +1640,15 @@ function photos_content(&$a) {
 
                                        $profile_link = $profile_url;
 
-                                       $drop = '';
-
-                                       if(($item['contact-id'] == $contact_id) || ($item['uid'] == local_user()))
-                                               $drop = replace_macros(get_markup_template('photo_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
+                                       
+                                       
+                                       $dropping = (($item['contact-id'] == $contact_id) || ($item['uid'] == local_user()));
+                                       $drop = array(
+                                               'dropping' => $dropping,
+                                               'pagedrop' => false,
+                                               'select' => t('Select'),
+                                               'delete' => t('Delete'),
+                                       );
 
 
                                        if($a->theme['template_engine'] === 'internal') {