Difference between revisions of "Mark online"

From cm2.liecourt.com
m (Admin moved page Wiki:Mark online to Mark online without leaving a redirect)
(Blanked the page)
(Tag: Blanking)
 
Line 1: Line 1:
{{#vardefineecho:@onlinerecently|{{User online recently}} }}<!--
 
  
 
-->{{#ifeq: {{#var: @onlinerecently}} | Yes <!--
 
-->|<!--
 
-->{{#vardefine:@buttontext | {{Fa|toggle-on|text-success}} (Mark offline)}}<!--
 
-->{{#vardefine:@marktimestamp | now - 1 hour}}<!--
 
-->|<!--
 
-->{{#vardefine:@buttontext | {{Fa|toggle-off|text-warning}} (Mark online) }}<!--
 
-->{{#vardefine:@marktimestamp | now}}<!--
 
-->}}<!--
 
 
-->{{#vardefine:@timestamp|<nowiki>{{subst:#time: r | </nowiki>{{#var:@marktimestamp}}<nowiki>}}</nowiki>}}<!--
 
--><wsform action="addToWiki"><!-- 
 
--><wsedit target="{{PAGEID:User:{{CURRENTLOGGEDUSER}} }}" formfield="Online since" template="User"  value="{{#var:@timestamp}}" /><!--
 
-->{{#widget: Link
 
|type=button
 
|class=btn btn-default color-blue
 
|style=
 
|text={{#var:@buttontext}}
 
|onclick=this.form.submit();
 
}}
 
</wsform>
 

Latest revision as of 09:48, 14 June 2021