mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Refactor caption_field
This commit is contained in:
@@ -318,7 +318,7 @@ class PDF
|
|||||||
$this->pdf->Write(5, $field->get_name() . " : ");
|
$this->pdf->Write(5, $field->get_name() . " : ");
|
||||||
|
|
||||||
$this->pdf->SetFont(PhraseaPDF::FONT, '', 12);
|
$this->pdf->SetFont(PhraseaPDF::FONT, '', 12);
|
||||||
$this->pdf->Write(5, $field->get_value(true));
|
$this->pdf->Write(5, $field->get_serialized_values());
|
||||||
|
|
||||||
$this->pdf->Write(6, "\n");
|
$this->pdf->Write(6, "\n");
|
||||||
$nf++;
|
$nf++;
|
||||||
@@ -513,7 +513,7 @@ class PDF
|
|||||||
$t = str_replace(
|
$t = str_replace(
|
||||||
array("<", ">", "&")
|
array("<", ">", "&")
|
||||||
, array("<", ">", "&")
|
, array("<", ">", "&")
|
||||||
, $field->get_value(true)
|
, $field->get_serialized_values()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->pdf->Write(5, $t);
|
$this->pdf->Write(5, $t);
|
||||||
|
Reference in New Issue
Block a user