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

    r1 r15  
    2323 ******************** http://opensource.ikse.net/projects/dotnode ***/ 
    2424 
    25 $smarty->assign('Title','Blog'); 
     25$_SMARTY['Title'] = 'Blog'; 
    2626 
    2727$_id_blog = $token[2]; 
     
    4747                $leftmenu["/bookmarks/$url_id"] = 'Bookmarks'; 
    4848 
    49         $smarty->assign('leftmenu',$leftmenu); 
     49        $_SMARTY['leftmenu'] = $leftmenu; 
    5050 
    5151 
    5252        /************************************/ 
    5353 
    54         $smarty->assign('user',$user); 
    55         $smarty->assign('comment',$comment); 
     54        $_SMARTY['user'] = $user; 
     55        $_SMARTY['comment'] = $comment; 
    5656} 
    5757else