Rev 14940 | Rev 17231 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14940 | Rev 14944 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | 9 | ||
10 | <div> |
10 | <div> |
11 | Available files in this document: |
11 | Available files in this document: |
12 | <ul class="inline"> |
12 | <ul class="inline"> |
13 | !for f in $flist |
13 | !for f in $flist |
- | 14 | <li> |
|
14 |
|
15 | !set wims_ref_class=text_icon file |
15 | !set wims_getfile_fname=$f |
16 | !set wims_getfile_fname=$f |
16 | !getfile doc/$f $f |
17 | !getfile doc/$f $f |
17 | </li> |
18 | </li> |
18 | !next f |
19 | !next f |
19 | </ul> |
20 | </ul> |
20 | </div> |
21 | </div> |
21 | 22 | ||
22 | !form reply |
23 | !form reply |
23 | <input type="hidden" name="job2" value="erase" /> |
24 | <input type="hidden" name="job2" value="erase" /> |
24 | Erase a file: |
25 | <label for="job2">Erase a file:</label> |
25 | !formselect job2 list $flist |
26 | !formselect job2 list $flist |
26 | <input type="submit" value="$wims_name_erase" /> |
27 | <input type="submit" value="$wims_name_erase" /> |
- | 28 | !formend |
|
27 | 29 | ||
28 | !formend |
- | |
29 |
|
30 | <p> |
30 | Files in the document can be accessed using the variable <span class="tt wims_code_variable">\filedir</span> |
31 | Files in the document can be accessed using the variable <span class="tt wims_code_variable">\filedir</span> |
31 | in the document. For example, |
32 | in the document. For example, |
32 | </p> |
33 | </p> |
33 | <p class="wimscenter"> |
34 | <p class="wimscenter"> |
34 | < |
35 | <code class="wims_address"><a href="\filedir/$f1" download="$f1">$f1</a></code> |
35 | </p> |
36 | </p> |
36 | gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>. |
37 | gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>. |
37 | Also, you can write |
38 | Also, you can write |
38 | <p class="wimscenter"> |
39 | <p class="wimscenter"> |
39 | <span class="tt wims_address"><img src="\filedir/myfile.jpg" alt="myfile"></span> |
40 | <span class="tt wims_address"><img src="\filedir/myfile.jpg" alt="myfile"></span> |
40 | </p><p> |
41 | </p><p> |
41 | to include an image file <span class="tt wims_fname">myfile.jpg</span> in the page. |
42 | to include an image file <span class="tt wims_fname">myfile.jpg</span> in the page. |
42 | Files deposited to this document are only accessible by people having |
43 | Files deposited to this document are only accessible by people having |
43 | rights to read the document. |
44 | rights to read the document. |
44 | - | ||
45 | </p><div> |
- | |
46 | A new command <span class="tt wims_code_words">\href{}{}</span> is under testing. |
- | |
47 | To get a link to the file, it suffices to write |
- | |
48 | <p class="wimscenter"> |
- | |
49 | <code class="wims_code_words">\href{$f1}</code> or <code class="wims_code_words">\href{$f1}{link}</code>. |
- | |
50 | </p> |
45 | </p> |
- | 46 | <div> |
|
- | 47 | A new command <span class="tt wims_code_words">\href{}{}</span> is under testing. |
|
- | 48 | To get a link to the file, it suffices to write |
|
- | 49 | <p class="wimscenter"> |
|
- | 50 | <code class="wims_code_words">\href{$f1}</code> or <code class="wims_code_words">\href{$f1}{link}</code>. |
|
- | 51 | </p> |
|
51 | </div> |
52 | </div> |
52 | !exit |
53 | !exit |
53 | 54 | ||
54 | :readauth |
55 | :readauth |
55 | If you are the author of the document, please remember that you need the |
56 | If you are the author of the document, please remember that you need the |
Line 61... | Line 62... | ||
61 | !exit |
62 | !exit |
62 | 63 | ||
63 | :erase1 |
64 | :erase1 |
64 | For security reasons, only webmasters can erase public documents. |
65 | For security reasons, only webmasters can erase public documents. |
65 | <p> |
66 | <p> |
66 | Please |
67 | Please |
67 | !mailurl $wims_site_manager ask the webmaster |
68 | !mailurl $wims_site_manager ask the webmaster |
68 | to erase this document for you. |
69 | to erase this document for you. |
69 | </p> |
70 | </p> |
70 | !exit |
71 | !exit |
71 | 72 | ||
72 | :erase2 |
73 | :erase2 |
73 | <span class="wims_warning">ATTENTION</span>. An erased document cannot be recovered! |
74 | <span class="wims_warning">ATTENTION</span>. An erased document cannot be recovered! |