Difference between revisions of "Mark online"

From cm2.liecourt.com
Line 18: Line 18:
 
<wsform action="addToWiki"><!--   
 
<wsform action="addToWiki"><!--   
 
  --><wsedit target="{{PAGEID:User:{{CURRENTLOGGEDUSER}} }}" formfield="Online since" template="User"  value="{{#var:@timestamp}}" /><!--
 
  --><wsedit target="{{PAGEID:User:{{CURRENTLOGGEDUSER}} }}" formfield="Online since" template="User"  value="{{#var:@timestamp}}" /><!--
  --><wsfield type="hidden" /><!--
+
  -->{{#widget: Link
--><wslabel onClick="alert(1)" >{{#var:@buttontext}}</wsfield>
 
</wsform>
 
{{#widget: Link
 
 
|type=button
 
|type=button
 
|class=btn-success
 
|class=btn-success
 
|style=
 
|style=
 
|text={{#var:@buttontext}}
 
|text={{#var:@buttontext}}
|onclick=alert(1);
+
|onclick=this.form.submit();
 
}}
 
}}
 +
</wsform>

Revision as of 12:08, 9 June 2021

Expression error: Unexpected < operator.

Mark online