RoxenCMS 5.4Web Developer ManualIf Tags

   

<else>
<elseif>
<false>
<if>
<if ac-identity-exists>
<if ac-verify-password>
<if accept>
<if access-path>
<if client>
<if clientvar>
<if config>
<if cookie>
<if date>
<if defined>
<if domain>
<if exists>
<if expr>
<if false>
<if group>
<if internal-exists>
<if ip>
<if kerberos-auth>
<if language>
<if match>
<if Match>
<if module>
<if poll-voted>
<if ppoint>
<if pragma>
<if prestate>
<if referrer>
<if sb-user-op>
<if scope>
<if sizeof>
<if supports>
<if time>
<if true>
<if type-from-data>
<if type-from-filename>
<if user>
<if variable>
<if Variable>
<if variable-exists>
<then>
<true>

<if poll-voted></if>

Provided by module: CMS Editor Component: Poll

Test if the given client has voted on the poll previously. Will always return false if client logging is not enabled.


Attributes

poll-voted

String identifying the client as given to <poll-update>


poll-id

ID of the poll.


poll-votes-limit

Allow this many votes from the client before returning true. Default is 10 since if &client.ip; is used there can still be multiple valid clients behind the same IP.


poll-time-limit

Only count votes made within this many minutes.