Subversion Repositories wimsdev

Rev

Rev 13439 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! +exec+ +html+
  2. tit:getfile
  3. type:$type_exec; $type_adm
  4. alias:outfile, fileout
  5. syntax:!getfile ``filename [prompt]''
  6. mean:Creates a hypertext reference pointing to a specified file on the current wims session. <br>\
  7.   Whenever possible, this command should be used instead of a direct use of\
  8.   html tag ``&lt;a href="..."&gt;''. <br>\
  9.   ``filename'' is the file name to find in the /getfile directory of current session,\
  10.   which should not contain white spaces.\
  11.   <br>\
  12.   ``prompt'' is an optional text on which the hypertext link sits. It can be\
  13.   any text or a &lt;img...&gt; tag, but dynamic insertions are not accepted yet.\
  14.   <br>There is no need to add the end tag ``&lt;/a&gt;''.\
  15.   <p>The CSS class (class='...') of the link can be controlled via the variable\
  16.   ``wims_ref_class''.</p>\
  17.   <p>The title (title='...') of the link can be controlled via the variable\
  18.   ``wims_ref_title''.</p>\
  19.   <p>The HTML ID (id='...') of the link can be controlled via the variable\
  20.   ``wims_ref_id''.</p>\
  21.