From dacf49fcdb99c2f32b014a66730d1fc4df1db869 Mon Sep 17 00:00:00 2001 From: patrik2020 Date: Wed, 14 Apr 2021 19:33:19 +0200 Subject: [PATCH] =?UTF-8?q?Latex=20za=20izvoze:=20IZVOZ-73:=20Ureditev=20i?= =?UTF-8?q?zpisa=20odgovorov=20respondentov=20ob=20datapiping,=20=C5=A0tev?= =?UTF-8?q?ilo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../export/latexclasses/Vprasanja/SteviloLatex.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/admin/survey/export/latexclasses/Vprasanja/SteviloLatex.php b/admin/survey/export/latexclasses/Vprasanja/SteviloLatex.php index ade06a602..a102afaf9 100644 --- a/admin/survey/export/latexclasses/Vprasanja/SteviloLatex.php +++ b/admin/survey/export/latexclasses/Vprasanja/SteviloLatex.php @@ -273,7 +273,9 @@ class SteviloLatex extends LatexSurveyElement } //izpis besedila enote - $tex .= $this->encodeText($rowVrednost['naslov']); + $stringEnota = $rowVrednost['naslov']; + $stringEnota = Common::getInstance()->dataPiping($stringEnota, $usr_id, $loop_id); + $tex .= $this->encodeText($stringEnota); if($okvir == 1){ //ce rabimo prazen okvir, izpisi //izpis praznega text box-a dolocene sirine in visine @@ -315,9 +317,11 @@ class SteviloLatex extends LatexSurveyElement $tex .= ' \\\\ '; //pojdi v novo vrstico }else{ $tex .= ' & '; //v nov stolpec tabele - } - - $tex .= ' '.$this->encodeText($rowVrednost['naslov']); + } + + $stringEnota = $rowVrednost['naslov']; + $stringEnota = Common::getInstance()->dataPiping($stringEnota, $usr_id, $loop_id); + $tex .= ' '.$this->encodeText($stringEnota); if($indeksZaWhile==1&&$export_format=='pdf'){ //ce je prvi okvir in je pdf //$tex .= ' \hspace{0.5cm} '; //dodaj še nekaj prostora, za prvim okvirjem, da bo dovolj prostora