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/communities/invite.inc.php

    r1 r15  
    3838        $leftmenu["/communities/events/".$token[2]] = 'View events'; 
    3939 
    40         $smarty->assign('leftmenu',$leftmenu); 
     40        $_SMARTY['leftmenu'] = $leftmenu; 
    4141        /************************************/ 
    4242 
    43         $smarty->assign('Title', $community['info']['name']); 
    44         $smarty->assign('friends', $friends); 
    45         $smarty->assign('community', $community); 
     43        $_SMARTY['Title'] =  $community['info']['name']; 
     44        $_SMARTY['friends'] =  $friends; 
     45        $_SMARTY['community'] =  $community; 
    4646} 
    4747else