fix php warning + removed unnecessary
git-svn-id: http://piwigo.org/svn/trunk@18757 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
e4d30d6bff
commit
fe8330d14f
2 changed files with 3 additions and 3 deletions
|
|
@ -908,7 +908,7 @@ if ( count($tags) )
|
|||
// related categories
|
||||
if ( count($related_categories)==1 and
|
||||
isset($page['category']) and
|
||||
$related_categories[0]['category_id']==$page['category']['id'] )
|
||||
$related_categories[0]['id']==$page['category']['id'] )
|
||||
{ // no need to go to db, we have all the info
|
||||
$template->append(
|
||||
'related_categories',
|
||||
|
|
|
|||
|
|
@ -135,13 +135,13 @@ y.callService(
|
|||
<div class="navThumbs">
|
||||
{if isset($previous)}
|
||||
<a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">
|
||||
<span class="thumbHover prevThumbHover"> </span>
|
||||
<span class="thumbHover prevThumbHover"></span>
|
||||
<img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE}">
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($next)}
|
||||
<a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next">
|
||||
<span class="thumbHover nextThumbHover"> </span>
|
||||
<span class="thumbHover nextThumbHover"></span>
|
||||
<img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE}">
|
||||
</a>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue