Branch: Tag:

2009-11-30

2009-11-30 15:01:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some tag doc about timeouts.

Rev: server/modules/graphics/atlas.pike:1.21
Rev: server/modules/graphics/business.pike:1.156
Rev: server/modules/graphics/cimg.pike:1.85
Rev: server/modules/graphics/gbutton.pike:1.122
Rev: server/modules/graphics/graphic_text.pike:1.311
Rev: server/modules/graphics/gxml.pike:1.49

1:   // This is a roxen module. Copyright © 1996 - 2009, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.310 2009/11/26 15:45:38 grubba Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.311 2009/11/30 15:01:58 grubba Exp $";      #include <module.h>   inherit "module";
388: Inside #if defined(manual)
     <attr name='yspacing' value='number'><p>    Sets the vertical spacing.</p> + </attr> +  + <h1>Timeout</h1> +  + <p>The generated image will by default never expire, but + in some circumstances it may be pertinent to limit the + time the image and its associated data is kept. Its + possible to set an (advisory) timeout on the image data + using the following attributes.</p> +  + <attr name='unix-time' value='number'><p> + Set the base expiry time to this absolute time.</p><p> + If left out, the other attributes are relative to current time.</p> + </attr> +  + <attr name='years' value='number'><p> + Add this number of years to the time this entry is valid.</p> + </attr> +  + <attr name='months' value='number'><p> + Add this number of months to the time this entry is valid.</p> + </attr> +  + <attr name='weeks' value='number'><p> + Add this number of weeks to the time this entry is valid.</p> + </attr> +  + <attr name='days' value='number'><p> + Add this number of days to the time this entry is valid.</p> + </attr> +  + <attr name='hours' value='number'><p> + Add this number of hours to the time this entry is valid.</p> + </attr> +  + <attr name='beats' value='number'><p> + Add this number of beats to the time this entry is valid.</p> + </attr> +  + <attr name='minutes' value='number'><p> + Add this number of minutes to the time this entry is valid.</p> + </attr> +  + <attr name='seconds' value='number'><p> + Add this number of seconds to the time this entry is valid.</p>   </attr>";