Ignore:
Timestamp:
02/02/09 08:07:49 (15 years ago)
Author:
niltonneto
Message:

Implementações do desenvolvedor. amuller@…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoCalendar/index.php

    r632 r656  
    3333        $GLOBALS['phpgw']->categories = CreateObject('phpgwapi.categories'); 
    3434        $bo = CreateObject('calendar.bocalendar'); 
    35         $cat = $bo->cat; 
     35        $cat = &$bo->cat; 
     36        $cat->app_name = 'calendar'; // The categories still the same from egroupwareCalendar 
    3637        $optionCategories = $cat->formated_list('select','all',$bo->cat_id,'True'); 
    3738        foreach ($bo->list_cals() as $cal_) 
    38                 $optionCals .= '<option value="' . $cal_['grantor'] . '">'.$cal_['name'].'</option>' . "\n"; 
    39  
     39                if (! strstr($cal_['value'],'g_')) 
     40                        $optionCals .= '<option value="' . $cal_['grantor'] . '">'.$cal_['name'].'</option>' . "\n"; 
    4041} 
    4142 
Note: See TracChangeset for help on using the changeset viewer.