<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
How about<br>
<br>
<pre wrap="">(:if !(author user1 or author user2) :)
or just more parens
(:if ((! author user1) && (! author user2)) :)
</pre>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:info@hassanein.ch">info@hassanein.ch</a> wrote:
<blockquote
cite="mid20070610123413.eqqe54vy0wc0skc0@login-7.hoststar.ch"
type="cite">
<pre wrap="">Hi all
I use the following markup in a page.
The last :if markup does not work, I need to do someting if user is
not user1 and not user2.
There is no :else markup therefore I used the not operator but it does
not work in conjunction with the && operator.
Any idea how I can achieve that?
(:if author user1 :)
text for user1
(:ifend:)
(:if author user1 :)
text for user2
(:ifend:)
(:if !author user1 && !author user2 :)
text for all other users, but not for user1 and user2
(:ifend:)
--
Thanks very much for your help.
Best regards,
Mike
_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<font color="#000000" face="Arial" size="2">Doug Johnson</font><br>
<font color="#cc0000" face="Arial" size="2">"Everyone is as God has
made him, and oftentimes a great deal worse" - Miguel do Cervantes<br>
</font><font color="#000000" face="Arial" size="2">800-456-4522
CompuLink Sales<br>
805-497-4952 CompuLink Fax
<br>
216-453-3793 DJ Direct VOIP-Gizmo dugjohnson
<br>
916-644-6980 DJ Direct eFax<br>
<a href="mailto:doug@compulink-software.com">doug@compulink-software.com</a> Email
<br>
<a href="mailto:doug@asknice.com">doug@asknice.com</a> Personal Email</font></div>
</body>
</html>