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

schafran schafran@source.lon-capa.org
Thu, 19 Feb 2009 22:11:53 -0000


schafran		Thu Feb 19 22:11:53 2009 EDT

  Modified files:              
    /loncom/interface	lonmanagekeys.pm 
  Log:
  visual-ergo improvement.
  the links "select user" or "select course" should be close to the right of the corresponding input field
  and not somewhere on the page.
  
  
  
Index: loncom/interface/lonmanagekeys.pm
diff -u loncom/interface/lonmanagekeys.pm:1.22 loncom/interface/lonmanagekeys.pm:1.23
--- loncom/interface/lonmanagekeys.pm:1.22	Wed Jun 20 23:15:15 2007
+++ loncom/interface/lonmanagekeys.pm	Thu Feb 19 22:11:53 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to manage course access keys 
 #
-# $Id: lonmanagekeys.pm,v 1.22 2007/06/20 23:15:15 albertel Exp $
+# $Id: lonmanagekeys.pm,v 1.23 2009/02/19 22:11:53 schafran Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -272,14 +272,15 @@
 	&Apache::loncommon::content_type($r,'text/html');
 	$r->send_http_header;
 	$r->print(&header().&Apache::loncommon::coursebrowser_javascript());
-        $r->print(
-   &mt('Course ID of Key Authority').': <input input type="text" size="25" name="course" value="" />');
-        $r->print(&mt('Domain').': '.&Apache::loncommon::select_dom_form(
-               $env{'request.role.domain'},'domain'));
+        $r->print('<table><tr><td>'
+   .&mt('Course ID of Key Authority').':</td><td> <input input type="text" size="25" name="course" value="" />');
         $r->print(&Apache::loncommon::selectcourse_link(
 					        'keyform','course','domain',
                                                 undef,undef,undef,'Course'));
-        $r->print('<br /><input type="submit" value="'.&mt('Manage Access Keys').'" />');
+        $r->print('</td></tr>');
+        $r->print('<tr><td>'.&mt('Domain').':</td><td> '.&Apache::loncommon::select_dom_form(
+               $env{'request.role.domain'},'domain'));
+        $r->print('</td></tr></table><input type="submit" value="'.&mt('Next').'" />');
 	$r->print('</form>'.&Apache::loncommon::end_page());
     }
     return OK;