Changeset 4427


Ignore:
Timestamp:
05/17/11 11:12:28 (9 years ago)
Author:
brunocosta
Message:

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

Location:
branches/2.2/calendar/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/calendar/inc/class.bocalendar.inc.php

    r3910 r4427  
    16621662                                $error = 43; 
    16631663                        } 
    1664                         elseif ($event['title'] == '') 
     1664                        elseif ($event['type'] != 'hourAppointment' && $event['title'] == '') 
    16651665                        { 
    16661666                                $error = 40; 
  • branches/2.2/calendar/inc/class.uicalendar.inc.php

    r4086 r4427  
    50845084                        $var['access'] = Array( 
    50855085                        'field' => lang('Type'), 
    5086                         '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>' 
     5086                        '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>' 
    50875087                        ); //event['public'] 
    50885088 
Note: See TracChangeset for help on using the changeset viewer.