Ignore:
Timestamp:
05/20/11 10:33:24 (13 years ago)
Author:
airton
Message:

Ticket #1820 - Permite a criacao de apontamento de horas - r4426

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/calendar/inc/class.uicalendar.inc.php

    r4464 r4467  
    36513651                        } 
    36523652                        else 
    3653                         { 
     3653                        { if ($texttitle) 
    36543654                                $picture[] = Array( 
    36553655                                        'pict'  =>  $GLOBALS['phpgw']->common->image('calendar','single'), 
     
    37053705                                $this->output_template_array($this->link_tpl,'picture','pict',$var); 
    37063706                        } 
    3707                         if ($texttitle) 
     3707                        if ($event['type'] == 'H' || $texttitle) 
    37083708                        { 
    37093709                                $var = Array( 
     
    58615861                        $var['access'] = Array( 
    58625862                        'field' => lang('Type'), 
    5863                         'data'  => '<select onchange="javascript:changeViewMode(this.value);" id="cal[type]" name="cal[type]" '.($event['type'] == 'H'?'DISABLED':'').'><option value="normal" '.(($event['public'] && $event['type'] == 'E')?'SELECTED':'').' >'.lang('Normal').'</option><option value="private" '.((!$event['public'] && $event['type'] == 'E')?'SELECTED':'').' >'. lang('Restrict').'</option><option value="privateHiddenFields" '.($event['type']=='P'?'SELECTED':'').' >'. lang('Private').'</option><option value="hourAppointment" '.($event['type'] == 'H'?'SELECTED':'').' >'.lang('Hours Appointment').'</option></select>' 
     5863                        'data'  => '<select onchange="javascript:changeViewMode(this.value);" id="cal[type]" name="cal[type]" '.'><option value="normal" '.(($event['public'] && $event['type'] == 'E')?'SELECTED':'').' >'.lang('Normal').'</option><option value="private" '.((!$event['public'] && $event['type'] == 'E')?'SELECTED':'').' >'. lang('Restrict').'</option><option value="privateHiddenFields" '.($event['type']=='P'?'SELECTED':'').' >'. lang('Private').'</option><option value="hourAppointment" '.($event['type'] == 'H'?'SELECTED':'').' >'.lang('Hours Appointment').'</option></select>' 
    58645864                        ); //event['public'] 
    58655865 
Note: See TracChangeset for help on using the changeset viewer.