Changeset 855 for trunk/calendar/templates/default/header.inc.php
- Timestamp:
- 05/15/09 17:24:23 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/templates/default/header.inc.php
r2 r855 65 65 } 66 66 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>'); 68 68 69 69 add_col($tpl,' <td width="'.(100 - $col_width).'%" align="left"'.(floor(phpversion()) < 4?' colspan="2"':'').'> </td>'); … … 165 165 $tpl->parse('header_column','head_col',True); 166 166 } 167 //aqui !! 167 168 168 169 if((!isset($GLOBALS['phpgw_info']['server']['deny_user_grants_access']) || !$GLOBALS['phpgw_info']['server']['deny_user_grants_access']) && count($this->bo->grants) > 0) 169 170 { 170 171 $form_options = ''; 171 $drop_down = $this->bo->list_cals(); 172 173 $drop_down = $this->bo->list_cals(); //hehe 174 172 175 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"; 175 179 } 176 180
Note: See TracChangeset
for help on using the changeset viewer.