- Timestamp:
- Apr 29, 2006, 12:29:32 PM (18 years ago)
- Location:
- trunk/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_subcats.inc.php
r1274 r1290 150 150 array( 151 151 'SRC' => $thumbnail_src_of[ $category['picture'] ], 152 'ALT' => htmlentities($category['name'],ENT_QUOTES),152 'ALT' => $category['name'], 153 153 'TITLE' => $lang['hint_category'], 154 154 'ICON' => get_icon(@$category['date_last']), … … 160 160 ) 161 161 ), 162 'NAME' => htmlentities($category['name'],ENT_QUOTES),162 'NAME' => $category['name'], 163 163 'CAPTION_NB_IMAGES' => (($category['nb_images'] == 0) ? '' : sprintf("%d ".l10n('pictures'), $category['nb_images'])), 164 164 'DESCRIPTION' => @$category['comment'], -
trunk/include/functions.inc.php
r1284 r1290 800 800 * @return string 801 801 */ 802 function raw_l10n($key)802 function l10n($key) 803 803 { 804 804 global $lang, $conf; … … 810 810 811 811 return isset($lang[$key]) ? $lang[$key] : $key; 812 }813 /**814 * Like l10n but converts html entities815 *816 * @param string key817 * @return string818 */819 function l10n($key)820 {821 return htmlentities(raw_l10n($key),ENT_QUOTES);822 812 } 823 813 -
trunk/include/functions_html.inc.php
r1288 r1290 451 451 $menu.= ' rel="up"'; 452 452 } 453 $menu.= '>'. htmlentities($category['name'],ENT_QUOTES).'</a>';453 $menu.= '>'.$category['name'].'</a>'; 454 454 455 455 if ($category['nb_images'] > 0) … … 551 551 $output.= 552 552 ' />' 553 .' '. htmlentities($tag['name'],ENT_QUOTES)553 .' '. $tag['name'] 554 554 .'</label>' 555 555 .'</li>' -
trunk/include/page_header.php
r1289 r1290 65 65 } 66 66 67 header('Content-Type: text/html; charset='.$lang_info['charset']); 67 68 $template->parse('header'); 68 69 ?>
Note: See TracChangeset
for help on using the changeset viewer.