mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-03-05 22:49:48 +01:00
templateparser addtext html
This commit is contained in:
parent
5f590c586c
commit
5daa541f4f
@ -365,9 +365,13 @@ class TemplateParser {
|
|||||||
echo '<br><br>';
|
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){
|
function AddText($_var,$_value, $variable = false){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user