|Links to HEAD:||(view) (download) (as text) (annotate)|
Problem Editor now creates a temporary file to edit ( adding .tmp to the file name) Refresh causes a redirect to the Problem.pm with a GET command. Some of the arguments are unnecessary and need to be cleaned up. The seed and display mode in the problem editor are not properly initialized from the problem set. Problem.pm has been modified to check for these arguments and to read the temporary source file, seed and displayMode. These are passed through to a PG.pm object. PG also needed to be modified so that the source_file and seed values are overridden
The problem editor will now edit existing problems in place. You invoke it with http://webwork3.math.rochester.edu:1102/webwork/mth143/instructor/pgProblemEditor/0/2/ and it will edit problem 2 in set 0. It can't edit files directly or create new files. The problems are CHANGED!!! there is no editing in a temporary file-- the problems are changed at every step. BEWARE --Mike
The script now reads takes the form data in problemContents and displays it in a textarea form. If there is no problemContents it reads from the file in template directory. The script is called with .../instructor/pgProblemEditor/set10/prob1 I'm using the current convention for labeling files in the template directory. Using '10' for set10 will not work right at the moment. .pg and the course template directory are combined with the path components to determine the path to the file. It remains to add the rest of the editing buttons and provide a method for saving to the template file. -- Mike
Stub for PGProblemEditor which edits a .pg file -- Mike
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|aubreyja at gmail dot com||ViewVC Help|
|Powered by ViewVC 1.0.9|