Show
Ignore:
Timestamp:
08/09/05 22:30:14 (7 years ago)
Author:
alexx
Message:
  • fix last bug in communities (see [14])
  • execute a "conversion smarty style" script ;) : for i in find . -type f | grep "\.php$" | grep -v "\.svn"; do perl -pi -e "s/\\\$smarty->assign\((.*),(.*)\);/\\\$_SMARTY\[\$1\] = \$2;/" $i; done
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/inc_xml/rdf/friends.rdf.inc.php

    r1 r15  
    2727        $friends = $db->getAssoc('SELECT cache_user.id AS id, fname, lname, nick FROM cache_user,relation WHERE cache_user.id=relation.id_friend AND relation.id=?', true, array($_SESSION['my_id'])); 
    2828 
    29 $smarty->assign('friends',$friends); 
     29$_SMARTY['friends'] = $friends; 
    3030?>