Subversion Repositories wimsdev

Rev

Rev 13438 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
13438 obado 1
!! +exec+ +html+
2
tit:getfile
13439 obado 3
type:$type_exec; $type_adm
13438 obado 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>\