Changeset 25425 for trunk/include/functions_html.inc.php
- Timestamp:
- Nov 10, 2013, 5:18:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_html.inc.php
r25202 r25425 32 32 * @param array cat_informations 33 33 * @param string url 34 * @param boolean replace_space35 34 * @return string 36 35 */ 37 function get_cat_display_name($cat_informations, 38 $url = '', 39 $replace_space = false) 36 function get_cat_display_name($cat_informations, $url = '') 40 37 { 41 38 global $conf; … … 87 84 } 88 85 } 89 if ($replace_space) 90 { 91 return replace_space($output); 92 } 93 else 94 { 95 return $output; 96 } 86 return $output; 97 87 } 98 88 … … 107 97 * @param string uppercats 108 98 * @param string url 109 * @param boolean replace_space110 99 * @return string 111 100 */ 112 101 function get_cat_display_name_cache($uppercats, 113 102 $url = '', 114 $replace_space = false,115 103 $single_link = false, 116 104 $link_class = null) … … 185 173 } 186 174 187 if ($replace_space) 188 { 189 return replace_space($output); 190 } 191 else 192 { 193 return $output; 194 } 175 return $output; 195 176 } 196 177 … … 231 212 } 232 213 233 function get_cat_display_name_from_id($cat_id, 234 $url = '', 235 $replace_space = false) 214 function get_cat_display_name_from_id($cat_id, $url = '') 236 215 { 237 216 $cat_info = get_cat_info($cat_id); 238 return get_cat_display_name($cat_info['upper_names'], $url , $replace_space);217 return get_cat_display_name($cat_info['upper_names'], $url); 239 218 } 240 219
Note: See TracChangeset
for help on using the changeset viewer.