Ignore:
Timestamp:
05/10/11 15:42:04 (13 years ago)
Author:
airton
Message:

Ticket #1820 - Opcao nos agendamentos para enviar notificacoes como dono - r4217

File:
1 edited

Legend:

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

    r4195 r4316  
    60986098                        ); 
    60996099 
     6100                        $preferences = CreateObject('phpgwapi.preferences',(int)$this->owner); 
     6101            $selected_creator = $selected_owner = ''; 
     6102            if($event['notifications_owner'] == 1) 
     6103                $selected_owner = ' selected'; 
     6104            else 
     6105                $selected_creator = ' selected'; 
     6106                      
     6107            $option = '<option value="0" '.$selected_creator.' >'.$GLOBALS['phpgw']->common->grab_owner_name((int)$_SESSION['phpgw_session']['account_id']).'</option>'; 
     6108            if($_SESSION['phpgw_session']['account_id'] != $event['owner']){ 
     6109                $option .= '<option value="1" '.$selected_owner.' >'.$GLOBALS['phpgw']->common->grab_owner_name((int)$event['owner']).'</option>'; 
     6110            } 
     6111            $var['notifications_owner'] = Array( 
     6112                'field' => lang('Send notificatios as'), 
     6113                'data'  => '<select name="cal[notifications_owner]" >'.$option.'</select>' 
     6114                ); 
     6115                                 
    61006116                        if($event['recur_enddate']['year'] != 0 && $event['recur_enddate']['month'] != 0 && $event['recur_enddate']['mday'] != 0) 
    61016117                        { 
Note: See TracChangeset for help on using the changeset viewer.