Changeset 4426 for branches


Ignore:
Timestamp:
05/17/11 11:02:21 (13 years ago)
Author:
brunocosta
Message:

Ticket #1899 - Permite criação de apontamento de horas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/calendar/inc/class.uicalendar.inc.php

    r4421 r4426  
    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( 
     
    58565856                        $var['access'] = Array( 
    58575857                        'field' => lang('Type'), 
    5858                         '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>' 
     5858                        '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>' 
    58595859                        ); //event['public'] 
    58605860 
Note: See TracChangeset for help on using the changeset viewer.