Changeset 15 for trunk/inc/communities/category.inc.php
- Timestamp:
- 08/09/05 22:30:14 (7 years ago)
- Files:
-
- 1 modified
-
trunk/inc/communities/category.inc.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/communities/category.inc.php
r1 r15 32 32 if(is_numeric($token[2])) 33 33 { 34 $ smarty->assign('Title', 'By category');34 $_SMARTY['Title'] = 'By category'; 35 35 36 36 if($token[3] == 'newer') … … 42 42 43 43 $nb_page = ceil($category['nb_communities']/20); 44 $pages = array_fill(1,$nb_page, NULL);44 $pages = @array_fill(1,$nb_page, NULL); 45 45 46 46 if($category['nb_communities']>20 && is_numeric($token[4]) && $token[4]<= $nb_page ) … … 56 56 } 57 57 58 $ smarty->assign('cat', $category);59 $ smarty->assign('pages', $pages);60 $ smarty->assign('communities', $communities);58 $_SMARTY['cat'] = $category; 59 $_SMARTY['pages'] = $pages; 60 $_SMARTY['communities'] = $communities; 61 61 } 62 62 else … … 77 77 } 78 78 79 $ smarty->assign('categories', $categories);79 $_SMARTY['categories'] = $categories; 80 80 81 81 array_unshift($categories_list, _('Everywhere')); 82 $ smarty->assign('categories_list', $categories_list);82 $_SMARTY['categories_list'] = $categories_list; 83 83 84 84 }
