prev/next icons (instead of text) for photos

This commit is contained in:
Friendika 2011-06-13 21:43:21 -07:00
parent dc10178b18
commit 4469f92ea3

View File

@ -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?