Subversion Repositories wimsdev

Rev

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

Rev 3930 Rev 4008
Line 11... Line 11...
11
  !getfile doc/$f $f
11
  !getfile doc/$f $f
12
   
12
   
13
 !next f
13
 !next f
14
 <p>
14
 <p>
15
 !form reply
15
 !form reply
16
 <input type=hidden name="job2" value=erase>
16
 <input type="hidden" name="job2" value="erase">
17
 Erase a file:
17
 Erase a file:
18
 !formselect job2 list $flist
18
 !formselect job2 list $flist
19
 <input type=submit value="$wims_name_erase">
19
 <input type="submit" value="$wims_name_erase">
20
 </form>
20
 </form>
21
 <p>
21
 <p>
22
 Files in the document can be accessed using the variable <tt>\filedir</tt>
22
 Files in the document can be accessed using the variable <tt>\filedir</tt>
23
in the document. For example, 
23
in the document. For example, 
24
<p><center>
24
<p><center>
25
 <tt>&lt;a&nbsp;href="\filedir/$f1"&gt;$f1&lt;/a&gt;</tt>
25
 <tt class="wims_address">&lt;a&nbsp;href="\filedir/$f1"&gt;$f1&lt;/a&gt;</tt>
26
</center> <p>
26
</center> <p>
27
 gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>.
27
 gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>.
28
 Also, you can write
28
 Also, you can write
29
<p><center>
29
<p><center>
30
 <tt>&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</tt>
30
 <tt class="wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</tt>
31
</center> <p>
31
</center> <p>
32
to include an image file <tt>myfile.jpg</tt> in the page.
32
to include an image file <tt>myfile.jpg</tt> in the page.
33
 <p>
33
 <p>
34
 Files deposited to this document are only accessible by people having
34
 Files deposited to this document are only accessible by people having
35
 rights to read the document.
35
 rights to read the document.
Line 53... Line 53...
53
 to erase this document for you.
53
 to erase this document for you.
54
 
54
 
55
!exit
55
!exit
56
 
56
 
57
:erase2
57
:erase2
58
<font color="red"><b>ATTENTION</b>!!</font> An erased document cannot be recovered!
58
<span class="wims_warning">ATTENTION !!</span> An erased document cannot be recovered!
59
<p>
59
<p>
60
Are you sure you want to erase the document <font color="red"><b>$tit</b></font>?
60
Are you sure you want to erase the document <font color="red"><b>$tit</b></font>?
61
 
61
 
62
!exit
62
!exit
63
:public
63
:public