version 1.369, 2012/12/21 14:49:50
|
version 1.371, 2012/12/31 15:28:36
|
Line 4604 function updateCols(caller) {
|
Line 4604 function updateCols(caller) {
|
} |
} |
} |
} |
if (caller == 'showrole') { |
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').checked = true; |
document.getElementById('showcolrole').disabled = ''; |
document.getElementById('showcolrole').disabled = ''; |
} else { |
} else { |
Line 4854 sub print_main_menu {
|
Line 4855 sub print_main_menu {
|
); |
); |
} |
} |
} elsif ($context eq 'author') { |
} elsif ($context eq 'author') { |
|
push(@{ $menu[2]->{items} }, #Category: Administration |
{ |
{ |
linktext => 'Change Log', |
linktext => 'Change Log', |
icon => 'document-properties.png', |
icon => 'document-properties.png', |
Line 4862 sub print_main_menu {
|
Line 4864 sub print_main_menu {
|
permission => $permission->{'cusr'}, |
permission => $permission->{'cusr'}, |
linktitle => 'View change log.', |
linktitle => 'View change log.', |
}, |
}, |
|
); |
} |
} |
return Apache::lonhtmlcommon::generate_menu(@menu); |
return Apache::lonhtmlcommon::generate_menu(@menu); |
# { text => 'View Log-in History', |
# { text => 'View Log-in History', |