minor change: rel should not be part of the PHP
authorRabuzarus <rabuzarus@t-online.de>
Fri, 26 Dec 2014 02:32:21 +0000 (03:32 +0100)
committerRabuzarus <rabuzarus@t-online.de>
Fri, 26 Dec 2014 02:32:21 +0000 (03:32 +0100)
mod/photos.php

index 8fc26d9..2521a1c 100644 (file)
@@ -1242,14 +1242,11 @@ function photos_content(&$a) {
                                        $desc_e = $rr['desc'];
                                }
                                
-                               $rel=("photo");
-
                                $photos[] = array(
                                        'id' => $rr['id'],
                                        'twist' => ' ' . $twist . rand(2,4),
                                        'link' => $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/image/' . $rr['resource-id']
                                                . (($_GET['order'] === 'posted') ? '?f=&order=posted' : ''),
-                                       'rel' => $rel,
                                        'title' => t('View Photo'),
                                        'src' => $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] . '.' .$ext,
                                        'alt' => $imgalt_e,