Rev 3425 | Rev 9421 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3425 | obado | 1 | #! /bin/sh |
2 | |||
3 | cd $w_wims_home/$w_wims_sesdir || exit |
||
4 | if [ -s submit.oef ] && [ ! -f user-deposit ]; then |
||
5 | src=submit.oef |
||
6 | else |
||
7 | src=user-deposit |
||
8 | fi |
||
9 | content=`sed 's/\&/\&/g;s/</\</g' 2>/dev/null <$src` |
||
10 | cat <<@ |
||
8646 | bpr | 11 | <textarea rows="24" class="nowrap" |
3425 | obado | 12 | name="wims_deposit" id="wims_deposit_id">$content</textarea> |
13 | @ |
||
14 | |||
15 | rm -f user-deposit >/dev/null |
||
16 |