function Get($JsonData, $Culture) { $OEDataLocalizableString = new OEDataLocalizableString(); return $OEDataLocalizableString->Get($JsonData->Links, $Culture); }
// ENT_SUBSTITUTE is only from PHP 5.4 } else { $val = "-"; } //email de l'accuse de reception if ($IDReceiptEmail == $FormLinksElement->ID) { if ($val != "" && !$Security->emailOk($val)) { echo "err"; exit; } $ReceiptEmail = $val; } $title = ""; if (isset($ElemConf->{$FormLinksElemenID}->Title)) { if (!empty($ElemConf->{$FormLinksElemenID}->Title)) { $title = $LocalizableString->Get($ElemConf->{$FormLinksElemenID}->Title, $Culture); //$title=strip_tags($title); // $title = htmlentities($title, ENT_NOQUOTES | ENT_SUBSTITUTE, 'UTF-8'); // DD no protection for titles - let users make html tags etc. } } else { //ElementForm Version2 $title = isset($SendMailInfo->ListInputTitle->{$FormLinksElemenID}) ? $LocalizableString->Get($SendMailInfo->ListInputTitle->{$FormLinksElemenID}, $Culture) : ''; if (!empty($title)) { //$title=strip_tags($title); // $title = htmlentities($title, ENT_NOQUOTES | ENT_SUBSTITUTE, 'UTF-8'); // DD no protection for titles - let users make html tags etc. } } //Construction et mise en page du body switch ($ElemType) { case 'WETextArea': //Recuperation du titre dans la chaine localisable