Rev 13439 | 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]'' |
||
17228 | bpr | 6 | mean:Creates a hypertext reference pointing to a specified file on the current wims session. <br>\ |
13438 | obado | 7 | Whenever possible, this command should be used instead of a direct use of\ |
17228 | bpr | 8 | html tag ``<a href="...">''. <br>\ |
13438 | obado | 9 | ``filename'' is the file name to find in the /getfile directory of current session,\ |
10 | which should not contain white spaces.\ |
||
17228 | bpr | 11 | <br>\ |
13438 | obado | 12 | ``prompt'' is an optional text on which the hypertext link sits. It can be\ |
13 | any text or a <img...> tag, but dynamic insertions are not accepted yet.\ |
||
17228 | bpr | 14 | <br>There is no need to add the end tag ``</a>''.\ |
13438 | obado | 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>\ |