Ignore:
Timestamp:
05/15/09 17:24:23 (15 years ago)
Author:
amuller
Message:

Ticket #475 - Resolvendo problemas do calendario, em modulos novos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/templates/default/header.inc.php

    r2 r855  
    6565        } 
    6666 
    67         add_col($tpl,'  <td width="2%" align="left">'.add_image_ahref($this->page('matrixselect'),'view',lang('Daily Matrix View')).'</td>'); 
     67        //add_col($tpl,'  <td width="2%" align="left">'.add_image_ahref($this->page('matrixselect'),'view',lang('Daily Matrix View')).'</td>'); 
    6868 
    6969        add_col($tpl,'  <td width="'.(100 - $col_width).'%" align="left"'.(floor(phpversion()) < 4?' colspan="2"':'').'>&nbsp;</td>'); 
     
    165165                        $tpl->parse('header_column','head_col',True); 
    166166                } 
     167//aqui !! 
    167168 
    168169                if((!isset($GLOBALS['phpgw_info']['server']['deny_user_grants_access']) || !$GLOBALS['phpgw_info']['server']['deny_user_grants_access']) && count($this->bo->grants) > 0) 
    169170                { 
    170171                        $form_options = ''; 
    171                         $drop_down = $this->bo->list_cals(); 
     172                         
     173                        $drop_down = $this->bo->list_cals(); //hehe 
     174                         
    172175                        foreach($drop_down as $key => $grant) 
    173                         { 
    174                                 $form_options .= '    <option value="'.$grant['value'].'"'.($grant['grantor']==$this->bo->owner?' selected':'').'>'.$grant['name'].'</option>'."\n"; 
     176                        {                                        
     177                                if(!strstr(($grant['value']),'g_'))  
     178                                        $form_options .= '    <option value="'.$grant['value'].'"'.($grant['grantor']==$this->bo->owner?' selected':'').'>'.$grant['name'].'</option>'."\n"; 
    175179                        } 
    176180                 
Note: See TracChangeset for help on using the changeset viewer.