docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 3.4Web Developer ManualIf Tags
Copyright © 2006, 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 language>
<if match>
<if Match>
<if module>
<if pragma>
<if prestate>
<if referrer>
<if sizeof>
<if supports>
<if time>
<if true>
<if user>
<if variable>
<if Variable>
<then>
<true>

<if time></if>

Provided by module: Tags: RXML 2 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>