Subversion Repositories wimsdev

Rev

Rev 17231 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17231 Rev 17281
Line 10... Line 10...
10
<div>
10
<div>
11
  Available files in this document:
11
  Available files in this document:
12
  <ul class="inline">
12
  <ul class="inline">
13
  !for f in $flist
13
  !for f in $flist
14
    <li>
14
    <li>
15
      !set wims_ref_class=text_icon file
-
 
16
      !set wims_getfile_fname=$f
15
      !set wims_getfile_fname=$f
-
 
16
      !set wims_ref_class=text_icon file
17
      !getfile doc/$f $f
17
      !getfile doc/$f $f
18
    </li>
18
    </li>
19
  !next f
19
  !next f
20
  </ul>
20
  </ul>
21
</div>
21
</div>
22
 
22
 
23
!form reply
23
!form reply
24
  <input type="hidden" name="job2" value="erase">
24
<input type="hidden" name="job2" value="erase">
-
 
25
<fieldset>
25
  <label for="job2">Erase a file:</label>
26
  <legend>Erase a file:</legend>
26
  !formselect job2 list $flist
27
  !formselect job2 list $flist
27
  <input type="submit" value="$wims_name_erase">
28
  <input type="submit" class="wims_warning" value="$wims_name_erase">
-
 
29
  </fieldset>
28
!formend
30
!formend
29
 
31
 
30
<p>
32
<p>
31
  Files in the document can be accessed using the variable <span class="tt wims_code_variable">\filedir</span>
33
  Files in the document can be accessed using the variable <span class="tt wims_code_variable">\filedir</span>
32
  in the document. For example,
34
  in the document. For example,
33
</p>
35
</p><p>
34
<p class="wimscenter">
36
  For example
35
  <code class="wims_address">&lt;a href="\filedir/$f1" download="$f1"&gt;$f1&lt;/a&gt;</code>
37
  <code class="wims_address">&lt;a href="\filedir/$f1" download="$f1"&gt;$f1&lt;/a&gt;</code>
-
 
38
  gives a link to the file
-
 
39
  <a href="$m_filedir/$f1" download="$f1">$f1</a>.
36
</p>
40
</p><p>
37
  gives a link to the file <a href="$m_filedir/$f1" alt="$f1">$f1</a>.
-
 
38
  Also, you can write
41
  Also, you can write
39
<p class="wimscenter">
-
 
40
  <span class="tt wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</span>
42
  <code class="wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</code>
41
</p><p>
43
</p><p>
42
  to include an image file <span class="tt wims_fname">myfile.jpg</span> in the page.
44
  to include an image file <span class="tt wims_fname">myfile.jpg</span> in the page.
43
  Files deposited to this document are only accessible by people having
45
  Files deposited to this document are only accessible by people having
44
  rights to read the document.
46
  rights to read the document.
45
</p>
47
</p>
Line 56... Line 58...
56
 If you are the author of the document, please remember that you need the
58
 If you are the author of the document, please remember that you need the
57
 authorization of the
59
 authorization of the
58
 !mailurl $wims_site_manager webmaster\
60
 !mailurl $wims_site_manager webmaster\
59
Ask to open WIMS document $doc
61
Ask to open WIMS document $doc
60
 to put the document visible by the public.
62
 to put the document visible by the public.
61
 
-
 
62
!exit
63
!exit
63
 
64
 
64
:erase1
65
:erase1
65
 For security reasons, only webmasters can erase public documents.
66
For security reasons, only webmasters can erase public documents.
66
 <p>
67
<p>
67
  Please
68
  Please
68
  !mailurl $wims_site_manager ask the webmaster
69
  !mailurl $wims_site_manager ask the webmaster
69
  to erase this document for you.
70
  to erase this document for you.
70
 </p>
71
</p>
71
!exit
72
!exit
72
 
73
 
73
:erase2
74
:erase2
74
<span class="wims_warning">ATTENTION</span>. An erased document cannot be recovered!
75
<div class="wims_msg warning"><span class="wims_warning">ATTENTION</span>.
-
 
76
An erased document cannot be recovered!</div>
75
<p>
77
<p>
76
Are you sure you want to erase the content of the document <span class="tt wims_fname">$tit</span>?
78
Are you sure you want to erase the content of the document <span class="tt wims_fname">$tit</span>?
77
</p>
79
</p>
78
!exit
80
!exit
79
 
81