Roxen.git / server / modules / tags / foldlist.pike

version» Context lines:

Roxen.git/server/modules/tags/foldlist.pike:1:   // This is a roxen module. Copyright © 1999-2001, Roxen IS.   //    - constant cvs_version = "$Id: foldlist.pike,v 1.27 2001/02/10 22:41:27 nilsson Exp $"; + constant cvs_version = "$Id: foldlist.pike,v 1.28 2001/03/07 13:42:11 kuntri Exp $";   constant thread_safe = 1;      #include <module.h>   inherit "module";      constant module_type = MODULE_TAG;   constant module_name = "Folding lists";   constant module_doc = "Provides the &lt;foldlist&gt; tag, which is used to "   "build folding lists. The folding lists work like <tt>&lt;dl&gt;</tt> lists "   "where each item can be folded or unfolded.";      TAGDOCUMENTATION;   #ifdef manual   constant tagdoc=([    - "foldlist":({#"<desc cont><short hide> + "foldlist":({#"<desc cont='cont'><p><short hide>    This tag is used to build folding lists, that are like &lt;dl&gt; lists,    but where each element can be unfolded.</short>This tag is used to    build folding lists, that are like <tag>dl</tag> lists, but where    each element can be unfolded. The tags used to build the lists -  elements are <tag>ft</tag> and <tag>fd</tag>. </desc> +  elements are <tag>ft</tag> and <tag>fd</tag>. </p></desc>    - <attr name=unfolded> - Will make all the elements in the list unfolded by default. + <attr name='unfolded'><p> +  Will make all the elements in the list unfolded by default.</p>   </attr>   ",    - (["ft":({#"<desc cont> + (["ft":({#"<desc cont='cont'><p>   This tag is used within the foldlist tag. The contents of this   container, that is not within an fd, tag will be visible both when the - element is folded and unfolded. + element is folded and unfolded.</p></desc>    - <attr name=folded> + <attr name='folded'><p>    Will make this element folded by default. Overrides an unfolded - attribute set in the foldlist tag. +  attribute set in the foldlist tag.</p>   </attr>    - <attr name=unfolded> - Will make this element unfolded by default. + <attr name='unfolded'><p> +  Will make this element unfolded by default.</p>   </attr>   ",    - (["fd":#"<desc cont> + (["fd":#"<desc cont='cont'><p>    The contents of this container will only be visible when the element - it is written in is unfolded.</desc> +  it is written in is unfolded.</p> + </desc>      <ex>    <foldlist>    <ft>    Heading1    <fd>Contents 1</fd>    </ft>    <ft>    Heading2    <fd>Contents 2</fd>