Ignore:
Timestamp:
10/10/11 18:37:18 (8 years ago)
Author:
patdenice
Message:

Best rated module is now compatible with piwigo 2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/trunk/modules/Recent/main.inc.php

    r9581 r12401  
    122122    } 
    123123 
    124     if ($conf['show_thumbnail_caption']) 
    125     {// name of the picture 
    126       if (isset($row['name']) and $row['name'] != '') 
    127       { 
    128         $name = $row['name']; 
    129       } 
    130       else 
    131       { 
    132         $name = str_replace('_', ' ', get_filename_wo_extension($row['file'])); 
    133       } 
     124    if (isset($row['name']) and $row['name'] != '') 
     125    { 
     126      $name = $row['name']; 
     127    } 
     128    else 
     129    { 
     130      $name = str_replace('_', ' ', get_filename_wo_extension($row['file'])); 
     131    } 
    134132 
    135       $tpl_var['NAME'] = $name; 
    136     } 
     133    $tpl_var['NAME'] = $name; 
    137134 
    138135    if ( isset($nb_comments_of) ) 
Note: See TracChangeset for help on using the changeset viewer.