Changeset 703 for trunk/calendar/inc/class.uicalendar.inc.php
- Timestamp:
- 03/16/09 11:15:36 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uicalendar.inc.php
r663 r703 362 362 $_SESSION['calendar']['cals'] = $this->bo->list_cals(); 363 363 364 if($this->bo->printer_friendly )364 if($this->bo->printer_friendly || $_GET['plain'] == 'True') 365 365 { 366 366 $new_body = '<html>'."\n" … … 685 685 function year() 686 686 { 687 if($this->bo->printer_friendly) 688 { 689 $GLOBALS['phpgw_info']['flags']['nofooter'] = True; 690 } 691 echo $this->printer_friendly($this->get_year(),lang('Yearview')); 692 $GLOBALS['phpgw']->common->phpgw_footer(); 687 if ($_GET['plain'] == "True") 688 { 689 690 echo $this->printer_friendly($this->get_year(),lang('Yearview')); 691 } 692 else 693 { 694 695 if($this->bo->printer_friendly) 696 { 697 $GLOBALS['phpgw_info']['flags']['nofooter'] = True; 698 } 699 echo $this->printer_friendly($this->get_year(),lang('Yearview')); 700 $GLOBALS['phpgw']->common->phpgw_footer(); 701 } 693 702 } 694 703 … … 705 714 else 706 715 { 707 708 716 //NDEE: printer-friendly (year-view) 709 717 $print = '<body bgcolor="'.$this->theme['bg_color'].'">'; … … 4593 4601 $combo_org = $this->get_organizations(trim(strtolower($context)),$user_context, $recursive); 4594 4602 $footer_ext_participantes = lang("Tip: To search in the <b>Global Catalog</b>, type the <b>F9</b> key, like the ExpressoMail."); 4595 // Begin load array lang 4596 ob_start(); 4597 @include($module_name.'/inc/load_lang.php'); 4598 $load_lang_vars = ob_get_contents(); 4599 ob_end_clean(); 4600 // End load array_lang 4601 4603 4604 if ($param['plain'] != "True"){ 4605 4606 // Begin load array lang 4607 ob_start(); 4608 @include($module_name.'/inc/load_lang.php'); 4609 $load_lang_vars = ob_get_contents(); 4610 ob_end_clean(); 4611 // End load array_lang 4612 } 4613 4602 4614 $var['participants'] = array 4603 4615 (
Note: See TracChangeset
for help on using the changeset viewer.