Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3618 bpr 1
f1!set lang_exists=yes
3274 reyssat 2
!if $wims_read_parm=$empty
3
 !exit
4
!endif
5
 
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
  &nbsp;
13
 !next f
14
 <p>
15
 !form reply
4008 bpr 16
 <input type="hidden" name="job2" value="erase">
3274 reyssat 17
 Erase a file:
18
 !formselect job2 list $flist
4008 bpr 19
 <input type="submit" value="$wims_name_erase">
3274 reyssat 20
 </form>
21
 <p>
4008 bpr 22
 Files in the document can be accessed using the variable <tt class="wims_code_variable">\filedir</tt>
3274 reyssat 23
in the document. For example, 
24
<p><center>
4008 bpr 25
 <tt class="wims_address">&lt;a&nbsp;href="\filedir/$f1"&gt;$f1&lt;/a&gt;</tt>
3274 reyssat 26
</center> <p>
27
 gives a link to the file <a href="$m_filedir/$f1">$f1</a>.
28
 Also, you can write
29
<p><center>
4008 bpr 30
 <tt class="wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</tt>
3274 reyssat 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
35
 rights to read the document.
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
3930 bpr 42
 !mailurl $wims_site_manager webmaster\
3274 reyssat 43
Ask to open WIMS document $doc
3922 bpr 44
 to put the document visible by the public.
3274 reyssat 45
 
46
!exit
47
 
48
:erase1
3930 bpr 49
 For security reasons, only webmasters can erase public documents.
3274 reyssat 50
 <p>
51
 Please
3930 bpr 52
 !mailurl $wims_site_manager ask the webmaster
3274 reyssat 53
 to erase this document for you.
54
 
55
!exit
56
 
57
:erase2
4008 bpr 58
<span class="wims_warning">ATTENTION!!</span> An erased document cannot be recovered!
3274 reyssat 59
<p>
3422 bpr 60
Are you sure you want to erase the document <font color="red"><b>$tit</b></font>?
3274 reyssat 61
 
62
!exit
63
:public
64
 
65
<b>Remark</b>. You must ask the approval of the
3930 bpr 66
 !mailurl $wims_site_manager webmaster\
3274 reyssat 67
Ask to open WIMS document $doc
68
 to make the document accessible by le public.
69
 
70
!exit