html_escape for error/warning messages
This commit is contained in:
parent
c5b5efe333
commit
dbd74020f8
1 changed files with 6 additions and 6 deletions
|
@ -27,20 +27,20 @@ def:setting(setting)
|
||||||
/def ?><?cs
|
/def ?><?cs
|
||||||
|
|
||||||
def:warning(warntext)
|
def:warning(warntext)
|
||||||
?><div class="warning"><?cs alt:warntext ?>unknown warning message (<?cs
|
?><div class="warning"><?cs alt:html_escape(warntext) ?>unknown warning message (<?cs
|
||||||
var:Data.Warning ?>)<?cs /alt ?></div><?cs
|
var:html_escape(Data.Warning) ?>)<?cs /alt ?></div><?cs
|
||||||
/def ?><?cs
|
/def ?><?cs
|
||||||
|
|
||||||
def:error(errtext)
|
def:error(errtext)
|
||||||
?><div class="error">
|
?><div class="error">
|
||||||
<?cs alt:errtext ?>unknown error message (<?cs
|
<?cs alt:html_escape(errtext) ?>unknown error message (<?cs
|
||||||
var:Data.Error ?>)<?cs /alt ?></div><?cs
|
var:html_escape(Data.Error) ?>)<?cs /alt ?></div><?cs
|
||||||
/def ?><?cs
|
/def ?><?cs
|
||||||
|
|
||||||
def:success(succtext)
|
def:success(succtext)
|
||||||
?><div class="success">
|
?><div class="success">
|
||||||
<?cs alt:succtext ?>unknown success message (<?cs
|
<?cs alt:html_escape(succtext) ?>unknown success message (<?cs
|
||||||
var:Data.Success ?>)<?cs /alt ?></div><?cs
|
var:html_escape(Data.Success) ?>)<?cs /alt ?></div><?cs
|
||||||
/def ?><?cs
|
/def ?><?cs
|
||||||
|
|
||||||
def:limit_string_len(text,limit)
|
def:limit_string_len(text,limit)
|
||||||
|
|
Loading…
Reference in a new issue