Subversion Repositories wimsdev

Rev

Rev 4008 | Rev 4385 | 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
  &nbsp;
13
 !next f
14
 <p>
15
 !form reply
4008 bpr 16
 <input type="hidden" name="job2" value="erase">
2266 bpr 17
 Erase a file:
18
 !formselect job2 list $flist
4008 bpr 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>
4008 bpr 25
 <tt class="wims_address">&lt;a&nbsp;href="\filedir/$f1"&gt;$f1&lt;/a&gt;</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>
4008 bpr 30
 <tt class="wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</tt>
2266 bpr 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
3930 bpr 42
 !mailurl $wims_site_manager webmaster\
2266 bpr 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
3930 bpr 49
 For security reasons, only webmasters can erase public documents.
2285 bpr 50
 <p>
51
 Please
3930 bpr 52
 !mailurl $wims_site_manager ask the webmaster
2285 bpr 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!
2285 bpr 59
<p>
4027 bpr 60
Are you sure you want to erase the document <tt class="wims_fname">$tit</tt>?
2285 bpr 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\
2285 bpr 67
Ask to open WIMS document $doc
68
 to make the document accessible by le public.
69
 
70
!exit