aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-24 00:54:39 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-24 00:54:39 +0000
commit6c31dd43268dc5cccc91968415cf03350a517c92 (patch)
tree6e4c10a1dead9ca078fa737e533eedd2947c6883
parent151920ed0943568ad51bd6d9bacadcdea46fea4f (diff)
Feature 1533: Bug corrected on favorite option and navigation bar.
git-svn-id: http://piwigo.org/svn/trunk@5305 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--picture.php2
-rw-r--r--themes/default/template/picture_nav_buttons.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/picture.php b/picture.php
index 7bb52056e..6c16c713d 100644
--- a/picture.php
+++ b/picture.php
@@ -787,7 +787,7 @@ if (is_admin())
}
// favorite manipulation
-if (!is_a_guest())
+if (!is_a_guest() and $conf['picture_favorite_icon'])
{
// verify if the picture is already in the favorite of the user
$query = '
diff --git a/themes/default/template/picture_nav_buttons.tpl b/themes/default/template/picture_nav_buttons.tpl
index f0e1300b5..c2a34eb5f 100644
--- a/themes/default/template/picture_nav_buttons.tpl
+++ b/themes/default/template/picture_nav_buttons.tpl
@@ -1,6 +1,6 @@
<div class="navButtons">
-{if $DISPLAY_NAV_BUTTONS and !isset($slideshow)}
+{if $DISPLAY_NAV_BUTTONS or isset($slideshow)}
{if isset($last)}
<a class="navButton" href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" rel="last"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last.png" class="button" alt="{'Last'|@translate}"></a>
{else}