[pmwiki-users] SectionEdit: Proposal
Marc Cooper
gmane at auxbuss.com
Mon Jul 31 10:15:23 CDT 2006
Tom said...
> Hi Karl (hoping you read this), hi all,
>
> i would like to ask for an addition in the SectionEdit script.
>
> Having the "Edit Section" link displayed only when one has the edit
> rights would seem better than having it shown always, at least for some
> uses of the wiki.
>
> Currently i have
> (:if auth edit:)
> (:autosections:)
> (:if:)
>
> (with $SectionEditWithourHeaders = true;)
>
> but that is not as good as having it configured in config.php.
>
> Comments?
I agree. I use:
(:if ! auth edit:)(:nosections:)(:ifend:)
in Site.SiteHeader (which is activated via $GroupHeaderFmt)
A parameter to swap the default behaviour would be a great improvement.
--
Best,
Marc
More information about the pmwiki-users
mailing list