--- loncom/interface/loncreateuser.pm 2012/12/21 14:49:50 1.369 +++ loncom/interface/loncreateuser.pm 2012/12/31 15:28:36 1.371 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.369 2012/12/21 14:49:50 bisitz Exp $ +# $Id: loncreateuser.pm,v 1.371 2012/12/31 15:28:36 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4604,7 +4604,8 @@ function updateCols(caller) { } } if (caller == 'showrole') { - if (document.studentform.showrole.options[document.studentform.showrole.selectedIndex].value == 'Any') { + if ((document.studentform.showrole.options[document.studentform.showrole.selectedIndex].value == 'Any') || + (document.studentform.showrole.options[document.studentform.showrole.selectedIndex].value == 'cr')) { document.getElementById('showcolrole').checked = true; document.getElementById('showcolrole').disabled = ''; } else { @@ -4854,6 +4855,7 @@ sub print_main_menu { ); } } elsif ($context eq 'author') { + push(@{ $menu[2]->{items} }, #Category: Administration { linktext => 'Change Log', icon => 'document-properties.png', @@ -4862,6 +4864,7 @@ sub print_main_menu { permission => $permission->{'cusr'}, linktitle => 'View change log.', }, + ); } return Apache::lonhtmlcommon::generate_menu(@menu); # { text => 'View Log-in History',