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
This commit is contained in:
rvelices 2006-02-17 02:41:57 +00:00
commit 08b6381564
4 changed files with 11 additions and 7 deletions

View file

@ -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'])