|
badminton club heiligenhaus
|
| 03.12.2025 18:09 Uhr | bch / ConditionalMarkup |
|
Home |
authors, admins (advanced) Using the (:if:) DirectiveThe
where "cond" names a condition to be tested (described below), and "param" is a parameter or other argument to the condition. The built-in conditions include: (:if name [name]:) - current page is named "name"
(:if auth [level]:) - viewer is authorized at "level"
(:if authid:) - current viewer is authenticated
(:if true:) - always include text
(:if false:) - always exclude text (same as a comment)
(:if attachments:) - current page has attachments
(:if date [date1..date2]:)
- current date is in range (dates are yyyy-mm-dd)
(:if enabled [var]:) - PHP variable "var" is true
Negated forms of conditions also work
Any (:if auth read:)* You can read
(:if auth edit:)* You can edit
(:if auth upload:)* You can upload
(:ifend:)
admins (advanced) Creating new conditionsSee Cookbook:ConditionalMarkupSamples. << InterMap | DocumentationIndex | Markup variables >> |
| Validate the XHTML and CSS of this page. | Zuletzt geändert am 18.11.2005 17:31 Uhr | |
|
Powered by PmWiki |
||