--- loncom/interface/loncreateuser.pm 2009/02/17 16:53:37 1.281 +++ loncom/interface/loncreateuser.pm 2009/02/24 12:03:59 1.283 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.281 2009/02/17 16:53:37 bisitz Exp $ +# $Id: loncreateuser.pm,v 1.283 2009/02/24 12:03:59 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -337,7 +337,7 @@ sub print_username_entry_form { 'dom' => "Domain", 'ecrp' => "Edit Custom Role Privileges", 'nr' => "Name of Role", - 'cre' => "Custom Role Editor", + 'cre' => "Next", ); $r->print($start_page."\n".$crumbs); if ($env{'form.action'} eq 'custom') { @@ -347,7 +347,7 @@ sub print_username_entry_form { <input type="hidden" name="action" value="$env{'form.action'}" /> <input type="hidden" name="phase" value="selected_custom_edit" /> <h3>$lt{'ecrp'}</h3> -$lt{'nr'}: $choice <input type="text" size="15" name="newrolename" /><br /> +$choice $lt{'nr'}: <input type="text" size="15" name="newrolename" /><br /> <input name="customeditor" type="submit" value="$lt{'cre'}" /> </form> ENDCUSTOM @@ -3017,7 +3017,7 @@ ENDCCF '<input type="hidden" name="startrolename" value="'.$env{'form.rolename'}. '" />'."\n".'<input type="hidden" name="currstate" value="" />'."\n". '<input type="reset" value="'.&mt("Reset").'" />'."\n". - '<input type="submit" value="'.&mt('Define Role').'" /></form>'. + '<input type="submit" value="'.&mt('Save').'" /></form>'. &Apache::loncommon::end_page()); } # -------------------------------------------------------- @@ -3839,9 +3839,10 @@ ENDSCRIPT my ($visible,$cansetvis,$vismsgs,$visactions) = &visible_in_cat($cdom,$cnum); if (ref($visactions) eq 'HASH') { if ($visible) { - $output .= '<p>'.$visactions->{'vis'}.'</p>'; + $output .= '<p class="LC_info">'.$visactions->{'vis'}.'</p>'; } else { - $output .= $visactions->{'miss'}.'<br />'.$visactions->{'yous'}. + $output .= '<p class="LC_warning">'.$visactions->{'miss'}.'</p>' + .$visactions->{'yous'}. '<p>'.$visactions->{'gen'}.'<br />'.$visactions->{'coca'}; if (ref($vismsgs) eq 'ARRAY') { $output .= '<br />'.$visactions->{'make'}.'<ul>'; @@ -4089,7 +4090,7 @@ ENDSCRIPT } $output .= &Apache::lonhtmlcommon::end_pick_box(). '<br /><input type="button" name="selfenrollconf" value="' - .&mt('Save changes').'" onclick="validate_types(this.form);" />' + .&mt('Save').'" onclick="validate_types(this.form);" />' .'<input type="hidden" name="action" value="selfenroll" /></form>'; $r->print($output); return; @@ -4378,7 +4379,7 @@ sub visible_in_cat { miss => 'Your course does not currently appear in the Course Catalog for this domain.', yous => 'You should remedy this if you plan to allow self-enrollment, otherwise students will have difficulty finding your course.', coca => 'Courses can be absent from the Catalog, because they do not have an institutional code, have no assigned category, or have been specifically excluded.', - make => 'Make any changes to self-enrollment settings below, click "Save changes", then take action to include the course in the Catalog:', + make => 'Make any changes to self-enrollment settings below, click "Save", then take action to include the course in the Catalog:', take => 'Take the following action to ensure the course appears in the Catalog:', dc_unhide => 'Ask a domain coordinator to change the "Exclude from course catalog" setting.', dc_addinst => 'Ask a domain coordinator to enable display the catalog of "Official courses (with institutional codes)".',