diff options
author | chrisaga <chrisaga@piwigo.org> | 2006-04-29 10:29:32 +0000 |
---|---|---|
committer | chrisaga <chrisaga@piwigo.org> | 2006-04-29 10:29:32 +0000 |
commit | d05caccc318410e0e1321e9c0d0d29983c8e4cf5 (patch) | |
tree | 5a7b1737a74f8067a5ccefcd1b11ce335731cd25 /include/category_subcats.inc.php | |
parent | 360e21242f78ae87466996febff2b5edbf0c33f7 (diff) |
bug 358 fixed : Accent are not correctly displayed in category listing
Removed calls to htmlentities()
improvement : charset added in HTTP header so browser's automatic encoding works even if httpd
is not netto latin1
revert to original l10n() : use of htmlentities() didn't solve bug in IE tooltips
git-svn-id: http://piwigo.org/svn/trunk@1290 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_subcats.inc.php')
-rw-r--r-- | include/category_subcats.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/category_subcats.inc.php b/include/category_subcats.inc.php index 578cabde6..60a7c4225 100644 --- a/include/category_subcats.inc.php +++ b/include/category_subcats.inc.php @@ -149,7 +149,7 @@ SELECT id, path, tn_ext 'categories.category', array( 'SRC' => $thumbnail_src_of[ $category['picture'] ], - 'ALT' => htmlentities($category['name'],ENT_QUOTES), + 'ALT' => $category['name'], 'TITLE' => $lang['hint_category'], 'ICON' => get_icon(@$category['date_last']), @@ -159,7 +159,7 @@ SELECT id, path, tn_ext 'cat_name' => $category['name'], ) ), - 'NAME' => htmlentities($category['name'],ENT_QUOTES), + 'NAME' => $category['name'], 'CAPTION_NB_IMAGES' => (($category['nb_images'] == 0) ? '' : sprintf("%d ".l10n('pictures'), $category['nb_images'])), 'DESCRIPTION' => @$category['comment'], ) |