Changeset 600 for trunk/plog-xml.php


Ignore:
Timestamp:
06/22/09 19:11:40 (13 months ago)
Author:
sidtheduck
Message:

-Fix for search function bug in r599
-minor syntax fixes for plog-xml.php
-minor syntax fix for intermediate images with denied full picture access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plog-xml.php

    r591 r600  
    175175                        // Put together the tag attributes 
    176176                        foreach ($collection as $var => $val) { 
    177                                 $xml .= ''.$var.'="'.htmlspecialchars($val).'"'; 
     177                                $xml .= ' '.$var.'="'.htmlspecialchars($val).'"'; 
    178178                        } 
    179179 
     
    200200                                        } 
    201201 
     202                                        $album['album_path'] = sanitize_filename($album['collection_name']).'/'.sanitize_filename($album['album_name']).'/'; 
    202203                                        $album['thumb_path'] = 'plog-thumb.php?id='.$album['thumbnail_id']; 
    203204 
    204205                                        $xml .= '<album'; 
    205206                                        foreach ($album as $var => $val) { 
    206                                                 $xml .= ''.$var.'="'.htmlspecialchars($val).'"'; 
     207                                                $xml .= ' '.$var.'="'.htmlspecialchars($val).'"'; 
    207208                                        } 
    208209                                        $xml .= '>'; 
Note: See TracChangeset for help on using the changeset viewer.