X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finvalid.html;h=3ac37cf46ee946241a3d4d8cecb52407aa8579ef;hp=ea97d002e593e4c0b3379482456b95f93a0fa5ff;hb=0f7a91f4fa689a4084d7db5987a534b4b4fc3866;hpb=f44aa96bb0b188ffcb33b6c7fbdc5a86815d04b7 diff --git a/src/main/resources/templates/invalid.html b/src/main/resources/templates/invalid.html index ea97d00..3ac37cf 100644 --- a/src/main/resources/templates/invalid.html +++ b/src/main/resources/templates/invalid.html @@ -3,13 +3,13 @@

<%= Page.Invalid.Page.Title|l10n|html>

<%foreach messages message> - <%if message|substring start=0 length=1|match value='!'> -

<% message|substring start=1|parse>

+ <%if message|substring start==0 length==1|match value=='!'> +

<% message|substring start==1|parse>

<%else>

<% message|parse>

<%/if> <%foreachelse> -

<%= Page.Invalid.Text|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''>

+

<%= Page.Invalid.Text|l10n|html|replace needle=="{link}" replacement==''|replace needle=="{/link}" replacement==''>

<%/foreach> <%include include/tail.html>