aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-10-30 05:59:12 +0000
committerrvelices <rv-github@modusoptimus.com>2012-10-30 05:59:12 +0000
commitae887e78065dfecd91ec11a6f1ed4f7831fff523 (patch)
tree0a21831467ca2b5bc6df81869278d80292f74786 /include
parent60620e883e25095b8fb205b59e840f1e49fc9e38 (diff)
- spaces are not replaced with &nbsp; 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
Diffstat (limited to 'include')
-rw-r--r--include/functions_html.inc.php6
1 files changed, 3 insertions, 3 deletions
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);