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

    r1 r15  
    2424 
    2525include(INCLUDESPATH.'/bookmarks.inc.php'); 
    26 $smarty->assign('Title','Bookmarks'); 
     26$_SMARTY['Title'] = 'Bookmarks'; 
    2727 
    2828if($token[1]=='category' && is_numeric($token[2])) 
     
    5858 
    5959        $path = get_cat_path($token[2]); 
    60         $smarty->assign('path',$path); 
     60        $_SMARTY['path'] = $path; 
    6161} 
    6262$user['info'] = get_cache_user_info($url_id); 
     
    7676        $leftmenu["/bookmarks/$url_id"] = 'Bookmarks'; 
    7777 
    78 $smarty->assign('leftmenu',$leftmenu); 
     78$_SMARTY['leftmenu'] = $leftmenu; 
    7979/*****************************************/ 
    8080 
    81 $smarty->assign('leftmenu',$leftmenu); 
    82 $smarty->assign('links',$links); 
    83 $smarty->assign('user',$user); 
     81$_SMARTY['leftmenu'] = $leftmenu; 
     82$_SMARTY['links'] = $links; 
     83$_SMARTY['user'] = $user; 
    8484 
    8585