Changeset 15 for trunk/inc/news

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
Location:
trunk/inc/news
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/inc/news/blog.inc.php

    r1 r15  
    2323 ******************** http://opensource.ikse.net/projects/dotnode ***/ 
    2424 
    25 $smarty->assign('Title', 'Last blog\'s tickets'); 
     25$_SMARTY['Title'] =  'Last blog\'s tickets'; 
    2626 
    2727if($token[2] == 'friends') 
     
    108108} 
    109109 
    110 $smarty->assign('blogs' , $blogs); 
     110$_SMARTY['blogs' ] =  $blogs; 
    111111 
    112112?> 
  • trunk/inc/news/statistics.inc.php

    r1 r15  
    6464} 
    6565 
    66 $smarty->assign('stats', $stats); 
     66$_SMARTY['stats'] =  $stats; 
    6767?>