Skip to content

Commit

Permalink
Feature 1533: Bug corrected on favorite option and navigation bar.
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@5305 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
patdenice committed Mar 24, 2010
1 parent 151920e commit 6c31dd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion picture.php
Expand Up @@ -787,7 +787,7 @@ function default_picture_content($content, $element_info)
}

// 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 = '
Expand Down
2 changes: 1 addition & 1 deletion 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}
Expand Down

0 comments on commit 6c31dd4

Please sign in to comment.