Show
Ignore:
Timestamp:
03/03/07 18:28:04 (2 years ago)
Author:
jm3
Message:

xml tag API fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • feedmelinks/modules/folder-list.inc.php

    r1334 r1365  
    1 <% 
     1<?php 
    22        global $prof; 
    33        if(!$modules) 
     
    5757                                        } else if( $mode == "xml" ) { 
    5858                                                if( !strstr( $val, "&amp;" )) 
    59                                                         $val = str_replace( "&", "&amp;", $val ); 
     59                                                        $id   = $groupIDs[$key]; 
     60                                                        $name = $groups[$key]; 
     61                                                        $private_attr = $groupPublicFlags[$key] ? "" : "private=\"true\""; 
    6062                                                        $str = <<<EOD 
    61 <tag count="$groupCounts[$key]" tag="$val"/> 
     63<tag name="$name" id="$id" $private_attr /> 
    6264EOD; 
    6365echo $str; 
     
    6971                } 
    7072        } 
    71 %
     73?