[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Thu, 01 Nov 2007 14:05:28 -0000


bisitz		Thu Nov  1 10:05:28 2007 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Changed type of input fields for initial passwords from text to password.
  There are always too many people around who can see what the DC types.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.604 loncom/interface/loncommon.pm:1.605
--- loncom/interface/loncommon.pm:1.604	Wed Oct 31 14:01:47 2007
+++ loncom/interface/loncommon.pm	Thu Nov  1 10:05:26 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.604 2007/10/31 18:01:47 albertel Exp $
+# $Id: loncommon.pm,v 1.605 2007/11/01 14:05:26 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2049,7 +2049,7 @@
         $authtype = '<input type="radio" name="login" value="int" '.$intcheck.
                     ' onchange="'.$jscall.'" onclick="'.$jscall.'" />';
     }
-    $autharg = '<input type="text" size="10" name="intarg" value="'.
+    $autharg = '<input type="password" size="10" name="intarg" value="'.
                $intarg.'" onchange="'.$jscall.'" />';
     $result = &mt
         ('[_1] Internally authenticated (with initial password [_2])',
@@ -2151,7 +2151,7 @@
         ('[_1] Filesystem Authenticated (with initial password [_2])',
          '<label><input type="radio" name="login" value="fsys" '.
          $fsyscheck.'onchange="'.$jscall.'" onclick="'.$jscall.'" />',
-         '</label><input type="text" size="10" name="fsysarg" value="" '.
+         '</label><input type="password" size="10" name="fsysarg" value="" '.
                   'onchange="'.$jscall.'" />');
     return $result;
 }