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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Mon, 21 May 2007 23:38:41 -0000


albertel		Mon May 21 19:38:41 2007 EDT

  Modified files:              
    /loncom/interface	londropadd.pm 
  Log:
  - fix css for exisitg user enroll table
  
  
Index: loncom/interface/londropadd.pm
diff -u loncom/interface/londropadd.pm:1.159 loncom/interface/londropadd.pm:1.160
--- loncom/interface/londropadd.pm:1.159	Tue Apr 17 14:28:44 2007
+++ loncom/interface/londropadd.pm	Mon May 21 19:38:40 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to drop and add students in courses 
 #
-# $Id: londropadd.pm,v 1.159 2007/04/17 18:28:44 www Exp $
+# $Id: londropadd.pm,v 1.160 2007/05/21 23:38:40 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -886,7 +886,8 @@
     my ($startform,$endform)=&setup_date_selectors($starttime,$endtime,$mode);
     my $dateDefault = '<nobr>'.
         '<label><input type="checkbox" name="makedatesdefault" /> '.
-        &mt('make these dates the default for future enrollment').'</label>';
+        &mt('make these dates the default for future enrollment').
+	'</label></nobr>';
     if ($mode eq 'create_enrolldates' || $mode eq 'create_defaultdates') {
         $dateDefault = '&nbsp;';
     }
@@ -1020,16 +1021,16 @@
 					   );
 	my $authhelp=&Apache::loncommon::help_open_topic('Auth_Options');
         $user_data_html = <<END;
-<h3>$lt{'udf'} $username\@$domain</h3>
+<h3>$lt{'udf'} $username:$domain</h3>
 <table>
 <tr><td class="LC_dropadd_labeltext"><label for="cfirst">$lt{'fn'}</label>:</td>
-    <td><input type="text" name="cfirst"  size="15"></td></tr>
+    <td><input type="text" name="cfirst"  size="15" /></td></tr>
 <tr><td class="LC_dropadd_labeltext"><label for="cmiddle">$lt{'mn'}</label>:</td>
-    <td><input type="text" name="cmiddle" size="15"></td></tr>
+    <td><input type="text" name="cmiddle" size="15" /></td></tr>
 <tr><td class="LC_dropadd_labeltext"><label for="clast">$lt{'ln'}</label>:</td>
-    <td><input type="text" name="clast"   size="15"></td></tr>
+    <td><input type="text" name="clast"   size="15" /></td></tr>
 <tr><td class="LC_dropadd_labeltext"><label for="cgen">$lt{'gen'}</label>:</td>
-    <td><input type="text" name="cgen"    size="5"> </td></tr>
+    <td><input type="text" name="cgen"    size="5"  /> </td></tr>
 <tr><td class="LC_dropadd_labeltext"><label for="lcserver">$lt{'hs'}</label>:</td>
     <td>$homeserver_form</td></tr>
 <tr><td class="LC_dropadd_labeltext"><label for="emailaddress">$lt{'mail'}</label>:</td>
@@ -1059,29 +1060,19 @@
                        'mail' => "Email Address",
 					   );
         $user_data_html = <<END;
-<h3>$lt{'udf'} $username\@$domain</h3>
+<h3>$lt{'udf'} $username:$domain</h3>
 <input type="hidden" name="lcserver" value="default" />
 <table>
 <tr><td class="LC_dropadd_labeltext"><label for="cfirst">$lt{'fn'}</label>:</td>
-    <td>
-    <input type="text" name="cfirst" value="$uenv{'firstname'}" size="15" />
-    </td></tr>
+    <td><input type="text" name="cfirst"  size="15" /></td></tr>
 <tr><td class="LC_dropadd_labeltext"><label for="cmiddle">$lt{'mn'}</label>:</td>
-    <td>
-    <input type="text" name="cmiddle" value="$uenv{'middlename'}" size="15" />
-    </td></tr>
+    <td><input type="text" name="cmiddle" size="15" /></td></tr>
 <tr><td class="LC_dropadd_labeltext"><label for="clast">$lt{'ln'}</label>:</td>
-    <td>
-    <input type="text" name="clast"value="$uenv{'lastname'}" size="15" />
-    </td></tr>
-<tr><td><label for="cgen">$lt{'gen'}</label>:</td>
-    <td class="LC_dropadd_labeltext">
-    <input type="text" name="cgen" value="$uenv{'generation'}" size="5" />
-    </td></tr>
-<tr><td><label for="emailaddress">$lt{'mail'}</label>:</td>
-    <td>
-    <input type="text" name="emailaddress" value="$uenv{'permanentemail'}" size="20" />
-    </td></tr>
+    <td><input type="text" name="clast"   size="15" /></td></tr>
+<tr><td class="LC_dropadd_labeltext"><label for="cgen">$lt{'gen'}</label>:</td>
+    <td><input type="text" name="cgen"    size="5"  /> </td></tr>
+<tr><td class="LC_dropadd_labeltext"><label for="emailaddress">$lt{'mail'}</label>:</td>
+    <td><input type="text" name="emailaddress" size="20" /></td></tr>
 </table>
 END
     }
@@ -1144,19 +1135,18 @@
 <h3>$lt{'cd'}</h3>
 
 <p><label for="csec">$lt{'gs'}</label>: <input type="text" name="csec" size="5" />
-<p>
-$date_table
 </p>
+$date_table
 <h3>$lt{'idsn'}</h3>
 <p>
-<label for="cstid">$lt{'idsn'}</label>: <input type="text" name="cstid" size="10">
+<label for="cstid">$lt{'idsn'}</label>: <input type="text" name="cstid" size="10" />
 </p><p>
 <label>
-<input type="checkbox" name="forceid" value="yes"> 
+<input type="checkbox" name="forceid" value="yes" /> 
 $lt{'disn'}
 </label>
 </p><p>
-<input type="button" onClick="verify(this.form,this.form.csec)" value="$lt{'eas'}">
+<input type="button" onClick="verify(this.form,this.form.csec)" value="$lt{'eas'}" />
 </p>
 END
     return;
@@ -1710,14 +1700,14 @@
 <input type="text" name="generation" value="$info{'generation'}" /></td></tr>
 </table>
 </p><p>
-<b>$lt{'sid'}</b>: <input type="text" name="id" value="$info{'id'}" size="12"/>
+<b>$lt{'sid'}</b>: <input type="text" name="id" value="$info{'id'}" size="12" />
 </p><p>
 <label>
-<input type="checkbox" name="forceid" > 
+<input type="checkbox" name="forceid" /> 
 $lt{'disn'}
 </label>
 </p><p>
-<b>$lt{'sec'}</b>: <input type="text" name="section" value="$section" size="14"/>
+<b>$lt{'sec'}</b>: <input type="text" name="section" value="$section" size="14" />
 </p>
 <p>$current_date_description</p>
 <p>$date_table</p>