<a href="listsub"><?_("Go back...")></a>
</center>
<?!("X", 11)><??("COND:BSTR", 12, "__FAIL")>
-<font size=+1><b><?_("ERROR")>: <?IMPORTANTMESSAGE></b></font><br><br>
+<font size=+1><b><?_("ERROR")>: <?IMPORTANTMESSAGE("X")></b></font><br><br>
<??("X", 12)>
<?!("X", 10)>
<a href="listsub"><?_("Back...")></a>
</center>
<?!("X", 21)><??("COND:BSTR", 22, "__FAIL")>
-<font SIZE=+1><b><?_("ERROR")>: <?IMPORTANTMESSAGE></b></font>
+<font SIZE=+1><b><?_("ERROR")>: <?IMPORTANTMESSAGE("X")></b></font>
<br><br>
<?!("X", 22)>
<?!("X", 20)>
<li><?_("You waited too long to confirm your subscribe/unsubscribe request (the confirmation link is only valid for three days)")></li>
<li><?_("You have <i>already</i> successfully confirmed your subscribe/unsubscribe request and are attempting to do it again.")></li>
</ul>
-<?_("The error returned by the server was: ")><?IMPORTANTMESSAGE>
+<?_("The error returned by the server was: ")><?IMPORTANTMESSAGE("X")>
<??("X", 32)>
<??("X", 30)>
<div class="boxcontent">
<div id="hellomsg"><?SERV:MESG("hello")></div>
<?!("COND:IMPMSG", 1)>
- <div class="login_message"><?IMPORTANTMESSAGE></div>
+ <div class="login_message"><?IMPORTANTMESSAGE("X")></div>
<?!("X", 1)>
<div class="login_image"><img src="image?name=hello" alt=""></div>
<span class="logbuttons">
if (WCC != NULL) {
if (StrLength(WCC->ImportantMsg) > 0) {
- StrEscAppend(Target, WCC->ImportantMsg, NULL, 0, 0);
+ StrBufAppendTemplate(Target, TP, WCC->ImportantMsg, 0);
}
}
}
RegisterConditional("COND:IS_HTTPS", 0, Conditional_IS_HTTPS, CTX_NONE);
RegisterNamespace("CSSLOCAL", 0, 0, tmplput_csslocal, NULL, CTX_NONE);
- RegisterNamespace("IMPORTANTMESSAGE", 0, 0, tmplput_importantmessage, NULL, CTX_NONE);
+ RegisterNamespace("IMPORTANTMESSAGE", 0, 1, tmplput_importantmessage, NULL, CTX_NONE);
RegisterNamespace("TRAILING_JAVASCRIPT", 0, 0, tmplput_trailing_javascript, NULL, CTX_NONE);
RegisterNamespace("URL:DISPLAYNAME", 0, 1, tmplput_HANDLER_DISPLAYNAME, NULL, CTX_NONE);
RegisterNamespace("PACKAGESTRING", 0, 1, tmplput_packagestring, NULL, CTX_NONE);