Recent Changes - Search:

PmWikiRu

pmwiki.org

, !

, ()

(:if:)

 (:if:)       .

    :

 (:if :) (:ifend:)

 "" -    ( ),  "" -     .   ""(TRUE),    ,   ""(FALSE) -    .

  :

 

(:if name :)  -  ""
(:if group :)  -  ""
(:if auth :)  -  "", : read, edit, upload, attr admin
(:if authid:)  - 
(:if true:)  - 
(:if false:)  -  ( )
(:if attachments:)  - 
(:if date :)  - 
(:if date ..:)  -  ()
(:if date 1..2:)  -  1 2 ()

--

(:if enabled VAR:)  -  PHP VAR (==true)
(:if equal 1 2:)  -  1 2
(:if match :)  - 
(:if exists :)  - 
    :

 

(:if !attachments:)  - 
 
(:if ! name :) ""
(:if name - :)
(:if name ! :)
  (:if:)   ,       ( ):

 

(:if auth read:)*
(:if auth edit:)*
(:if auth upload:)*
(:ifend:)

('*' '?')

  (*) -      ,     ,       .
(?) - . (* ?) :

 

(:if name PmCal.2005* :)  -  PmCal 2005
(:if group PmWiki* :)  -  PmWiki
(:if name Profiles.*,-Profiles.Profiles :)  -  Profiles, Profiles.Profiles

 ( )      .        :

 

(:if expr :)
(:if [ ] :)
(:if ( ) :)
         .   ,           :
  ""
and And 
or Or 
xor Xor,
! ANot 
&& And 
|| Or 
 , :
  • ;
  • .
 :

 

(:if expr auth admin || auth attr || auth edit :)
[[Logout -> {$Name}?action=logout]]
(:if:)
 logout       ,  'read'().

()

 Cookbook:ConditionalMarkupSamples.

<< InterMap | DocumentationIndex | >>

PmWiki.ConditionalMarkup -

  PmWikiRu.ConditionalMarkup -

Backlinks
PmWikiRu.ConditionalMarkup: September 10, 2011, at 06:48 PM
PmWiki.ConditionalMarkup: December 17, 2022, at 09:49 AM

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 06:48 PM