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

    r1 r15  
    2323 ******************** http://opensource.ikse.net/projects/dotnode ***/ 
    2424 
    25 $smarty->assign('Title', 'Fans'); 
     25$_SMARTY['Title'] =  'Fans'; 
    2626 
    2727$user['info'] = get_cache_user_info($url_id); 
     
    7878        $leftmenu["/bookmarks/$url_id"] = 'Bookmarks'; 
    7979 
    80 $smarty->assign('leftmenu',$leftmenu); 
     80$_SMARTY['leftmenu'] = $leftmenu; 
    8181 
    8282/************************************************/ 
    83 $smarty->assign('tr_attr', array("class='odd' style='vertical-align:top'", "class='even' style='vertical-align:top'")); 
    84 $smarty->assign('user', $user); 
    85 $smarty->assign('fans', $fans); 
     83$_SMARTY['tr_attr'] = array("class='odd' style='vertical-align:top'", "class='even' style='vertical-align:top'"); 
     84$_SMARTY['user'] =  $user; 
     85$_SMARTY['fans'] =  $fans; 
    8686 
    8787?>