minor change: rel should not be part of the PHP
This commit is contained in:
parent
432cf6f2ce
commit
cb47fdfcb9
1 changed files with 0 additions and 3 deletions
|
@ -1242,14 +1242,11 @@ function photos_content(&$a) {
|
||||||
$desc_e = $rr['desc'];
|
$desc_e = $rr['desc'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$rel=("photo");
|
|
||||||
|
|
||||||
$photos[] = array(
|
$photos[] = array(
|
||||||
'id' => $rr['id'],
|
'id' => $rr['id'],
|
||||||
'twist' => ' ' . $twist . rand(2,4),
|
'twist' => ' ' . $twist . rand(2,4),
|
||||||
'link' => $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/image/' . $rr['resource-id']
|
'link' => $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/image/' . $rr['resource-id']
|
||||||
. (($_GET['order'] === 'posted') ? '?f=&order=posted' : ''),
|
. (($_GET['order'] === 'posted') ? '?f=&order=posted' : ''),
|
||||||
'rel' => $rel,
|
|
||||||
'title' => t('View Photo'),
|
'title' => t('View Photo'),
|
||||||
'src' => $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] . '.' .$ext,
|
'src' => $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] . '.' .$ext,
|
||||||
'alt' => $imgalt_e,
|
'alt' => $imgalt_e,
|
||||||
|
|
Loading…
Reference in a new issue