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

    r1 r15  
    2323 ******************** http://opensource.ikse.net/projects/dotnode ***/ 
    2424 
    25 $smarty->assign('Title', 'Friends'); 
     25$_SMARTY['Title'] =  'Friends'; 
    2626 
    2727$user['info'] = get_cache_user_info($url_id); 
     
    6969        $leftmenu["/bookmarks/$url_id"] = 'Bookmarks'; 
    7070 
    71 $smarty->assign('leftmenu',$leftmenu); 
     71$_SMARTY['leftmenu'] = $leftmenu; 
    7272 
    7373/************************************************/ 
    74 $smarty->assign('tr_attr', array("class='odd' style='vertical-align:top'", "class='even' style='vertical-align:top'")); 
    75 $smarty->assign('user', $user); 
    76 $smarty->assign('friends', $friends); 
     74$_SMARTY['tr_attr'] = array("class='odd' style='vertical-align:top'", "class='even' style='vertical-align:top'"); 
     75$_SMARTY['user'] =  $user; 
     76$_SMARTY['friends'] =  $friends; 
    7777?>