diff options
Diffstat (limited to 'views/default/object')
-rw-r--r-- | views/default/object/image.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php index d7b791a78..65319c1be 100644 --- a/views/default/object/image.php +++ b/views/default/object/image.php @@ -157,10 +157,10 @@ if ($photo_tags) { } if ($current != 0) - $back = '<a href="' .$vars['url'] . 'pg/photos/view/' . $_SESSION['image_sort'][$current-1] . '#content_area_user_title"><<' . elgg_echo('image:back') . '</a>'; + $back = '<a href="' .$vars['url'] . 'pg/photos/view/' . $_SESSION['image_sort'][$current-1] . '"><<' . elgg_echo('image:back') . '</a>'; if (sizeof($_SESSION['image_sort']) > $current + 1) - $next = '<a href="' . $vars['url'] . 'pg/photos/view/' . $_SESSION['image_sort'][$current+1] . '#content_area_user_title">' . elgg_echo('image:next') . '>></a>'; + $next = '<a href="' . $vars['url'] . 'pg/photos/view/' . $_SESSION['image_sort'][$current+1] . '">' . elgg_echo('image:next') . '>></a>'; ?> @@ -184,7 +184,10 @@ if ($photo_tags) { <?php echo autop($desc); ?> </div> <div id="tidypics_image_nav"> - <?php echo $back . " " . $next; ?> + <ul> + <li><?php echo $back; ?></li> + <li><?php echo $next; ?></li> + </ul> </div> <div id="tidypics_image_wrapper"> <?php echo '<img id="tidypics_image"' . ' src="' . $vars['url'] . 'mod/tidypics/thumbnail.php?file_guid=' . $file_guid . '&size=large" alt="' . $title . '"/>'; ?> |