Daya Bay Reactor Neutrino Experiment
TWiki > IfStatements (11 vs. 12)
Daya Bay webs: Public | 中文 | Internal | Help   Log In or Register

Welcome | Register | Changes | Topics | Index | Search | Go
 <<O>>  Difference Topic IfStatements (12 - 2012-10-04 - TWikiContributor)
Line: 1 to 1
 

IF Statements

The %IF% construct gives TWiki the power to include content in topics based on the value of simple expressions.

Line: 35 to 35
 
can_login current environment supports login
changes in changes script (see TWikiScripts)
command_line the running script was run from the command line, and not from CGI
Added:
>
>
content_master with the current web, this site is the master of the federated sites (see ReadOnlyAndMirrorWebs)
content_slave with the current web, this site is a slave and another site in the federation is the master (see ReadOnlyAndMirrorWebs)
 
diff in rdiff script (see TWikiScripts)
edit in edit script (see TWikiScripts)
footer_text when the footer text is being processed in a view (useful in plugin handlers)
header_text when the header text is being processed in a view (useful in plugin handlers)
i18n_enabled when user interface I18N support is enabled (i.e., user can choose the language for UI)
Changed:
<
<
inactive if active links such as 'edit' and 'attach' should be disabled
>
>
inactive if active links such as 'edit' and 'attach' should be disabled; a read-only web puts all topics in this context (see ReadOnlyAndMirrorWebs)
 
login & logon in login / logon script (see TWikiScripts)
manage in manage script (see TWikiScripts)
Deleted:
<
<
mirror if this is a mirror
 
new_topic if the topic doesn't already exist
oops in oops script (see TWikiScripts)
preview in preview script (see TWikiScripts)

View | History: r12 < r11 < r10 < r9 | More

View | History: r12 < r11 < r10 < r9 | More
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.IfStatements.