Changeset 23 for trunk/calendar
- Timestamp:
- 05/07/07 15:06:04 (17 years ago)
- Location:
- trunk/calendar
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/doc/change_log.txt
r22 r23 2 2 módulo Agenda de Eventos, e a partir da versão 29/11/2006 [0.9.17] 3 3 Nilton Emilio Buhrer Neto. 4 5 03/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. 4 7 5 8 03/05/2007 - [0.9.2] -
trunk/calendar/inc/class.uialarm.inc.php
r22 r23 133 133 (int)($_POST['time']['mins'])*60; 134 134 $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 } 135 141 136 142 foreach ( $this->bo->bo->so->cal->event['alarm'] as $object ){ -
trunk/calendar/inc/class.uicalendar.inc.php
r22 r23 342 342 .'<head>'."\n" 343 343 .'<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" 344 345 .'</head> 345 346 <table id="calendar_print_main" class="calendar_print_main"> … … 4682 4683 function get_organizations($context, $selected='') 4683 4684 { 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 { 4684 4692 $first_sector_ufn = ldap_dn2ufn($context); 4685 4693 $first_sector_string = split(",", $first_sector_ufn); … … 4715 4723 return $sector_select; 4716 4724 } 4717 4725 */ 4718 4726 } 4719 4727 ?>
Note: See TracChangeset
for help on using the changeset viewer.