Subversion Repositories wimsdev

Rev

Rev 4027 | Rev 5734 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4027 Rev 4385
Line 2... Line 2...
2
!if $wims_read_parm=$empty
2
!if $wims_read_parm=$empty
3
 !exit
3
 !exit
4
!endif
4
!endif
5
 
5
 
6
!goto $wims_read_parm
6
!goto $wims_read_parm
-
 
7
 
7
:file
8
:file
8
 
9
 
9
<p>Available files in this document:
10
<p>Available files in this document:
10
 !for f in $flist
11
 !for f in $flist
11
  !getfile doc/$f $f
12
  !getfile doc/$f $f
Line 17... Line 18...
17
 Erase a file:
18
 Erase a file:
18
 !formselect job2 list $flist
19
 !formselect job2 list $flist
19
 <input type="submit" value="$wims_name_erase">
20
 <input type="submit" value="$wims_name_erase">
20
 </form>
21
 </form>
21
 <p>
22
 <p>
22
 Files in the document can be accessed using the variable <tt>\filedir</tt>
23
 Files in the document can be accessed using the variable <tt class="wims_code_variable">\filedir</tt>
23
in the document. For example, 
24
in the document. For example, 
24
<p><center>
25
<p><center>
25
 <tt class="wims_address">&lt;a&nbsp;href="\filedir/$f1"&gt;$f1&lt;/a&gt;</tt>
26
 <tt class="wims_address">&lt;a href="\filedir/$f1"&gt;$f1&lt;/a&gt;</tt>
26
</center> <p>
27
</center> <p>
27
 gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>.
28
 gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>.
28
 Also, you can write
29
 Also, you can write
29
<p><center>
30
<p><center>
30
 <tt class="wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</tt>
31
 <tt class="wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</tt>
31
</center> <p>
32
</center> <p>
32
to include an image file <tt>myfile.jpg</tt> in the page.
33
to include an image file <tt class="wims_fname">myfile.jpg</tt> in the page.
33
 <p>
34
 <p>
34
 Files deposited to this document are only accessible by people having
35
 Files deposited to this document are only accessible by people having
35
 rights to read the document.
36
 rights to read the document.
36
 
37
 
-
 
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>
37
!exit
44
!exit
38
 
45
 
39
:readauth
46
:readauth
40
 If you are the author of the document, please remember that you need the
47
 If you are the author of the document, please remember that you need the
41
 authorization of the
48
 authorization of the
Line 53... Line 60...
53
 to erase this document for you.
60
 to erase this document for you.
54
 
61
 
55
!exit
62
!exit
56
 
63
 
57
:erase2
64
:erase2
58
<span class="wims_warning">ATTENTION !!</span> An erased document cannot be recovered!
65
<span class="wims_warning">ATTENTION</span>. An erased document cannot be recovered!
59
<p>
66
<p>
60
Are you sure you want to erase the document <tt class="wims_fname">$tit</tt>?
67
Are you sure you want to erase the document <tt class="wims_fname">$tit</tt>?
61
 
68
 
62
!exit
69
!exit
63
:public
70
:public