[pmwiki-users] Author signature

Peter Bowers pbowers at pobox.com
Tue Nov 25 13:21:15 CST 2008


If you'll look a little further up in author.php you'll see the line
defining a markup for [[~.]] which puts in the $AuthorGroup for you.  It's
just a 2-step process rather than a single step to avoid redundancy in code.


 

-Peter

 

  _____  

From: pmwiki-users-bounces at pmichaud.com
[mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Radu Luchian
Sent: Tuesday, November 25, 2008 5:35 PM
To: pmwiki-users at pmichaud.com
Subject: [pmwiki-users] Author signature

 

Hello PM,

Is there any reason why author.php has

  $ROSPatterns['/(?<!~)~~~~(?!~)/'] = '[[~$Author]] $CurrentTime';
  $ROSPatterns['/(?<!~)~~~(?!~)/'] = '[[~$Author]]';

instead of 

  $ROSPatterns['/(?<!~)~~~~(?!~)/'] = '[[~$AuthorGroup/$Author]]
$CurrentTime';
  $ROSPatterns['/(?<!~)~~~(?!~)/'] = '[[~$AuthorGroup/$Author]]';

??

I mean, was there some discussion whereupon it was decided that the core
should have author pages in each group even when there's a Profiles group
defined?

Thanks,
Radu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081125/419afae3/attachment.html 


More information about the pmwiki-users mailing list