Feature 1533: Bug corrected on favorite option and navigation bar.

git-svn-id: http://piwigo.org/svn/trunk@5305 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice
2010-03-24 00:54:39 +00:00
parent 151920ed09
commit 6c31dd4326
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 = '
@@ -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}