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

    r1 r15  
    2323 ******************** http://opensource.ikse.net/projects/dotnode ***/ 
    2424 
    25 $smarty->assign('Title',"Manage blog's categories"); 
     25$_SMARTY['Title'] = "Manage blog's categories"; 
    2626$cats = $db->query('SELECT id_cat, name, comment FROM blog_categorie WHERE id=?', $_SESSION['my_id'] ); 
    2727 
     
    3333        $my['blog']['categorie'][$cat['id_cat']] = $cat; 
    3434 
    35 $smarty->assign('my', $my); 
     35$_SMARTY['my'] =  $my; 
    3636?>