mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
templateparser addtext html
This commit is contained in:
parent
5f590c586c
commit
5daa541f4f
@ -365,9 +365,13 @@ class TemplateParser {
|
||||
echo '<br><br>';
|
||||
}
|
||||
}
|
||||
function SetText($_var, $_value)
|
||||
function SetText($_var, $_value, $html = false)
|
||||
{
|
||||
$this->VARARRAY[$_var]= $this->htmlspecialchars($_value);
|
||||
if(!$html)
|
||||
{
|
||||
$_value = $this->htmlspecialchars($_value);
|
||||
}
|
||||
$this->VARARRAY[$_var]= $_value;
|
||||
}
|
||||
|
||||
function AddText($_var,$_value, $variable = false){
|
||||
|
Loading…
Reference in New Issue
Block a user