diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-02-17 02:41:57 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-02-17 02:41:57 +0000 |
commit | 08b63815640b2fc8059c243a4f9feaf865801a25 (patch) | |
tree | 9d85b271d0857dd898d61883258d11986071c367 /tools/create_listing_file.php | |
parent | f27bd8558af02ec510137a196b874c87925e14bb (diff) |
fix: remote site decodes html entities from xml and addslashes
fix: picture displays "image rank/total" images even for non numeric categories
fix: category comment not transformed with nl2br if allow_html_descriptions and
comment already looks like html
git-svn-id: http://piwigo.org/svn/trunk@1046 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'tools/create_listing_file.php')
-rw-r--r-- | tools/create_listing_file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/create_listing_file.php b/tools/create_listing_file.php index 593cd8073..fb3786f11 100644 --- a/tools/create_listing_file.php +++ b/tools/create_listing_file.php @@ -460,7 +460,7 @@ function get_pictures($dir, $indent) { foreach (array_keys($iptc) as $key) { - $element[$key] = addslashes($iptc[$key]); + $element[$key] = $iptc[$key]; } } } @@ -540,7 +540,7 @@ switch ($page['action']) $listing = '<informations'; $listing.= ' generation_date="'.date('Y-m-d').'"'; - $listing.= ' phpwg_version="'.$conf{'version'}.'"'; + $listing.= ' phpwg_version="'.htmlentities($conf{'version'}).'"'; $attrs=array(); if ($conf['use_iptc']) |