[pmwiki-users] Blocklist2 and Site - typo in function

K.A.Bouton k.a.bouton at reading.ac.uk
Fri Jul 22 05:28:54 CDT 2005


Type line line 185 of v2.2

Was function BlocklistFindBlocked)$blockitem) {
Should be ??
function BlocklistFindBlocked ($blockitem) {

Katherine

> -----Original Message-----
> From: pmwiki-users-bounces at pmichaud.com 
> [mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Crisses
> Sent: Friday, July 22, 2005 4:36 AM
> To: PmWiki Users
> Subject: Re: [pmwiki-users] Blocklist2 and Site
> 
> 
> 
> On Jul 21, 2005, at 11:26 AM, Patrick R. Michaud wrote:
> >
> > It seems like it ought to be easily possible to one script that can 
> > handle earlier PmWiki 2 versions.  The original 
> blocklist.php script I 
> > had ended up working with both PmWiki 1 and PmWiki 2, which 
> have a lot 
> > more differences between them.  :-)
> >
> > At any rate, I cast my vote in favor of just one Blocklist recipe.
> 
> Done.
> 
> >     if (!isset($BlocklistPages)) {
> >       $BlocklistPages = array('Site.Blocklist');
> >       if (PageExists('Main.Blocklist')) $BlocklistPages[] =
> > 'Main.Blocklist';
> >     }
> 
> Done.
> 
> I uploaded the new version tested on 2.0 beta 50.  I 
> attempted to add  
> some more performance improvements (refined a pattern match and  
> removed a trim() ) -- but the code is fairly slim as far as I can  
> tell.  I will stare at it more in the future to see what else I can  
> squeeze out of it.
> 
> Crisses
> ----
> "The trouble with so many of us is that we have sought directions,  
> answers, values, and beliefs from the important people in our 
> world.   
> Rather than trusting ourselves to search within and find our own  
> answers to the conflicts in our life, we sell out by becoming what  
> others expect of us.  Our being becomes rooted in their 
> expectations,  
> and we become strangers to ourselves."
>   -- Gerald Corey, Theory and Practice of Counseling & Psychotherapy  
> (Sixth Ed.), p. 148, on existential therapy
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com 
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> 





More information about the pmwiki-users mailing list