[LON-CAPA-cvs] cvs: rat /client parameter.html

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 20 Jun 2005 19:52:53 -0000


albertel		Mon Jun 20 15:52:53 2005 EDT

  Modified files:              
    /rat/client	parameter.html 
  Log:
  <label>
  
  
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.31 rat/client/parameter.html:1.32
--- rat/client/parameter.html:1.31	Mon Jun 13 22:33:18 2005
+++ rat/client/parameter.html	Mon Jun 20 15:52:51 2005
@@ -3,7 +3,7 @@
 The LearningOnline Network with CAPA
 Parameter Input Window
 //
-// $Id: parameter.html,v 1.31 2005/06/14 02:33:18 www Exp $
+// $Id: parameter.html,v 1.32 2005/06/20 19:52:51 albertel Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -541,58 +541,58 @@
         if (pscat=='yesno') {
            tablestart('Yes/No');
 	   choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>');
-           choicewrite('<input name="stringval" value="yes"'+
+           choicewrite('<label><input name="stringval" value="yes"'+
                   ' type="radio" '+callradiostringeval('yes'));
            if (svalue=='yes') { choicewrite(' checked'); }
-           choicewrite('> Yes<br />');
-           choicewrite('<input name="stringval" value="no"'+
+           choicewrite('> Yes</label><br />');
+           choicewrite('<label><input name="stringval" value="no"'+
                   ' type="radio" '+callradiostringeval('no'));
            if (svalue=='no') { choicewrite(' checked'); }
-           choicewrite('> No<br />');
+           choicewrite('> No</label><br />');
         }
         if (pscat=='examtype') {
            tablestart('Exam Type');
 	   choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>');
-           choicewrite('<input name="stringval" value="online"'+
+           choicewrite('<label><input name="stringval" value="online"'+
                 ' type="radio" '+callradiostringeval('online'));
            if (svalue=='online') { choicewrite(' checked'); }
-           choicewrite('> Online<br />');
-           choicewrite('<input name="stringval" value="checkout"'+
+           choicewrite('> Online</label><br />');
+           choicewrite('<label><input name="stringval" value="checkout"'+
               ' type="radio" '+callradiostringeval('checkout'));
            if (svalue=='checkout') { choicewrite(' checked'); }
-           choicewrite('> Check out<br />');
+           choicewrite('> Check out</label><br />');
        }
         if (pscat=='questiontype') {
            tablestart('Question Type');
 	   choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>');
-           choicewrite('<input name="stringval" value="problem"'+
+           choicewrite('<label><input name="stringval" value="problem"'+
                ' type="radio" '+callradiostringeval('problem'));
            if (svalue=='problem') { choicewrite(' checked'); }
-           choicewrite('> Standard Problem<br />');
-           choicewrite('<input name="stringval" value="quiz"'+
+           choicewrite('> Standard Problem</label><br />');
+           choicewrite('<label><input name="stringval" value="quiz"'+
                   ' type="radio" '+callradiostringeval('quiz'));
            if (svalue=='quiz') { choicewrite(' checked'); }
-           choicewrite('> Quiz<br />');
-           choicewrite('<input name="stringval" value="exam"'+
+           choicewrite('> Quiz</label><br />');
+           choicewrite('<label><input name="stringval" value="exam"'+
                   ' type="radio" '+callradiostringeval('exam'));
            if (svalue=='exam') { choicewrite(' checked'); }
-           choicewrite('> Exam<br />');
-           choicewrite('<input name="stringval" value="assess"'+
+           choicewrite('> Exam</label><br />');
+           choicewrite('<label><input name="stringval" value="assess"'+
                 ' type="radio" '+callradiostringeval('assess'));
            if (svalue=='assess') { choicewrite(' checked'); }
-           choicewrite('> Assessment<br />');
-           choicewrite('<input name="stringval" value="survey"'+
+           choicewrite('> Assessment</label><br />');
+           choicewrite('<label><input name="stringval" value="survey"'+
                 ' type="radio" '+callradiostringeval('survey'));
            if (svalue=='survey') { choicewrite(' checked'); }
-           choicewrite('> Survey<br />');
-           choicewrite('<input name="stringval" value="form"'+
+           choicewrite('> Survey</label><br />');
+           choicewrite('<label><input name="stringval" value="form"'+
                   ' type="radio" '+callradiostringeval('form'));
            if (svalue=='form') { choicewrite(' checked'); }
-           choicewrite('> Input Form<br />');
-           choicewrite('<input name="stringval" value="library"'+
+           choicewrite('> Input Form</label><br />');
+           choicewrite('<label><input name="stringval" value="library"'+
                ' type="radio" '+callradiostringeval('library'));
            if (svalue=='library') { choicewrite(' checked'); }
-           choicewrite('> Library<br />');
+           choicewrite('> Library</label><br />');
         }
         if (pscat=='ip') {
            tablestart('IP Number/Name');
@@ -603,18 +603,18 @@
         if (pscat=='fileext') {
             tablestart('Allowed File Extensions');
 	   choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>');
-           choicewrite('<input name="radstringval" value="txt"'+
+           choicewrite('<label><input name="radstringval" value="txt"'+
                ' type="radio" '+callradiostringeval('txt'));
            if (svalue=='txt') { choicewrite(' checked'); }
-           choicewrite('> Plain Text<br />');
-           choicewrite('<input name="radstringval" value="png,jpg,jpeg,gif"'+
+           choicewrite('> Plain Text</label><br />');
+           choicewrite('<label><input name="radstringval" value="png,jpg,jpeg,gif"'+
                ' type="radio" '+callradiostringeval('png,jpg,jpeg,gif'));
            if (svalue=='png,jpg,jpeg,gif') { choicewrite(' checked'); }
-           choicewrite('> Picture File<br />');
-           choicewrite('<input name="radstringval" value="doc,xls,ppt"'+
+           choicewrite('> Picture File</label><br />');
+           choicewrite('<label><input name="radstringval" value="doc,xls,ppt"'+
                ' type="radio" '+callradiostringeval('doc,xls,ppt'));
            if (svalue=='doc,xls,ppt') { choicewrite(' checked'); }
-           choicewrite('> Office Document<br />');
+           choicewrite('> Office Document</label><br />');
            choicewrite('<input name="stringval" size="20" value="'+svalue+
                     '" onChange="parent.stringeval()">');
        }