[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5097 - in phpcompta/tags/rel650: html include include/t
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5097 - in phpcompta/tags/rel650: html include include/tfpdf |
Date: |
Fri, 24 Aug 2012 22:27:20 +0200 (CEST) |
Author: danydb
Date: 2012-08-24 22:27:20 +0200 (Fri, 24 Aug 2012)
New Revision: 5097
Modified:
phpcompta/tags/rel650/html/ajax_card.php
phpcompta/tags/rel650/html/ajax_history.php
phpcompta/tags/rel650/html/ajax_ledger.php
phpcompta/tags/rel650/html/ajax_misc.php
phpcompta/tags/rel650/html/ajax_poste.php
phpcompta/tags/rel650/include/ajax_mod_document.php
phpcompta/tags/rel650/include/ajax_mod_predf_op.php
phpcompta/tags/rel650/include/class_acc_ledger.php
phpcompta/tags/rel650/include/class_acc_ledger_fin.php
phpcompta/tags/rel650/include/class_acc_ledger_purchase.php
phpcompta/tags/rel650/include/class_acc_ledger_sold.php
phpcompta/tags/rel650/include/class_anticipation.php
phpcompta/tags/rel650/include/class_html_input.php
phpcompta/tags/rel650/include/class_lettering.php
phpcompta/tags/rel650/include/tfpdf/tfpdf.php
Log:
replace ob_clean by ob_end_clean
Modified: phpcompta/tags/rel650/html/ajax_card.php
===================================================================
--- phpcompta/tags/rel650/html/ajax_card.php 2012-08-23 21:20:32 UTC (rev
5096)
+++ phpcompta/tags/rel650/html/ajax_card.php 2012-08-24 20:27:20 UTC (rev
5097)
@@ -116,7 +116,7 @@
echo $e->getMessage();
}
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
break;
/* ------------------------------------------------------------ */
/* Display card detail */
@@ -395,7 +395,7 @@
ob_start();
require_once('template/card_result.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
$ctl=$ctl.'_content';
$html=$r;
break;
@@ -444,7 +444,7 @@
ob_start();
require('template/category_of_card.php');
$html.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
}
else
@@ -513,7 +513,7 @@
ob_start();
$f->update($_GET);
$html.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
$html.=$f->Display(true);
$html.=HtmlInput::button('close_'.$ctl,'Fermer',"onclick=\"removeDiv('$ctl')\"");
}
Modified: phpcompta/tags/rel650/html/ajax_history.php
===================================================================
--- phpcompta/tags/rel650/html/ajax_history.php 2012-08-23 21:20:32 UTC (rev
5096)
+++ phpcompta/tags/rel650/html/ajax_history.php 2012-08-24 20:27:20 UTC (rev
5097)
@@ -115,7 +115,7 @@
echo $old;
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
}
}
///////////////////////////////////////////////////////////////////////////
@@ -185,7 +185,7 @@
echo $old;
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
}
}
$html=escape_xml($html);
Modified: phpcompta/tags/rel650/html/ajax_ledger.php
===================================================================
--- phpcompta/tags/rel650/html/ajax_ledger.php 2012-08-23 21:20:32 UTC (rev
5096)
+++ phpcompta/tags/rel650/html/ajax_ledger.php 2012-08-24 20:27:20 UTC (rev
5097)
@@ -72,7 +72,7 @@
ob_start();
require_once ('template/ledger_detail_forbidden.php');
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
$html=escape_xml($html);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF
@@ -98,7 +98,7 @@
echo HtmlInput::title_box(_("Information"), $div);
require_once ('template/ledger_detail_forbidden.php');
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
$html=escape_xml($html);
header('Content-type: text/xml; charset=UTF-8');
@@ -119,7 +119,7 @@
echo HtmlInput::title_box(_("Information"), $div);
require_once ('template/ledger_detail_forbidden.php');
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
$html=escape_xml($html);
header('Content-type: text/xml; charset=UTF-8');
@@ -158,7 +158,7 @@
$cn->rollback;
}
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
}
break;
//////////////////////////////////////////////////////////////////////
@@ -197,7 +197,7 @@
echo '<h2 class="error">Désolé il y a une erreur</h2>';
}
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
break;
/////////////////////////////////////////////////////////////////////////////
@@ -477,7 +477,7 @@
alert( "Changement impossible: on ne peut pas changer la date dans une
période fermée");
}
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
break;
/////////////////////////////////////////////////////////////////////////////
@@ -525,7 +525,7 @@
}
}
$html=ob_get_contents();
- ob_clean();
+ ob_end_clean();
break;
}
$html=escape_xml($html);
Modified: phpcompta/tags/rel650/html/ajax_misc.php
===================================================================
--- phpcompta/tags/rel650/html/ajax_misc.php 2012-08-23 21:20:32 UTC (rev
5096)
+++ phpcompta/tags/rel650/html/ajax_misc.php 2012-08-24 20:27:20 UTC (rev
5097)
@@ -403,7 +403,7 @@
ob_start();
alert(_('Date malformée, désolé'));
$html = ob_get_contents();
- ob_clean();
+ ob_end_clean();
$html = escape_xml($html);
Modified: phpcompta/tags/rel650/html/ajax_poste.php
===================================================================
--- phpcompta/tags/rel650/html/ajax_poste.php 2012-08-23 21:20:32 UTC (rev
5096)
+++ phpcompta/tags/rel650/html/ajax_poste.php 2012-08-24 20:27:20 UTC (rev
5097)
@@ -88,7 +88,7 @@
ob_start();
require_once('template/account_search.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
$r.=dossier::hidden();
$r.=(isset ($c))?HtmlInput::hidden('account',$c):"";
$r.=(isset ($l))?HtmlInput::hidden('label',$l):"";
@@ -163,7 +163,7 @@
require_once('template/account_result.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
$html=$r;
break;
Modified: phpcompta/tags/rel650/include/ajax_mod_document.php
===================================================================
--- phpcompta/tags/rel650/include/ajax_mod_document.php 2012-08-23 21:20:32 UTC
(rev 5096)
+++ phpcompta/tags/rel650/include/ajax_mod_document.php 2012-08-24 20:27:20 UTC
(rev 5097)
@@ -38,7 +38,7 @@
require('template/modele_document.php');
$html=ob_get_contents();
-ob_clean();
+ob_end_clean();
$html=escape_xml($html);
header('Content-type: text/xml; charset=UTF-8');
Modified: phpcompta/tags/rel650/include/ajax_mod_predf_op.php
===================================================================
--- phpcompta/tags/rel650/include/ajax_mod_predf_op.php 2012-08-23 21:20:32 UTC
(rev 5096)
+++ phpcompta/tags/rel650/include/ajax_mod_predf_op.php 2012-08-24 20:27:20 UTC
(rev 5097)
@@ -41,7 +41,7 @@
$html = ob_get_contents();
-ob_clean();
+ob_end_clean();
$html = escape_xml($html);
header('Content-type: text/xml; charset=UTF-8');
Modified: phpcompta/tags/rel650/include/class_acc_ledger.php
===================================================================
--- phpcompta/tags/rel650/include/class_acc_ledger.php 2012-08-23 21:20:32 UTC
(rev 5096)
+++ phpcompta/tags/rel650/include/class_acc_ledger.php 2012-08-24 20:27:20 UTC
(rev 5097)
@@ -2462,7 +2462,7 @@
ob_start();
require_once('template/ledger_search.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
Modified: phpcompta/tags/rel650/include/class_acc_ledger_fin.php
===================================================================
--- phpcompta/tags/rel650/include/class_acc_ledger_fin.php 2012-08-23
21:20:32 UTC (rev 5096)
+++ phpcompta/tags/rel650/include/class_acc_ledger_fin.php 2012-08-24
20:27:20 UTC (rev 5097)
@@ -425,7 +425,7 @@
ob_start();
require_once('template/form_ledger_fin.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
Modified: phpcompta/tags/rel650/include/class_acc_ledger_purchase.php
===================================================================
--- phpcompta/tags/rel650/include/class_acc_ledger_purchase.php 2012-08-23
21:20:32 UTC (rev 5096)
+++ phpcompta/tags/rel650/include/class_acc_ledger_purchase.php 2012-08-24
20:27:20 UTC (rev 5097)
@@ -1210,7 +1210,7 @@
ob_start();
require_once('template/form_ledger_detail.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
// Set correctly the REQUEST param for jrn_type
$r.= HtmlInput::hidden('jrn_type','ACH');
Modified: phpcompta/tags/rel650/include/class_acc_ledger_sold.php
===================================================================
--- phpcompta/tags/rel650/include/class_acc_ledger_sold.php 2012-08-23
21:20:32 UTC (rev 5096)
+++ phpcompta/tags/rel650/include/class_acc_ledger_sold.php 2012-08-24
20:27:20 UTC (rev 5097)
@@ -1336,7 +1336,7 @@
ob_start();
require_once('template/form_ledger_detail.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
Modified: phpcompta/tags/rel650/include/class_anticipation.php
===================================================================
--- phpcompta/tags/rel650/include/class_anticipation.php 2012-08-23
21:20:32 UTC (rev 5096)
+++ phpcompta/tags/rel650/include/class_anticipation.php 2012-08-24
20:27:20 UTC (rev 5097)
@@ -176,7 +176,7 @@
ob_start();
require_once('template/forecast_result.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
public static function div()
@@ -246,7 +246,7 @@
ob_start();
require_once('template/forecast_cat.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
/**
@@ -309,7 +309,7 @@
ob_start();
require_once('template/forecast_cat.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
@@ -433,7 +433,7 @@
ob_start();
require_once('template/forecast-detail.php');
$r.=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
/**
Modified: phpcompta/tags/rel650/include/class_html_input.php
===================================================================
--- phpcompta/tags/rel650/include/class_html_input.php 2012-08-23 21:20:32 UTC
(rev 5096)
+++ phpcompta/tags/rel650/include/class_html_input.php 2012-08-24 20:27:20 UTC
(rev 5097)
@@ -325,7 +325,7 @@
echo '</div>';
$ret=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $ret;
}
/**
@@ -366,7 +366,7 @@
echo '</div>';
$r=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
static function display_periode($p_id)
Modified: phpcompta/tags/rel650/include/class_lettering.php
===================================================================
--- phpcompta/tags/rel650/include/class_lettering.php 2012-08-23 21:20:32 UTC
(rev 5096)
+++ phpcompta/tags/rel650/include/class_lettering.php 2012-08-24 20:27:20 UTC
(rev 5097)
@@ -261,7 +261,7 @@
ob_start();
include('template/letter_all.php');
$r=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
function get_linked($p_jlid)
@@ -289,7 +289,7 @@
ob_start();
include('template/letter_all.php');
$r=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
/**
@@ -303,7 +303,7 @@
ob_start();
include('template/letter_all.php');
$r=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
@@ -319,7 +319,7 @@
ob_start();
include('template/letter_all.php');
$r=ob_get_contents();
- ob_clean();
+ ob_end_clean();
return $r;
}
/**
@@ -369,7 +369,7 @@
ob_start();
require_once('template/letter_prop.php');
$r=ob_get_contents();
- ob_clean();
+ ob_end_clean();
$r.=HtmlInput::hidden('j_id',$p_jid);
$r.=HtmlInput::hidden('jnt_id',$jnt_id);
Modified: phpcompta/tags/rel650/include/tfpdf/tfpdf.php
===================================================================
--- phpcompta/tags/rel650/include/tfpdf/tfpdf.php 2012-08-23 21:20:32 UTC
(rev 5096)
+++ phpcompta/tags/rel650/include/tfpdf/tfpdf.php 2012-08-24 20:27:20 UTC
(rev 5097)
@@ -1279,7 +1279,7 @@
if(preg_match('/^(\xEF\xBB\xBF)?\s*$/',ob_get_contents()))
{
// It contains only a UTF-8 BOM and/or whitespace,
let's clean it
- ob_clean();
+ ob_end_clean();
}
else
$this->Error("Some data has already been output, can't
send PDF file");
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5097 - in phpcompta/tags/rel650: html include include/tfpdf,
phpcompta-dev <=