Changeset 1291
- Timestamp:
- Apr 29, 2006, 12:36:49 PM (18 years ago)
- Location:
- branches/branch-1_6/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/include/category_subcats.inc.php
r1273 r1291 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'], -
branches/branch-1_6/include/functions.inc.php
r1282 r1291 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 -
branches/branch-1_6/include/functions_html.inc.php
r1287 r1291 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>' -
branches/branch-1_6/include/page_header.php
r1157 r1291 69 69 } 70 70 71 header('Content-Type: text/html; charset='.$lang_info['charset']); 71 72 $template->parse('header'); 72 73 ?>
Note: See TracChangeset
for help on using the changeset viewer.