Changeset 1046 for trunk/tools


Ignore:
Timestamp:
Feb 17, 2006, 3:41:57 AM (18 years ago)
Author:
rvelices
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/create_listing_file.php

    r1029 r1046  
    461461            foreach (array_keys($iptc) as $key)
    462462            {
    463               $element[$key] = addslashes($iptc[$key]);
     463              $element[$key] = $iptc[$key];
    464464            }
    465465          }
     
    541541    $listing = '<informations';
    542542    $listing.= ' generation_date="'.date('Y-m-d').'"';
    543     $listing.= ' phpwg_version="'.$conf{'version'}.'"';
     543    $listing.= ' phpwg_version="'.htmlentities($conf{'version'}).'"';
    544544   
    545545    $attrs=array();
Note: See TracChangeset for help on using the changeset viewer.