Changeset 15 for trunk/inc/my.inc.php

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

    r1 r15  
    3030exit(); 
    3131*/ 
    32 $smarty->assign('Title', 'Home'); 
     32$_SMARTY['Title'] =  'Home'; 
    3333 
    3434$idx = 0; 
     
    9494        $leftmenu["/bookmarks/$url_id"] = 'Bookmarks'; 
    9595 
    96 $smarty->assign('leftmenu',$leftmenu); 
     96$_SMARTY['leftmenu'] = $leftmenu; 
    9797 
    9898 
    9999/************************************/ 
    100100 
    101 $smarty->assign('my',$my); 
     101$_SMARTY['my'] = $my; 
    102102 
    103103?>