fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [8512] API: enable phpgw_return_as=stripped_html


From: Sigurd Nes
Subject: [Fmsystem-commits] [8512] API: enable phpgw_return_as=stripped_html
Date: Fri, 06 Jan 2012 19:53:59 +0000

Revision: 8512
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8512
Author:   sigurdne
Date:     2012-01-06 19:53:59 +0000 (Fri, 06 Jan 2012)
Log Message:
-----------
API: enable phpgw_return_as=stripped_html

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.xslttemplates.inc.php

Modified: trunk/phpgwapi/inc/class.xslttemplates.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.xslttemplates.inc.php      2012-01-06 19:40:55 UTC 
(rev 8511)
+++ trunk/phpgwapi/inc/class.xslttemplates.inc.php      2012-01-06 19:53:59 UTC 
(rev 8512)
@@ -365,7 +365,9 @@
                {
                        $output_header = 
!(isset($GLOBALS['phpgw_info']['flags']['noframework']) && 
$GLOBALS['phpgw_info']['flags']['noframework']);
                        
-                       if ( $this->output != 'wml' )
+                       $stripped_htm   = phpgw::get_var('phpgw_return_as') == 
'stripped_html';
+                       
+                       if ( $this->output != 'wml' && !$stripped_htm)
                        {
                                
$GLOBALS['phpgw']->common->phpgw_header($output_header);
                        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]