Subversion Repositories wimsdev

Rev

Rev 8646 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  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/\&/\&amp;/g;s/</\&lt;/g' 2>/dev/null <$src`
  10. cat <<@
  11. <textarea cols="70" rows="24" class="nowrap"
  12. name="wims_deposit" id="wims_deposit_id">$content</textarea>
  13. @
  14.  
  15. rm -f user-deposit >/dev/null
  16.  
  17.