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

    r1 r15  
    4242        $leftmenu["/communities/events/".$community['info']['id_comm']] = 'View events'; 
    4343 
    44         $smarty->assign('leftmenu',$leftmenu); 
     44        $_SMARTY['leftmenu'] = $leftmenu; 
    4545 
    4646 
     
    4848 
    4949 
    50         $smarty->assign('categories', $categories); 
     50        $_SMARTY['categories'] =  $categories; 
    5151 
    5252 
    53         $smarty->assign('Title', 'Community'); 
    54         $smarty->assign('community', $community); 
     53        $_SMARTY['Title'] =  'Community'; 
     54        $_SMARTY['community'] =  $community; 
    5555} 
    5656else