version 1.37, 2006/04/25 15:43:02
|
version 1.42, 2007/02/24 02:04:20
|
Line 529 function draw() {
|
Line 529 function draw() {
|
} |
} |
|
|
if (ptype=='string') { |
if (ptype=='string') { |
if (pscat=='default') { |
if ((pscat=='any') || (pscat=='') || (pscat=='default') || |
tablestart('Default value or none'); |
(typeof(pscat)=='undefined')) { |
choicewrite('</table>'); |
|
} else { |
|
if ((pscat=='any') || (pscat=='') || (typeof(pscat)=='undefined')) { |
|
tablestart('Text'); |
tablestart('Text'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>'); |
choicewrite('<input name="stringval" size="20" value="'+svalue+ |
choicewrite('<input name="stringval" size="20" value="'+svalue+ |
Line 634 function draw() {
|
Line 631 function draw() {
|
' type="radio" '+callradiostringeval('resource')); |
' type="radio" '+callradiostringeval('resource')); |
if (svalue=='resource') { choicewrite(' checked'); } |
if (svalue=='resource') { choicewrite(' checked'); } |
choicewrite('> Yes, and the scope of student selected slot is a single resource.</label><br />'); |
choicewrite('> Yes, and the scope of student selected slot is a single resource.</label><br />'); |
choicewrite('<label><input name="stringval" value="sequence"'+ |
choicewrite('<label><input name="stringval" value="map"'+ |
' type="radio" '+callradiostringeval('sequence')); |
' type="radio" '+callradiostringeval('map')); |
if (svalue=='sequence') { choicewrite(' checked'); } |
if (svalue=='map') { choicewrite(' checked'); } |
choicewrite('> Yes, and the scope of student selected slot is the enclosing map/folder.</label><br />'); |
choicewrite('> Yes, and the scope of student selected slot is the enclosing map/folder. When checking in, it applies to only one resource.</label><br />'); |
} |
choicewrite('<label><input name="stringval" value="map_map"'+ |
|
' type="radio" '+callradiostringeval('map_map')); |
|
if (svalue=='map_map') { choicewrite(' checked'); } |
|
choicewrite('> Yes, and the scope of student selected slot is the enclosing map/folder. When checking in, all resources in the map/folder are checked in..</label><br />'); |
choicewrite('</td></table>'); |
choicewrite('</td></table>'); |
} |
} |
} |
} |
Line 662 function draw() {
|
Line 662 function draw() {
|
choicewrite('</table></td></table>'); |
choicewrite('</table></td></table>'); |
} |
} |
|
|
choicewrite('</table></form>'); |
choicewrite('</form>'); |
choiceend(); |
choiceend(); |
} |
} |
|
|
Line 682 function catchange() {
|
Line 682 function catchange() {
|
|
|
function assemble() { |
function assemble() { |
if ((ptype=='date') && (pscat!='interval')) { |
if ((ptype=='date') && (pscat!='interval')) { |
svalue=Math.round(cdate.getTime()/1000); |
svalue=Math.floor(cdate.getTime()/1000); |
} |
} |
if (ptype=='tolerance') { |
if (ptype=='tolerance') { |
if (pscat=='relative_sym') { |
if (pscat=='relative_sym') { |