Diff for /rat/client/parameter.html between versions 1.38 and 1.42

version 1.38, 2006/05/12 01:20:18 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 637  function draw() { Line 634  function draw() {
            choicewrite('<label><input name="stringval" value="map"'+             choicewrite('<label><input name="stringval" value="map"'+
                   ' type="radio" '+callradiostringeval('map'));                    ' type="radio" '+callradiostringeval('map'));
            if (svalue=='map') { 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') {

Removed from v.1.38  
changed lines
  Added in v.1.42


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>