/[openfoncier]/trunk/app/pdf_instruction.php
ViewVC logotype

Diff of /trunk/app/pdf_instruction.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 250 by fraynaud, Tue Nov 29 15:04:25 2011 UTC revision 323 by fmichon, Fri May 11 10:44:40 2012 UTC
# Line 36  $res = $f->db->query($sql_courrier); Line 36  $res = $f->db->query($sql_courrier);
36  $f->isDatabaseError($res);  $f->isDatabaseError($res);
37  while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){  while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){
38      $obj=$row['lettretype'];      $obj=$row['lettretype'];
39      //if(CHARSET=='UTF8'){      //if(DBCHARSET=='UTF8'){
40      //    $titre= utf8_decode($lettretype["titre"]);      //    $titre= utf8_decode($lettretype["titre"]);
41      $destinataire=$row['destinataire'];  // ***      $destinataire=$row['destinataire'];  // ***
42      $datecourrier=$row['datecourrier'];      $datecourrier=$row['datecourrier'];
# Line 190  while ($lettretype =& $res1->fetchRow(DB Line 190  while ($lettretype =& $res1->fetchRow(DB
190         //************************************************         //************************************************
191         $pos_t="";         $pos_t="";
192         $pos_t = strpos($titre, "<b>");         $pos_t = strpos($titre, "<b>");
193          if(CHARSET=='UTF8')          if(DBCHARSET=='UTF8')
194              $titre= utf8_decode($titre);              $titre= utf8_decode($titre);
195         if ($pos_t === false) {         if ($pos_t === false) {
196         // compatibilite :aucun attribut affichage <b> dans corps         // compatibilite :aucun attribut affichage <b> dans corps
# Line 414  while ($lettretype =& $res1->fetchRow(DB Line 414  while ($lettretype =& $res1->fetchRow(DB
414              //************************************************              //************************************************
415              $pos="";              $pos="";
416              $pos = strpos($corps, "<b>");              $pos = strpos($corps, "<b>");
417               if(CHARSET=='UTF8')               if(DBCHARSET=='UTF8')
418                       $corps= utf8_decode($corps);                       $corps= utf8_decode($corps);
419              if ($pos === false) {              if ($pos === false) {
420              // compatibilite :aucun attribut affichage dans corps              // compatibilite :aucun attribut affichage dans corps

Legend:
Removed from v.250  
changed lines
  Added in v.323

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26