docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 6.1Web Developer ManualIf Tags
Copyright © 2021, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

<else>
<elseif>
<false>
<if>
<if accept>
<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 pragma>
<if prestate>
<if recaptcha-verify>
<if referrer>
<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 time></if>

Provided by module: Tags: RXML tags

Is the time hhmm, hh:mm, yyyy-mm-dd or yyyy-mm-ddThh:mm? The attributes before, after, inclusive and until modifies the behavior. This is a Utils plugin.


Attributes

time="{hhmm, yyyy-mm-dd, yyyy-mm-ddThh:mm}"

Choose what time to test.


after

The time after present time.


before

The time before present time.


until="{hhmm, yyyy-mm-dd, yyyy-mm-ddThh:mm}"

Gives true for the time range between present time and the time value of 'until'.


inclusive

Adds present time to after and before.

<if time='1200' before='' inclusive=''> ante meridiem </if> <else> post meridiem </else>