mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 11:49:56 +03:00
- 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
This commit is contained in:
parent
60620e883e
commit
ae887e7806
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@
|
||||||
*/
|
*/
|
||||||
function get_cat_display_name($cat_informations,
|
function get_cat_display_name($cat_informations,
|
||||||
$url = '',
|
$url = '',
|
||||||
$replace_space = true)
|
$replace_space = false)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ function get_cat_display_name($cat_informations,
|
||||||
*/
|
*/
|
||||||
function get_cat_display_name_cache($uppercats,
|
function get_cat_display_name_cache($uppercats,
|
||||||
$url = '',
|
$url = '',
|
||||||
$replace_space = true,
|
$replace_space = false,
|
||||||
$single_link = false,
|
$single_link = false,
|
||||||
$link_class = null)
|
$link_class = null)
|
||||||
{
|
{
|
||||||
|
@ -232,7 +232,7 @@ function render_comment_content($content)
|
||||||
|
|
||||||
function get_cat_display_name_from_id($cat_id,
|
function get_cat_display_name_from_id($cat_id,
|
||||||
$url = '',
|
$url = '',
|
||||||
$replace_space = true)
|
$replace_space = false)
|
||||||
{
|
{
|
||||||
$cat_info = get_cat_info($cat_id);
|
$cat_info = get_cat_info($cat_id);
|
||||||
return get_cat_display_name($cat_info['upper_names'], $url, $replace_space);
|
return get_cat_display_name($cat_info['upper_names'], $url, $replace_space);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue