Changeset 23 for trunk/calendar


Ignore:
Timestamp:
05/07/07 15:06:04 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

Location:
trunk/calendar
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/doc/change_log.txt

    r22 r23  
    22módulo Agenda de Eventos, e a partir da versão 29/11/2006 [0.9.17] 
    33Nilton Emilio Buhrer Neto. 
     4 
     503/05/2007 - [0.9.2] 
     6- Corrigido bug. Caso o horário do alarme seja mais antigo que a data atual não pode ser adicionada. 
    47 
    5803/05/2007 - [0.9.2] 
  • trunk/calendar/inc/class.uialarm.inc.php

    r22 r23  
    133133                                        (int)($_POST['time']['mins'])*60; 
    134134                                $alarm_time = $start_event - $time; 
     135                                 
     136                                if ($alarm_time <= time()) 
     137                                { 
     138                                        echo "Alarm is older than now!!!"; 
     139                                        $GLOBALS['phpgw']->common->phpgw_exit(True); 
     140                                } 
    135141                                 
    136142                                foreach ( $this->bo->bo->so->cal->event['alarm'] as $object ){ 
  • trunk/calendar/inc/class.uicalendar.inc.php

    r22 r23  
    342342                                        .'<head>'."\n" 
    343343                                        .'<LINK href="'.$GLOBALS['phpgw_info']['server']['webserver_url'].'/calendar/templates/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'].'/app_print.css" type=text/css rel=StyleSheet>'."\n" 
     344                                        .'<LINK href="'.$GLOBALS['phpgw_info']['server']['webserver_url'].'/calendar/templates/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'].'/app.css" type=text/css rel=StyleSheet>'."\n" 
    344345                                        .'</head> 
    345346                                        <table id="calendar_print_main" class="calendar_print_main">                                             
     
    46824683                function get_organizations($context, $selected='') 
    46834684                { 
     4685                        $s = CreateObject('phpgwapi.sector_search_ldap'); 
     4686                        $sectors_info = $s->get_organizations($context, $selected, false, false); 
     4687                        return $sectors_info; 
     4688                } 
     4689                /* 
     4690                function get_organizations($context, $selected='') 
     4691                { 
    46844692                        $first_sector_ufn = ldap_dn2ufn($context); 
    46854693                        $first_sector_string = split(",", $first_sector_ufn); 
     
    47154723                        return $sector_select;   
    47164724                } 
    4717                                  
     4725                */ 
    47184726        } 
    47194727?> 
Note: See TracChangeset for help on using the changeset viewer.