[Aimmath-commit] moodle/mod/math_assignment texedit.php,1.2,1.3
Brought to you by:
gustav_delius,
npstrick
|
From: <gus...@us...> - 2003-09-25 23:00:59
|
Update of /cvsroot/aimmath/moodle/mod/math_assignment
In directory sc8-pr-cvs1:/tmp/cvs-serv18370/mod/math_assignment
Modified Files:
texedit.php
Log Message:
use ordinary textfield to avoid slash problem
Index: texedit.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/texedit.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** texedit.php 24 Sep 2003 11:56:10 -0000 1.2
--- texedit.php 25 Sep 2003 23:00:56 -0000 1.3
***************
*** 50,54 ****
echo " <INPUT TYPE=hidden NAME=\"file\" VALUE=\"$file\">";
echo " <INPUT TYPE=hidden NAME=\"action\" VALUE=\"edit\">";
! print_textarea(false, 25, 80, 680, 400, "text", $contents);
echo "</TD></TR><TR><TD align=\"center\">";
echo " <INPUT TYPE=submit VALUE=\"".get_string("savechanges")."\">";
--- 50,54 ----
echo " <INPUT TYPE=hidden NAME=\"file\" VALUE=\"$file\">";
echo " <INPUT TYPE=hidden NAME=\"action\" VALUE=\"edit\">";
! echo " <textarea cols=\"80\" rows=\"25\" wrap=\"off\" name=\"text\">$contents</textarea>";
echo "</TD></TR><TR><TD align=\"center\">";
echo " <INPUT TYPE=submit VALUE=\"".get_string("savechanges")."\">";
|