Branch: Tag:

2000-11-09

2000-11-09 23:15:59 by Kenneth Johansson <kenneth.johansson.home@gmail.com>

Mostly markup changes to make the printsystem work

Rev: server/modules/directories/directories.pike:1.87
Rev: server/modules/graphics/atlas/atlas.pike:1.8
Rev: server/modules/graphics/business_graphics/business.pike:1.136
Rev: server/modules/graphics/cimg.pike:1.34
Rev: server/modules/graphics/counter.pike:1.39
Rev: server/modules/graphics/graphic_text.pike:1.256
Rev: server/modules/graphics/wiretap.pike:1.22
Rev: server/modules/throttling/throttletags.pike:1.11

7:      roxen.ImageCache the_cache;    - constant cvs_version = "$Id: cimg.pike,v 1.33 2000/10/26 15:17:13 kuntri Exp $"; + constant cvs_version = "$Id: cimg.pike,v 1.34 2000/11/09 23:15:57 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='&sql.imagedata;'/>
47: Inside #if defined(manual)
  </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='&sql.imagedata;'/>
69: Inside #if defined(manual)
  </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='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>"   ])