[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: calendar/inc class.uicalendar.inc.php,1.99,1.100
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: calendar/inc class.uicalendar.inc.php,1.99,1.100 |
Date: |
Mon, 21 Apr 2003 07:38:29 -0400 |
Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv29971
Modified Files:
class.uicalendar.inc.php
Log Message:
got printerfriendly working again
Index: class.uicalendar.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/class.uicalendar.inc.php,v
retrieving revision 1.99
retrieving revision 1.100
diff -C2 -r1.99 -r1.100
*** class.uicalendar.inc.php 21 Apr 2003 11:00:52 -0000 1.99
--- class.uicalendar.inc.php 21 Apr 2003 11:38:26 -0000 1.100
***************
*** 613,637 ****
if($this->bo->printer_friendly)
{
! $new_body = '<html>'."\n"
! .'<head>'."\n"
! .'<STYLE type="text/css">'."\n"
! .'<!--'."\n"
! .' body { margin-top: 0px;
margin-right: 0px; margin-left: 0px; font-family:
"'.$GLOBALS['phpgw_info']['theme']['font'].'" }'."\n"
! .' .tablink { color: #000000; }'."\n"
! .' '.$this->css()."\n"
! .'-->'."\n"
! .'</STYLE>'."\n"
! .'</head>'."\n"
! .$this->bo->debug_string.$body
! .'</body>'."\n"
! .'</html>'."\n";
}
else
{
$this->cal_header($func_header &&
$GLOBALS['phpgw_info']['user']['template'] == 'idots' ? $func_header : '');
-
- $new_body = $this->bo->debug_string.$body;
}
! return $new_body;
}
--- 613,623 ----
if($this->bo->printer_friendly)
{
! $GLOBALS['phpgw_info']['flags']['headonly'] =
True;
}
else
{
$this->cal_header($func_header &&
$GLOBALS['phpgw_info']['user']['template'] == 'idots' ? $func_header : '');
}
! return $this->bo->debug_string . $body;
}
***************
*** 1588,1591 ****
--- 1574,1582 ----
$event =
$this->bo->read_entry($GLOBALS['HTTP_GET_VARS']['cal_id']);
$this->view_event($event);
+ $GLOBALS['phpgw']->template->set_var(array(
+ 'button_left' => '',
+ 'button_center' => '',
+ 'button_right' => ''
+ ));
$GLOBALS['phpgw']->template->fp('phpgw_body','view_event',True);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: calendar/inc class.uicalendar.inc.php,1.99,1.100,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: calendar/setup phpgw_de.lang,1.19,1.20 phpgw_en.lang,1.27,1.28
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default phpgw_header.xsl,1.2,1.3
- Previous by thread:
[Phpgroupware-cvs] CVS: calendar/setup phpgw_de.lang,1.19,1.20 phpgw_en.lang,1.27,1.28
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default phpgw_header.xsl,1.2,1.3
- Index(es):