[pmwiki-users] CSS in Wiki Pages: new stylepage.php

Henrik Bechmann henrik.bechmann at sympatico.ca
Tue Aug 29 11:18:16 CDT 2006


General question:

Where is the use of the "@" prefix documented?

Thanks,

- Henrik

Patrick R. Michaud wrote:
> On Tue, Aug 29, 2006 at 11:03:52AM -0500, Jon Haupt wrote:
>   
>>    On 8/29/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>>
>>      On Tue, Aug 29, 2006 at 10:35:13AM -0500, Jon Haupt wrote:
>>      >    The read password for Site.StyleSheet is set to nopass.
>>
>>      The stylepage.php recipe doesn't know how to deal with "nopass",
>>      it just knows that there's a read password of some sort on the
>>      page so it refuses to cache it.
>>
>>    Ah, makes sense.  This is a production site which is fairly restrictively
>>    controlled--i.e. there is a Site group read password and only those pages
>>    which are necessary are made readable to the public.  My other site
>>    doesn't have a Site group password.
>>     
>
>
> In stylepage.php, change line 88 from
>
>        if ($stylepage['=passwd']['read']) {
>
> to
>
>        if ($stylepage['=passwd']['read'] 
>            && $stylepage['=passwd']['read'] != '@nopass') {
>
> And be sure to use '@nopass' for the read password in 
> Site.StylePage instead of 'nopass'.
>
> Pm
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>   

-- 

Henrik Bechmann
www.osscommons.ca
www.bechmannsoftware.com
Webmaster, www.dufferinpark.ca





More information about the pmwiki-users mailing list