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

    r14 r15  
    4343                $leftmenu["/communities/events/".$community['info']['id_comm']] = 'View events'; 
    4444 
    45                 $smarty->assign('leftmenu',$leftmenu); 
     45                $_SMARTY['leftmenu'] = $leftmenu; 
    4646                /************************************/ 
    4747 
    4848 
    49                 $smarty->assign('community',$community); 
    50                 $smarty->assign('event', $event); 
     49                $_SMARTY['community'] = $community; 
     50                $_SMARTY['event'] =  $event; 
    5151        } 
    5252}