Roxen.git / server / modules / graphics / graphic_text.pike

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.262 2001/03/13 11:52:04 nilsson Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.263 2001/03/14 11:36:01 kuntri Exp $";      #include <module.h>   inherit "module";         // ------------------- Module registration ---------------------      constant module_type = MODULE_TAG;   constant module_name = "Graphics: Graphic text";   constant module_doc =
Roxen.git/server/modules/graphics/graphic_text.pike:500: Inside #if defined(manual)
  <gtext scale=\"0.4\" split=\"\">Make each word..</gtext>    </ex>   </attr>      <attr name='submit'><p>    Creates a submit-button for forms. Does not work together with    <att>split</att> or <att>magic</att> attributes.</p>   </attr>"+gtextargs,      "gtext-id":#"<desc tag='tag'><p><short> +  Returns an internal URL to an image with the specified attributes +  applied.</short> To use this tag a string with the wanted text needs +  to be put after the URL. Warning: This tag is a serious security +  problem since it is possible to supply very long strings to it, +  turning it into a DOS hole. Hence, this tag should only be used where +  its use can be controlled, e.g. Intranets.</p>    -  Returns an internal URL to an image + <ex type='box'> + <define variable='var.image' preparse='yes'><gtext-id/></define> + <a href='&var.bild;'>Click me!</a> + </ex>    - get dig en URL som som get dig en bild med de argument du - specificerat om du också lägger på en sträng med den text du vill ha - efter den URLen. Den här tagen är ett DOS-hål och bör avrådas ifrån om - man inte använder den under okntrollerade former som tex ett intranät. +  <p>This link would lead to an empty page. However, if some text would +  be put after the URL the page would instead have some graphical text +  in its upper left corner .</p>    -  </short></p> -  + <ex type='vert'> + <define variable='var.image' preparse='yes'><gtext-id/></define> + <img src='<ent>var.image</ent>\"My text\"' /> + </ex>   </desc>      <attr name='href' value='URL'><p>    Link the image to the specified URL. The link color of the document    will be used as the default foreground rather than the foreground    color.</p>   </attr>    - <attr name='short'><p></p> -  + <attr name='short'><p> +  Returns a relative path to the image, i.e. a shorter one. + </p>   </attr>"+gtextargs,      "gtext-url":#"<desc cont='cont'><p><short>    Returns an internal URL to an image with the specified attributes -  applied.</short> <tag>gtext-url</tag> takes the same attributes as -  <xref href='gtext.tag' />.</p> +  applied.</short></p>   </desc>      <attr name='href' value='URL'><p>    Link the image to the specified URL. The link color of the document    will be used as the default foreground rather than the foreground    color.</p>   </attr>      <attr name='short'><p> -  +  Returns a relative path to the image, i.e. a shorter one.   </p>   </attr>   <noex>"+gtextargs+"</noex>",]);   #endif         // -------------------- Image cache functions --------------------      roxen.ImageCache image_cache;