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

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Mon, 24 Nov 2008 14:49:42 -0000


bisitz		Mon Nov 24 14:49:42 2008 EDT

  Modified files:              
    /loncom/interface	lonpickcourse.pm 
  Log:
  Replaced action selection pick box by fieldset.
  
  
Index: loncom/interface/lonpickcourse.pm
diff -u loncom/interface/lonpickcourse.pm:1.74 loncom/interface/lonpickcourse.pm:1.75
--- loncom/interface/lonpickcourse.pm:1.74	Wed Aug  6 10:45:36 2008
+++ loncom/interface/lonpickcourse.pm	Mon Nov 24 14:49:42 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Pick a course
 #
-# $Id: lonpickcourse.pm,v 1.74 2008/08/06 10:45:36 bisitz Exp $
+# $Id: lonpickcourse.pm,v 1.75 2008/11/24 14:49:42 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -228,23 +228,19 @@
                  $menuchk = ' checked="checked" ';
             }
             $r->print(
-                &Apache::lonhtmlcommon::start_pick_box().
-                '<tr class="LC_pick_box_row">'.
-                '<td class="LC_pick_box_title" rowspan="2">'.&mt('Action').'</td>'.
-                '<td class="LC_evenrow_value">'.
-                '<span class="LC_nobreak"><label>'.
-                '<input type="radio" name="phase" value="ccrole"'.$ccrolechk.'/>'.
-                '&nbsp;'.&mt('Enter the course with the role of [_1].',$cctitle).
-                '</label>'.('&nbsp;'x3).'</span>'.
-                '</td></tr>'.
-                '<tr class="LC_pick_box_row">'.
-                '<td class="LC_oddrow_value">'.
-                '<span class="LC_nobreak"><label>'.
-                '<input type="radio" name="phase" value="menu"'.$menuchk.'/>&nbsp;'.
-                &mt('View or modify course settings which only a [_1] may modify.',$dctitle).
-                '</label></span>'.
-                '</td></tr>'.&Apache::lonhtmlcommon::end_pick_box().
-                '<br />');
+                '<fieldset>'
+               .'<legend>'.&mt('Action').'</legend>'
+               .'<div class="LC_nobreak"><label>'
+               .'<input type="radio" name="phase" value="ccrole"'.$ccrolechk.'/>'
+               .'&nbsp;'.&mt('Enter the course with the role of [_1].',$cctitle)
+               .'</label></div>'
+               .'<div class="LC_nobreak"><label>'
+               .'<input type="radio" name="phase" value="menu"'.$menuchk.'/>&nbsp;'
+               .&mt('View or modify course settings which only a [_1] may modify.',$dctitle)
+               .'</label></div>'
+               .'</fieldset>'
+               .'<br />'
+            );
         }
     }
     my %by_descrip;