Changeset 1260
- Timestamp:
- Apr 22, 2006, 5:27:13 PM (18 years ago)
- Location:
- branches/branch-1_6/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/include/category_subcats.inc.php
r1173 r1260 150 150 array( 151 151 'SRC' => $thumbnail_src_of[ $category['picture'] ], 152 'ALT' => $category['name'],152 'ALT' => htmlentities($category['name'],ENT_QUOTES), 153 153 'TITLE' => $lang['hint_category'], 154 154 'ICON' => get_icon(@$category['date_last']), … … 160 160 ) 161 161 ), 162 'NAME' => $category['name'],162 'NAME' => htmlentities($category['name'],ENT_QUOTES), 163 163 'CAPTION_NB_IMAGES' => (($category['nb_images'] == 0) ? '' : sprintf("%d ".l10n('pictures'), $category['nb_images'])), 164 'DESCRIPTION' => @$category['comment'],164 'DESCRIPTION' => htmlentities(@$category['comment'],ENT_QUOTES), 165 165 ) 166 166 ); -
branches/branch-1_6/include/functions_html.inc.php
r1202 r1260 451 451 $menu.= ' rel="up"'; 452 452 } 453 $menu.= '>'. $category['name'].'</a>';453 $menu.= '>'.htmlentities($category['name'],ENT_QUOTES).'</a>'; 454 454 455 455 if ($category['nb_images'] > 0) … … 501 501 $content = preg_replace($pattern, $replacement, $content); 502 502 503 $content = '<div>'. $content.'</div>';503 $content = '<div>'.htmlentities($content,ENT_QUOTES).'</div>'; 504 504 return $content; 505 505 } … … 551 551 $output.= 552 552 ' />' 553 .' '. $tag['name']553 .' '. htmlentities($tag['name'],ENT_QUOTES) 554 554 .'</label>' 555 555 .'</li>'
Note: See TracChangeset
for help on using the changeset viewer.