mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:00:16 +00:00
prev/next icons (instead of text) for photos
This commit is contained in:
parent
dc10178b18
commit
4469f92ea3
1 changed files with 2 additions and 2 deletions
|
@ -1041,7 +1041,7 @@ function photos_content(&$a) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if($prevlink)
|
if($prevlink)
|
||||||
$prevlink = array($prevlink, t('<< Prev')) ;
|
$prevlink = array($prevlink, '<div class="icon prev"></div>') ;
|
||||||
|
|
||||||
$photo = array(
|
$photo = array(
|
||||||
'href' => $a->get_baseurl() . '/photo/' . $hires['resource-id'] . '-' . $hires['scale'] . '.jpg',
|
'href' => $a->get_baseurl() . '/photo/' . $hires['resource-id'] . '-' . $hires['scale'] . '.jpg',
|
||||||
|
@ -1050,7 +1050,7 @@ function photos_content(&$a) {
|
||||||
);
|
);
|
||||||
|
|
||||||
if($nextlink)
|
if($nextlink)
|
||||||
$nextlink = array($nextlink, t('Next >>'));
|
$nextlink = array($nextlink, '<div class="icon next"></div>');
|
||||||
|
|
||||||
|
|
||||||
// Do we have an item for this photo?
|
// Do we have an item for this photo?
|
||||||
|
|
Loading…
Reference in a new issue