Ignore:
Timestamp:
11/03/11 13:21:19 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2305 - Enviando alteracoes, desenvolvidas internamente na Prognus, do modulo calendar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.boholiday.inc.php

    r3914 r5132  
    256256                                } 
    257257//                              echo 'Loading from: '.$load_from.'/holidays.'.strtoupper($locale).'.csv'."<br>\n"; 
    258                                 if(isset($GLOBALS['phpgw_info']['server']['holidays_url_path']) && $GLOBALS['phpgw_info']['server']['holidays_url_path'] != 'localhost') 
    259                                 { 
    260258                                    $lines = $network->gethttpsocketfile($load_from.'/holidays.'.strtoupper($locale).'.csv'); 
    261                                 } 
    262                                 else 
    263                                 { 
    264                                     $lines = explode(chr(0x0A),file_get_contents($load_from.'/holidays.'.strtoupper($locale).'.csv')); 
    265                                 } 
    266259                                if (!$lines) 
    267260                                { 
     
    296289                function add() 
    297290                { 
    298                         if(@$_POST['submit']) 
    299                         { 
    300291                                $holiday = $_POST['holiday']; 
     292 
     293 
    301294 
    302295                                if(empty($holiday['mday'])) 
     
    349342                                } 
    350343                        } 
    351                 } 
    352344 
    353345                function sort_holidays_by_date($holidays) 
Note: See TracChangeset for help on using the changeset viewer.