From ae887e78065dfecd91ec11a6f1ed4f7831fff523 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 30 Oct 2012 05:59:12 +0000 Subject: - spaces are not replaced with   in category names by default. The same thing can be achieved by css if required and long album names are cut in the middle of the word on elegant theme, picture page sidebar. NOte: I almost wanted to remove the replace_space feature, but let's wait for 2.6 git-svn-id: http://piwigo.org/svn/trunk@18815 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_html.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/functions_html.inc.php') diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 531df5287..f1634a974 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -36,7 +36,7 @@ */ function get_cat_display_name($cat_informations, $url = '', - $replace_space = true) + $replace_space = false) { global $conf; @@ -111,7 +111,7 @@ function get_cat_display_name($cat_informations, */ function get_cat_display_name_cache($uppercats, $url = '', - $replace_space = true, + $replace_space = false, $single_link = false, $link_class = null) { @@ -232,7 +232,7 @@ function render_comment_content($content) function get_cat_display_name_from_id($cat_id, $url = '', - $replace_space = true) + $replace_space = false) { $cat_info = get_cat_info($cat_id); return get_cat_display_name($cat_info['upper_names'], $url, $replace_space); -- cgit v1.2.3