Changeset 462

Show
Ignore:
Timestamp:
11/24/08 03:18:40 (1 month ago)
Author:
arnaud
Message:

Templates fiches vitrines : Ajout commentaire autres langues fixe

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/model/Template_line.php

    r457 r462  
    8080    $str = ereg_replace('%B', (string)(number_format($file->getPriceSeller(), 0, '', ' ').' + '.number_format($file->getPrice() - $file->getPriceSeller(), 0, '', ' '). ' = '), $str); 
    8181    $str = ereg_replace('%C', (string)$file->getEstate()->getAgency(), $str); 
     82    $str = ereg_replace('%TXTFR', (string)$file->getEstate()->getCommentMarketing(), $str); 
     83    $str = ereg_replace('%TXTEN', (string)$file->getEstate()->getCommentMarketingEn(), $str); 
     84    $str = ereg_replace('%TXTIT', (string)$file->getEstate()->getCommentMarketingIt(), $str); 
     85    $str = ereg_replace('%TXTDE', (string)$file->getEstate()->getCommentMarketingDe(), $str); 
     86    $str = ereg_replace('%TXTES', (string)$file->getEstate()->getCommentMarketingEs(), $str); 
     87    $str = ereg_replace('%TXTRU', (string)$file->getEstate()->getCommentMarketingRu(), $str); 
    8288    return $str; 
    8389  }