Rev 3790 | Rev 3930 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2286 | bpr | 1 | !set lang_exists=yes |
2 | !if $wims_read_parm=$empty |
||
3 | !exit |
||
4 | !endif |
||
5 | |||
2266 | bpr | 6 | !goto $wims_read_parm |
7 | :file |
||
8 | |||
9 | <p>Available files in this document: |
||
10 | !for f in $flist |
||
11 | !getfile doc/$f $f |
||
12 | |
||
13 | !next f |
||
14 | <p> |
||
15 | !form reply |
||
3049 | bpr | 16 | <input type=hidden name="job2" value=erase> |
2266 | bpr | 17 | Erase a file: |
18 | !formselect job2 list $flist |
||
3790 | reyssat | 19 | <input type=submit value="$wims_name_erase"> |
2266 | bpr | 20 | </form> |
21 | <p> |
||
22 | Files in the document can be accessed using the variable <tt>\filedir</tt> |
||
23 | in the document. For example, |
||
24 | <p><center> |
||
3618 | bpr | 25 | <tt><a href="\filedir/$f1">$f1</a></tt> |
2266 | bpr | 26 | </center> <p> |
3618 | bpr | 27 | gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>. |
2266 | bpr | 28 | Also, you can write |
29 | <p><center> |
||
30 | <tt><img src="\filedir/myfile.jpg" alt="myfile"></tt> |
||
31 | </center> <p> |
||
32 | to include an image file <tt>myfile.jpg</tt> in the page. |
||
33 | <p> |
||
34 | Files deposited to this document are only accessible by people having |
||
3145 | bpr | 35 | rights to read the document. |
2266 | bpr | 36 | |
37 | !exit |
||
38 | |||
39 | :readauth |
||
40 | If you are the author of the document, please remember that you need the |
||
41 | authorization of the |
||
42 | !mailurl $wims_site_manager site manager\ |
||
43 | Ask to open WIMS document $doc |
||
3922 | bpr | 44 | to put the document visible by the public. |
2285 | bpr | 45 | |
46 | !exit |
||
47 | |||
48 | :erase1 |
||
49 | For security reasons, only site managers can erase public documents. |
||
50 | <p> |
||
51 | Please |
||
52 | !mailurl $wims_site_manager ask the site manager |
||
53 | to erase this document for you. |
||
54 | |||
55 | !exit |
||
56 | |||
57 | :erase2 |
||
3422 | bpr | 58 | <font color="red"><b>ATTENTION</b>!!</font> An erased document cannot be recovered! |
2285 | bpr | 59 | <p> |
3422 | bpr | 60 | Are you sure you want to erase the document <font color="red"><b>$tit</b></font>? |
2285 | bpr | 61 | |
62 | !exit |
||
63 | :public |
||
64 | |||
65 | <b>Remark</b>. You must ask the approval of the |
||
66 | !mailurl $wims_site_manager site manager\ |
||
67 | Ask to open WIMS document $doc |
||
68 | to make the document accessible by le public. |
||
69 | |||
70 | !exit |