Subversion Repositories wimsdev

Rev

Rev 8643 | Rev 10236 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
1704 bpr 2
$wims_name_edfile
3999 bpr 3
<span class="wims_fname">$fname</span>
1704 bpr 4
$name_in_module
3999 bpr 5
<span class="wims_mod_title">$title</span>:
23 reyssat 6
 
7
!if $makeerror!=$empty
6235 bpr 8
<hr />
23 reyssat 9
<pre>
10
$makeerror
11
</pre>
6235 bpr 12
<hr />
23 reyssat 13
!endif
14
 
15
!form reply
6223 bpr 16
<input type="hidden" name="fname" value="$fname" />
23 reyssat 17
 
5832 bpr 18
<div class="wimscenter">
23 reyssat 19
!sh content=`cat $devdir/$mod/$fname | sed 's/\&/\&amp;/g;s/</\&lt;/g'`\
20
 cat <<@\
9421 bpr 21
<textarea id="wims_deposit" class="nowrap" name="wims_deposit" cols="70" rows="10">$$content\
23 reyssat 22
</textarea>\
23
@
53 guerimand 24
 
3250 bpr 25
 
23 reyssat 26
<p>
8056 obado 27
    <input type="submit" name="register" value="$wims_name_tosave" />
28
    &nbsp;
29
    <input type="submit" name="abandon" value="$wims_name_giveup" class="wims_secondary_button" />
5832 bpr 30
</p>
31
</div>
5925 bpr 32
!formend
1045 bpr 33
 
23 reyssat 34
!set wims_form_method=file
35
!form reply
8056 obado 36
    <input type="hidden" name="fname" value="$fname" />
37
    <input type="hidden" name="register" value="file_mode" />
38
    <input type="submit" value="$wims_name_send" />
39
    $name_replace:
40
    <input type="file" name="wims_deposit" />
5925 bpr 41
!formend