advanced search/how to search

Print

Kinhost dot Org
Site

XesCommentsTemplates

[[#xescommentform]]
!!!Leave a comment %block notoc% 
(:input pmform target=xescomments:)
(:input default request=1:)
>>red<<
(:messages:)
>><<
(:input default author "{$Author}" :)
%comment% $[Subject]:      (:input text Subject size=30:)
(:input text author:) Name (required)  \\
(:input text email:) Email (will be private) (required)  \\
(:input text website:) Website \\
(:input textarea text rows=10 cols=40:) \\

(:input checkbox GDPRpost "You may display this information on your website and may store my email address privately." "You may display this information on your website and may store my email address privately.":)

Enter code: {$Captcha} (:input captcha:)\\
(:input submit name=post value="$[Post]" :)
(:input end:)
[[#xescommentformend]]


[[#xescommentpost]]
(:template defaults where=above :) 
(:template require author errmsg="$[Missing name]":)
(:template require Subject match="" errmsg="$[Please leave the subject field blank]" :)
(:template require email errmsg="$[Missing email]":)
(:template require GDPRpost errmsg="Your permission to display your comment and store your email is required.":)
(:template requires if="captcha" errmsg="Please re-enter the message code" :)
>>commentpost<<
{$$text}

->''Comment by [[{$$website} | {$$author}]] on {$$CurrentTime} (:comment from {$$email}, GDPR Permission(s) granted: {$$GDPRpost}:)''
>><<
[[#xescommentpostend]]

[[#xescommentlist]]
(:template first {=$Group}:)
!!Comments:

(:template each:)
(:include {=$FullName} self=0:) 
(:if auth admin:)[--[[{=$FullName}?action=edit | edit comments]]--] (:if [ auth admin && ! equal {{=$FullName}$Xes_Approved} true ]:)(:approve {{=$FullName}$PageUrl}:) (:ifend:)
----
[[#xescommentlistend]]