- Timestamp:
- Oct 10, 2011, 6:37:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/trunk/modules/MostVisited/main.inc.php
r9581 r12401 127 127 } 128 128 129 if ($conf['show_thumbnail_caption']) 130 {// name of the picture 131 if (isset($row['name']) and $row['name'] != '') 132 { 133 $name = $row['name']; 134 } 135 else 136 { 137 $name = str_replace('_', ' ', get_filename_wo_extension($row['file'])); 138 } 129 if (isset($row['name']) and $row['name'] != '') 130 { 131 $name = $row['name']; 132 } 133 else 134 { 135 $name = str_replace('_', ' ', get_filename_wo_extension($row['file'])); 136 } 139 137 140 141 142 143 138 if ( !$user['show_nb_hits']) 139 { 140 $name = '('.$row['hit'].') '.$name; 141 } 144 142 145 $tpl_var['NAME'] = $name; 146 } 143 $tpl_var['NAME'] = $name; 147 144 148 145 if ( isset($nb_comments_of) )
Note: See TracChangeset
for help on using the changeset viewer.