[pmwiki-users] Am I alone to find that?

Tegan Dowling tmdowling at gmail.com
Thu Apr 12 06:38:59 CDT 2007


I think the way you have your conditional written, the wiki is only
analyzing 1/2 of it (looks like maybe the first half, as it's only
working with "if auth admin" is in the front).  I think that the
correct syntax would be

(:if expr name *{$AuthId}* || auth admin :)

On 4/12/07, SMETS Stephane     BKS-IT <stephane.smets at banksys.be> wrote:
>
>
>
> Hi !
>
> I want to use this
>
> (:if name *{$AuthId}* || auth admin : )
>
> do something
>
> (:ifend:}
>
> As I am admin I need to do the something, but pmwiki don't do it
>
> But if I use this
>
> (:if  auth admin || name *{$AuthId}*  : )
>
> do something
>
> (:ifend:}
>
> Pmwiki do something
>
> So is there any ordering consideration for the test?
>
> Thx
>
> Stéphane
>
>
>
> sa Banksys nv - Chaussee de Haecht 1442 Haachtsesteenweg
>
> - 1130 Brussels - Belgium
>
> RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
>
> Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
>
> BIC BBRUBEBB - IBAN BE55 3100 2694 2444
>
>
>
>
>
> "The information contained in this e-mail and any attachment thereto is
> confidential and may contain information which is protected by intellectual
> property rights.
>
> This information is intended for the exclusive use of the recipient(s) named
> above.
>
> This e-mail does not constitute any binding relationship or offer toward any
> of the addressees.
>
> If you are not one of the addressees , one of their employees or a proxy
> holder entitled to hand over this message to the addressee(s), any use of
> the information contained herein (e.g. reproduction, divulgation,
> communication or distribution,...) is prohibited.
>
> If you have received this message in error, please notify the sender and
> destroy it immediately after.
>
> The integrity and security of this message cannot be guaranteed and it may
> be subject to data corruption, interception and unauthorized amendment, for
> which we accept no liability."
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>



More information about the pmwiki-users mailing list