templates: fix javascript escaping
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<a name="comments" />
|
||||
<TMPL_IF allow.new_comments>
|
||||
<a href="#comments"
|
||||
onclick="calcms.showCommentForm('calcms_add_comment','','<TMPL_VAR event_id>','<TMPL_VAR event_start>');return false;"
|
||||
onclick="calcms.showCommentForm('calcms_add_comment','','<TMPL_VAR event_id escape=js>','<TMPL_VAR event_start escape=js>');return false;"
|
||||
>Neuen Kommentar schreiben</a>
|
||||
<div>
|
||||
<div id="calcms_add_comment" style="display:none;visibility:hidden;" > </div>
|
||||
@@ -40,7 +40,7 @@
|
||||
<TMPL_IF allow.new_comments>
|
||||
<span >
|
||||
<a href="#calcms_add_comment_<TMPL_VAR id>_anchor"
|
||||
onclick="calcms.showCommentForm('calcms_add_comment_<TMPL_VAR id>','<TMPL_VAR id>','<TMPL_VAR event_id>','<TMPL_VAR event_start>');return false;"
|
||||
onclick="calcms.showCommentForm('calcms_add_comment_<TMPL_VAR id escape=js>','<TMPL_VAR id escape=js>','<TMPL_VAR event_id escape=js>','<TMPL_VAR event_start escape=js>');return false;"
|
||||
>antworten</a>
|
||||
</span>
|
||||
<div id="calcms_add_comment_<TMPL_VAR id>"> </div>
|
||||
|
||||
Reference in New Issue
Block a user