Subversion Repositories wimsdev

Rev

Rev 5734 | Rev 5901 | 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
5832 bpr 15
 </p>
2266 bpr 16
 !form reply
5734 bpr 17
 <input type="hidden" name="job2" value="erase"/>
2266 bpr 18
 Erase a file:
19
 !formselect job2 list $flist
5734 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>
5832 bpr 24
in the document. For example,
25
</p>
26
<p class="wimscenter">
4385 bpr 27
 <tt class="wims_address">&lt;a href="\filedir/$f1"&gt;$f1&lt;/a&gt;</tt>
5832 bpr 28
</p>
3618 bpr 29
 gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>.
2266 bpr 30
 Also, you can write
5832 bpr 31
<p class="wimscenter">
4008 bpr 32
 <tt class="wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</tt>
5832 bpr 33
</p><p>
4385 bpr 34
to include an image file <tt class="wims_fname">myfile.jpg</tt> in the page.
2266 bpr 35
 Files deposited to this document are only accessible by people having
3145 bpr 36
 rights to read the document.
2266 bpr 37
 
5832 bpr 38
</p><p>
4385 bpr 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
5832 bpr 41
<p class="wimscenter">
4385 bpr 42
<tt class="wims_code_words">\href{$f1}</tt> ou <tt class="wims_code_words">\href{$f1}{lien}</tt>.
5832 bpr 43
</p>
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