]> git.mxchange.org Git - friendica.git/commitdiff
prev/next icons (instead of text) for photos
authorFriendika <info@friendika.com>
Tue, 14 Jun 2011 04:43:21 +0000 (21:43 -0700)
committerFriendika <info@friendika.com>
Tue, 14 Jun 2011 04:43:21 +0000 (21:43 -0700)
mod/photos.php

index 18fff703ef0e7ade8d663534cc288d40186aafcd..71780036435045c58a3984b6ecd63f5eb64e48f5 100644 (file)
@@ -1041,7 +1041,7 @@ function photos_content(&$a) {
                }
 
                if($prevlink)
-                       $prevlink = array($prevlink, t('<< Prev')) ;
+                       $prevlink = array($prevlink, '<div class="icon prev"></div>') ;
 
                $photo = array(
                        'href' => $a->get_baseurl() . '/photo/' . $hires['resource-id'] . '-' . $hires['scale'] . '.jpg',
@@ -1050,7 +1050,7 @@ function photos_content(&$a) {
                );
 
                if($nextlink)
-                       $nextlink = array($nextlink, t('Next >>'));
+                       $nextlink = array($nextlink, '<div class="icon next"></div>');
 
 
                // Do we have an item for this photo?