Suppression debug
This commit is contained in:
parent
6b173d24c1
commit
9a9cd19867
@ -196,12 +196,9 @@ function dEvol($nAnnee,$nRatio){
|
||||
* @return int
|
||||
*/
|
||||
function graphPercent($nRatio,$totalRatio){
|
||||
global $firephp;
|
||||
global $ratiosEntrep;
|
||||
$ratio = isset($ratiosEntrep[0][$nRatio]) ? $ratiosEntrep[0][$nRatio] : 0;
|
||||
$totalRatio = $ratiosEntrep[0][$totalRatio];
|
||||
$firephp->log($totalRatio,'totalRatio');
|
||||
|
||||
if ( ($ratio!='NS' || $ratio!=NULL) && ($totalRatio!=0 || $totalRatio!='NS')){
|
||||
return $ratio*100/$totalRatio;
|
||||
}else{
|
||||
@ -245,13 +242,11 @@ function dPercent($nAnnee,$nRatio,$totalRatio){
|
||||
* @return string
|
||||
*/
|
||||
function wrapComment($text){
|
||||
global $firephp;
|
||||
$fontSize = 2;
|
||||
$blockSize = 500;
|
||||
$newtext = wordwrap($text, $blockSize/$fontSize , "\n");
|
||||
$newtext = htmlentities($newtext);
|
||||
$newtext = nl2br($newtext);
|
||||
$firephp->log($newtext, 'newtext');
|
||||
return $newtext;
|
||||
}
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user