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