[pmwiki-users] conditional for existence of a file?
Jonathan Scott Duff
duff at pobox.com
Thu Jul 7 14:38:48 CDT 2005
On Thu, Jul 07, 2005 at 11:54:13AM -0500, Patrick R. Michaud wrote:
> On Tue, Jul 05, 2005 at 06:19:10PM +0300, Leigh Hausman wrote:
> > Er, something like, "There are no attachments associated with this
> > page," maybe?
>
> I'm trying to decide if this should be part of the (:attachlist:)
> markup or if it should be a conditional that can be used in
> an (:if attachments:) ... (:ifend:) sequence.
The former doesn't make any sense to me really. How would that look?
(:attachlist none="There are no attachments":)
Something similar in form to the latter would be just fine though.
MHO,
-Scott
--
Jonathan Scott Duff
duff at pobox.com
More information about the pmwiki-users
mailing list