Changeset 15 for trunk/calendar


Ignore:
Timestamp:
04/19/07 18:32:45 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

Location:
trunk/calendar/inc
Files:
3 edited

Legend:

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

    r2 r15  
    4040        * Class 
    4141        */ 
    42         define('PRIVATE',0); 
    43         define('PUBLIC',1); 
    44         define('CONFIDENTIAL',3); 
     42        define('_PRIVATE',0); 
     43        define('_PUBLIC',1); 
     44        define('_CONFIDENTIAL',3); 
    4545 
    4646        /* 
     
    18961896                                switch($var) 
    18971897                                { 
    1898                                         case 'PRIVATE': 
    1899                                                 return PRIVATE; 
    1900                                                 break; 
    1901                                         case 'PUBLIC': 
    1902                                                 return PUBLIC; 
    1903                                                 break; 
    1904                                         case 'CONFIDENTIAL': 
    1905                                                 return CONFIDENTIAL; 
     1898                                        case '_PRIVATE': 
     1899                                                $var = _PRIVATE; 
     1900                                                break; 
     1901                                        case '_PUBLIC': 
     1902                                                $var = _PUBLIC; 
     1903                                                break; 
     1904                                        case '_CONFIDENTIAL': 
     1905                                                $var = _CONFIDENTIAL; 
    19061906                                                break; 
    19071907                                } 
     
    19111911                                switch((int)$var) 
    19121912                                { 
    1913                                         case PRIVATE: 
    1914                                                 return 'PRIVATE'; 
    1915                                                 break; 
    1916                                         case PUBLIC: 
    1917                                                 return 'PUBLIC'; 
    1918                                                 break; 
    1919                                         case CONFIDENTIAL: 
    1920                                                 return 'CONFIDENTIAL'; 
    1921                                                 break; 
    1922                                 } 
    1923                         } 
    1924                         else 
    1925                         { 
    1926                                 return $var; 
    1927                         } 
     1913                                        case _PRIVATE: 
     1914                                                $var = '_PRIVATE'; 
     1915                                                break; 
     1916                                        case _PUBLIC: 
     1917                                                $var = '_PUBLIC'; 
     1918                                                break; 
     1919                                        case _CONFIDENTIAL: 
     1920                                                $var = '_CONFIDENTIAL'; 
     1921                                                break; 
     1922                                } 
     1923                        } 
     1924                        return $var; 
    19281925                } 
    19291926 
  • trunk/calendar/inc/class.uialarm.inc.php

    r2 r15  
    206206//echo "<p>alarm_management='".htmlspecialchars($this->template->get_var('alarm_management'))."'</p>\n"; 
    207207                        $this->template->pfp('out','alarm_management'); 
    208                 } 
     208                        $GLOBALS['phpgw']->common->phpgw_footer(); 
     209                } 
     210         
    209211        } 
    210212?> 
  • trunk/calendar/inc/class.uicalendar.inc.php

    r2 r15  
    327327                        } 
    328328                        $GLOBALS['phpgw']->redirect($this->page('',$params)); 
     329                         
    329330                } 
    330331 
     
    365366                                 
    366367                                $GLOBALS['phpgw']->common->phpgw_header(); 
    367                                 $new_body = $this->bo->debug_string.$body; 
     368                                $new_body = $this->bo->debug_string.$body;                               
    368369                                 
    369370                        } 
     
    374375                { 
    375376                        echo $this->printer_friendly($this->get_month(),lang('Monthview')); 
     377                        $GLOBALS['phpgw']->common->phpgw_footer(); 
    376378                } 
    377379 
     
    469471                { 
    470472                        echo $this->printer_friendly($this->get_week(),lang('Weekview')); 
     473                        $GLOBALS['phpgw']->common->phpgw_footer(); 
    471474                } 
    472475 
     
    644647                        } 
    645648                        echo $this->printer_friendly($this->get_year(),lang('Yearview')); 
     649                        $GLOBALS['phpgw']->common->phpgw_footer(); 
    646650                } 
    647651 
     
    933937                        )); 
    934938                         
     939                        $GLOBALS['phpgw']->common->phpgw_footer(); 
    935940                } 
    936941 
     
    12611266                                ) 
    12621267                        ); 
     1268                        $GLOBALS['phpgw']->common->phpgw_footer(); 
    12631269                } 
    12641270 
     
    13821388                        $p->parse('day_events','day_event'); 
    13831389                        print $this->printer_friendly($p->fp('out','day'),lang('Dayview')); 
     1390                        $GLOBALS['phpgw']->common->phpgw_footer(); 
    13841391                } 
    13851392 
Note: See TracChangeset for help on using the changeset viewer.