Subversion Repositories wimsdev

Rev

Rev 4027 | Rev 5734 | 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
4385 bpr 7
 
2266 bpr 8
:file
9
 
10
<p>Available files in this document:
11
 !for f in $flist
12
  !getfile doc/$f $f
13
  &nbsp;
14
 !next f
15
 <p>
16
 !form reply
4008 bpr 17
 <input type="hidden" name="job2" value="erase">
2266 bpr 18
 Erase a file:
19
 !formselect job2 list $flist
4008 bpr 20
 <input type="submit" value="$wims_name_erase">
2266 bpr 21
 </form>
22
 <p>
4385 bpr 23
 Files in the document can be accessed using the variable <tt class="wims_code_variable">\filedir</tt>
2266 bpr 24
in the document. For example, 
25
<p><center>
4385 bpr 26
 <tt class="wims_address">&lt;a href="\filedir/$f1"&gt;$f1&lt;/a&gt;</tt>
2266 bpr 27
</center> <p>
3618 bpr 28
 gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>.
2266 bpr 29
 Also, you can write
30
<p><center>
4008 bpr 31
 <tt class="wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</tt>
2266 bpr 32
</center> <p>
4385 bpr 33
to include an image file <tt class="wims_fname">myfile.jpg</tt> in the page.
2266 bpr 34
 <p>
35
 Files deposited to this document are only accessible by people having
3145 bpr 36
 rights to read the document.
2266 bpr 37
 
4385 bpr 38
<p>
39
Une nouvelle commande <tt class="wims_code_words">\href{}{}</tt> est en test. 
40
Pour obtenir un lien sur le fichier, il suffit alors d'écrire
41
<center>
42
<tt class="wims_code_words">\href{$f1}</tt> ou <tt class="wims_code_words">\href{$f1}{lien}</tt>.
43
</center>
2266 bpr 44
!exit
45
 
46
:readauth
47
 If you are the author of the document, please remember that you need the
48
 authorization of the
3930 bpr 49
 !mailurl $wims_site_manager webmaster\
2266 bpr 50
Ask to open WIMS document $doc
3922 bpr 51
 to put the document visible by the public.
2285 bpr 52
 
53
!exit
54
 
55
:erase1
3930 bpr 56
 For security reasons, only webmasters can erase public documents.
2285 bpr 57
 <p>
58
 Please
3930 bpr 59
 !mailurl $wims_site_manager ask the webmaster
2285 bpr 60
 to erase this document for you.
61
 
62
!exit
63
 
64
:erase2
4385 bpr 65
<span class="wims_warning">ATTENTION</span>. An erased document cannot be recovered!
2285 bpr 66
<p>
4027 bpr 67
Are you sure you want to erase the document <tt class="wims_fname">$tit</tt>?
2285 bpr 68
 
69
!exit
70
:public
71
 
72
<b>Remark</b>. You must ask the approval of the
3930 bpr 73
 !mailurl $wims_site_manager webmaster\
2285 bpr 74
Ask to open WIMS document $doc
75
 to make the document accessible by le public.
76
 
77
!exit