PmWikiRu

, !

, ()

(: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.GroupFooter -

  PmWikiRu.GroupFooter -

Backlinks
PmWikiRu.GroupFooter: September 10, 2011, at 06:48 PM
PmWiki.GroupFooter: December 16, 2022, at 12:08 PM