Branch: Tag:

2001-03-07

2001-03-07 13:42:14 by Kenneth Johansson <kenneth.johansson.home@gmail.com>

[docs] Moving documentation from Roxen 2.1 to 2.2. Changes includes lots of tagdoc layoutfixes, mostly adding <p> inside <attr>.

Rev: server/base_server/image_cache.xml:1.3
Rev: server/base_server/rxml.pike:1.282
Rev: server/modules/database/sqltag.pike:1.75
Rev: server/modules/graphics/atlas.pike:1.3
Rev: server/modules/graphics/business.pike:1.139
Rev: server/modules/graphics/cimg.pike:1.37
Rev: server/modules/graphics/gbutton.pike:1.77
Rev: server/modules/graphics/graphic_text.pike:1.259
Rev: server/modules/graphics/tablist.pike:1.51
Rev: server/modules/ldap/ldaptag.pike:2.6
Rev: server/modules/scripting/perl.pike:2.17
Rev: server/modules/scripting/piketag.pike:2.30
Rev: server/modules/tags/accessed.pike:1.40
Rev: server/modules/tags/additional_rxml.pike:1.10
Rev: server/modules/tags/check_spelling.pike:1.15
Rev: server/modules/tags/countdown.pike:1.41
Rev: server/modules/tags/diremit.pike:1.6
Rev: server/modules/tags/email.pike:1.5
Rev: server/modules/tags/foldlist.pike:1.28
Rev: server/modules/tags/html_wash.pike:1.14
Rev: server/modules/tags/indirect_href.pike:1.25
Rev: server/modules/tags/killframe.pike:1.32
Rev: server/modules/tags/obox.pike:1.34
Rev: server/modules/tags/rxmltags.pike:1.207
Rev: server/modules/tags/sizer.pike:1.14
Rev: server/modules/tags/ssi.pike:1.37
Rev: server/modules/tags/tablify.pike:1.62
Rev: server/modules/tags/translation_mod.pike:1.9
Rev: server/modules/tags/vform.pike:1.21
Rev: server/modules/throttling/throttletags.pike:1.11

7:      roxen.ImageCache the_cache;    - constant cvs_version = "$Id: cimg.pike,v 1.36 2001/01/26 02:41:08 per Exp $"; + constant cvs_version = "$Id: cimg.pike,v 1.37 2001/03/07 13:40:43 kuntri Exp $";   constant module_type = MODULE_TAG;   constant module_name = "Image converter";   constant module_doc = "Provides the tag <tt>&lt;cimg&gt;</tt> that can be used "
26:   }      #ifdef manual - constant tagdoc=(["cimg":#" - <desc tag><short>Manipulates and converts images between different image - formats.</short> Provides the tag <tag>cimg</tag> that makes it is possible to convert, - resize, crop and in other ways transform images.</desc> + constant tagdoc=(["cimg":#"<desc tag='tag'><p><short> +  Manipulates and converts images between different image +  formats.</short> Provides the tag <tag>cimg</tag> that makes it is +  possible to convert, resize, crop and in other ways transform +  images.</p> + </desc>    - <attr name='src' value='uri' required> -  The path to the indata file. + <attr name='src' value='uri' required='required'><p> +  The path to the indata file.</p>      <ex><cimg src='internal-roxen-testimage'/></ex>   </attr>    - <attr name='data' value='imagedata'> + <attr name='data' value='imagedata'><p>    Insert images from other sources, e.g. databases through entities or -  variables. +  variables.</p>   <ex type='box'>   <emit source='sql' query='select imagedata from images where id=37'> - <cimg data='<ent>sql.imagedata</ent>'/> + <cimg data='&sql.imagedata;'/>   </emit>   </ex>   </attr>",    - "cimg-url":#"<desc tag><short>This tag generates an URI to the manipulated - picture.</short> <tag>cimg-url</tag> takes the same attributes as - <tag>cimg</tag> including the image cache attributes. The use for the - tag is to insert image-URI's into various places, e.g. a submit-box. + "cimg-url":#"<desc tag='tag'><p><short> +  This tag generates an URI to the manipulated picture.</short> +  <tag>cimg-url</tag> takes the same attributes as <xref +  href='cimg.tag' />, including the image cache attributes. The use for +  the tag is to insert image-URI's into various places, e.g. a +  submit-box.</p>   </desc>    - <attr name='src' value='uri' required> -  The path to the indata file. + <attr name='src' value='uri' required='required'><p> +  The path to the indata file.</p>      <ex><cimg-url src='internal-roxen-testimage'/></ex>   </attr>    - <attr name='data' value='imagedata'> + <attr name='data' value='imagedata'><p>    Insert images from other sources, e.g. databases through entities or -  variables. +  variables.</p>   <ex type='box'>   <emit source='sql' query='select imagedata from images where id=37'> - <cimg data='<ent>sql.imagedata</ent>'/> + <cimg data='&sql.imagedata;'/>   </emit>   </ex>   </attr>",    - "emit#cimg":({ #"<desc plugin><short hide> -  Entitybased version of &lt;cimg&gt;</short>Entitybased version of -  <tag>cimg</tag>. Takes the same attributes as <tag>cimg</tag>. + "emit#cimg":({ #"<desc plugin='plugin'><p><short> +  Entitybased version of <xref href='../graphics/cimg.tag' />.</short> +  Takes the same attributes as <tag>cimg</tag>.</p>   </desc>",      ([ - "&_type;":#"<desc ent> -  Returns the image's content-type. + "&_.type;":#"<desc ent='ent'><p> +  Returns the image's content-type.</p>   </desc>",    - "&_src;":#"<desc ent> -  Returns the path to the indata file. + "&_.src;":#"<desc ent='ent'><p> +  Returns the path to the indata file.</p>   </desc>",    - "&_file-size;":#"<desc ent> -  Returns the image's file size. + "&_.file-size;":#"<desc ent='ent'><p> +  Returns the image's file size.</p>   </desc>",    - "&_xsize;":#"<desc ent> -  Returns the width of the image. + "&_.xsize;":#"<desc ent='ent'><p> +  Returns the width of the image.</p>   </desc>",    - "&_ysize;":#"<desc ent> -  Returns the height of the image. + "&_.ysize;":#"<desc ent='ent'><p> +  Returns the height of the image.</p>   </desc>",    - "&_data;":#"<desc ent> + "&_.data;":#"<desc ent='ent'><p>    Returns the imagedata given through other sources, like databases -  through entities. +  through entities.</p>   </desc>"   ])