[ZPT] Is this slot filled?

Lalo Martins lalo@hackandroll.org
Sat, 5 May 2001 11:15:44 -0300


Is there any way I can know, inside a macro, if slot X was
filled?

Or rather, is there other way to do this?

What I like is roughly:

<dtml-if top_warning>
  <top_warning>
  <hr>
</dtml-if>

so that the hr *only* goes out when the slot is filled.

This is similar to what's done in manage_tabs; if you specify a
message, then a nice box is rendered with your message inside,
but if you don't, you don't get an empty box.

[]s,
                                               |alo
                                               +----
--
           I say a prayer now our love's departed
                That you'll come back to stay
                  Bring back the perfect day

http://www.laranja.org/                mailto:lalo@laranja.org
         pgp key: http://www.laranja.org/pessoal/pgp

Brazil of Darkness (RPG)      ---       http://www.BroDar.org/