Show
Ignore:
Timestamp:
08/09/05 21:14:53 (7 years ago)
Author:
alexx
Message:

* fix #16 (add include of country list)
* fux bug in owned communities ("New Topic/event" not displayed)
* fix sample db data
* change strstr to strpos in includes/functions.inc.php (strpos is faster)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/inc/communities/createEvent.inc.php

    r1 r14  
    3232        if(in_array($community['info']['id_comm'], $_SESSION['my_communities_id'])) 
    3333        { 
    34         /************* menu *******************/ 
    35         $leftmenu["/communities/view/".$community['info']['id_comm']] = 'Return to community'; 
    36         $leftmenu["/communities/forum/".$community['info']['id_comm']] = 'View forum'; 
    37         $leftmenu["/communities/events/".$community['info']['id_comm']] = 'View events'; 
     34                /************* menu *******************/ 
     35                $leftmenu["/communities/view/".$community['info']['id_comm']] = 'Return to community'; 
     36                $leftmenu["/communities/forum/".$community['info']['id_comm']] = 'View forum'; 
     37                $leftmenu["/communities/events/".$community['info']['id_comm']] = 'View events'; 
    3838 
    39         $smarty->assign('leftmenu',$leftmenu); 
    40         /************************************/ 
     39                $smarty->assign('leftmenu',$leftmenu); 
     40                /************************************/ 
    4141 
    42         $smarty->assign('Title', 'Communities'); 
    43         $smarty->assign('community', $community); 
     42                $smarty->assign('Title', 'Communities'); 
     43                $smarty->assign('community', $community); 
    4444        } 
    4545        else