Changeset 18757


Ignore:
Timestamp:
Oct 27, 2012, 9:18:32 AM (8 years ago)
Author:
rvelices
Message:

fix php warning + removed unnecessary  

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r18747 r18757  
    909909if ( count($related_categories)==1 and
    910910    isset($page['category']) and
    911     $related_categories[0]['category_id']==$page['category']['id'] )
     911    $related_categories[0]['id']==$page['category']['id'] )
    912912{ // no need to go to db, we have all the info
    913913  $template->append(
  • trunk/themes/default/template/picture.tpl

    r18164 r18757  
    136136                {if isset($previous)}
    137137                        <a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">
    138                                 <span class="thumbHover prevThumbHover">&nbsp;</span>
     138                                <span class="thumbHover prevThumbHover"></span>
    139139                                <img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE}">
    140140                        </a>
     
    142142                {if isset($next)}
    143143                        <a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next">
    144                                 <span class="thumbHover nextThumbHover">&nbsp;</span>
     144                                <span class="thumbHover nextThumbHover"></span>
    145145                                <img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE}">
    146146                        </a>
Note: See TracChangeset for help on using the changeset viewer.