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

    r1 r15  
    2424 
    2525include(INCLUDESPATH.'/bookmarks.inc.php'); 
    26 $smarty->assign('Title','Bookmarks'); 
     26$_SMARTY['Title'] = 'Bookmarks'; 
    2727 
    2828$links = $db->query('SELECT link, comment, id_cat FROM bookmarks WHERE id=?', array($_SESSION['my_id']) ); 
     
    4747$bookmarks_cat_parent = array('0'=>' - Root - '); 
    4848$bookmarks_cat_parent += $cats; 
    49 $smarty->assign('my',$my); 
     49$_SMARTY['my'] = $my; 
    5050$smarty->assign_by_ref('bookmarks_cat',$bookmarks_cat); 
    5151$smarty->assign_by_ref('bookmarks_cat_parent',$bookmarks_cat_parent);