Subversion Repositories wimsdev

Rev

Rev 13752 | Rev 14944 | 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
 
2282 bpr 6
!goto $wims_read_parm
4264 czzmrn 7
 
2282 bpr 8
:file
9
 
14940 bpr 10
<div>
11
  File disponibili in questo documento:
12
  <ul class="inline">
13
  !for f in $flist
14
    <li class="text_icon file">
15
      !set wims_getfile_fname=$f
16
      !getfile doc/$f $f
17
    </li>
18
  !next f
19
  </ul>
20
</div>
21
 
22
!form reply
6235 bpr 23
 <input type="hidden" name="job2" value="erase" />
2282 bpr 24
 Cancella un file:
25
 !formselect job2 list $flist
6235 bpr 26
 <input type="submit" value="$wims_name_erase" />
5928 bpr 27
 
28
 !formend
2282 bpr 29
 <p>
13665 bpr 30
 I file legati al documento possono essere resi visibili tramite la
5901 bpr 31
 variabile <span class="tt wims_code_variable">\filedir</span>. Per esempio il comando
7610 czzmrn 32
</p>
33
<p class="wimscenter">
14940 bpr 34
 <span class="tt wims_address">&lt;a href="\filedir/$f1" target="wims_external" download="$f1"&gt;$f1&lt;/a&gt;</span>
5832 bpr 35
</p><p>
2282 bpr 36
 (<b>copiate questo testo dopo aver caricato il file</b>)
37
 inserisce un link al file <a href="$m_filedir/$f1">$f1</a>.
7610 czzmrn 38
 
39
 È anche possibile scrivere
5832 bpr 40
</p><p class="wimscenter">
5901 bpr 41
 <span class="tt wims_address">&lt;img src="\filedir/myfile.jpg" alt="myfile"&gt;</span>
7610 czzmrn 42
</p><p>
5901 bpr 43
per inserire nella pagina l'immagine contenuta nel file <span class="tt wims_fname">myfile.jpg</span>.
13665 bpr 44
 I file inseriti in questo documento sono visibili solo da chi
10666 czzmrn 45
 può accedere al documento.
2283 bpr 46
 
5832 bpr 47
</p><p>
5901 bpr 48
Un nuovo comando <span class="tt wims_code_words">\href{}{}</span> è in fase di test.
4461 czzmrn 49
Per ottenere un link verso il file è sufficiente scrivere
5832 bpr 50
</p><p class="wimscenter">
5901 bpr 51
<span class="tt wims_code_words">\href{$f1}</span> o <span class="tt wims_code_words">\href{$f1}{testo}</span>.
5832 bpr 52
</p>
2282 bpr 53
!exit
54
 
55
:readauth
10666 czzmrn 56
Se sei l'autore del documento, ricorda che è necessario chiedere
13665 bpr 57
 autorizzazione al
2282 bpr 58
 !mailurl $wims_site_manager <em>Site manager</em>\
59
Richiesta di pubblicare il documento WIMS $doc
60
 per rendere il documento accessibile a tutti.
7610 czzmrn 61
!exit
2283 bpr 62
 
2282 bpr 63
:erase1
10666 czzmrn 64
  Per ragioni di sicurezza, solo il <em>Site manager</em> può
2282 bpr 65
 cancellare documenti pubblici.
66
 <p>
13665 bpr 67
 Puoi
7610 czzmrn 68
 !mailurl $wims_site_manager chiedere direttamente al webmaster
2282 bpr 69
 di cancellare il documento.
5972 bpr 70
 </p>
2282 bpr 71
!exit
4264 czzmrn 72
 
2282 bpr 73
:erase2
4461 czzmrn 74
<span class="wims_warning">ATTENZIONE</span>. Un documento cancellato non può
2282 bpr 75
 più essere recuperato!
76
<p>
5901 bpr 77
Sei sicuro di voler cancellare il documento <span class="tt wims_fname">$tit</span>?
5972 bpr 78
</p>
2282 bpr 79
!exit
80
 
81
:public
82
 
13665 bpr 83
<b>NOTA</b>. È necessario chiedere autorizzazione al
7610 czzmrn 84
 !mailurl $wims_site_manager webmaster\
2282 bpr 85
Richiesta di pubblicare il documento WIMS $doc
2283 bpr 86
 per rendere il documento accessibile a tutti.
87
 
13665 bpr 88
!exit