version 1.471, 2023/11/03 21:40:22
|
version 1.472, 2023/11/04 00:06:00
|
Line 5506 sub display_coauthor_managers {
|
Line 5506 sub display_coauthor_managers {
|
} |
} |
$output .= "</p>\n"; |
$output .= "</p>\n"; |
if (@possmanagers) { |
if (@possmanagers) { |
$output .= '<p>'.&mt('Select manager(s)').': '; |
$output .= '<p>'.&mt('If checked, can manage').': '; |
foreach my $user (@possmanagers) { |
foreach my $user (@possmanagers) { |
my $checked; |
my $checked; |
if (grep(/^\Q$user\E$/,@custommanagers)) { |
if (grep(/^\Q$user\E$/,@custommanagers)) { |
Line 6510 function updateCols(caller) {
|
Line 6510 function updateCols(caller) {
|
document.getElementById('showcolstart').checked = false; |
document.getElementById('showcolstart').checked = false; |
document.getElementById('showcolend').checked = false; |
document.getElementById('showcolend').checked = false; |
} |
} |
|
if (context == 'author') { |
|
if (document.studentform.Status.options[document.studentform.Status.selectedIndex].value == 'Expired') { |
|
document.getElementById('showcolmanager').checked = false; |
|
document.getElementById('showcolmanager').disabled = 'disabled'; |
|
} else if (document.studentform.showrole.options[document.studentform.showrole.selectedIndex].value != 'aa') { |
|
document.getElementById('showcolmanager').checked = true; |
|
document.getElementById('showcolmanager').disabled = ''; |
|
} |
|
} |
} |
} |
} |
} |
if (caller == 'output') { |
if (caller == 'output') { |
Line 6595 function updateCols(caller) {
|
Line 6604 function updateCols(caller) {
|
} |
} |
} |
} |
} |
} |
|
if (context == 'author') { |
|
if (document.studentform.showrole.options[document.studentform.showrole.selectedIndex].value == 'aa') { |
|
document.getElementById('showcolmanager').checked = false; |
|
document.getElementById('showcolmanager').disabled = 'disabled'; |
|
} else if (document.studentform.Status.options[document.studentform.Status.selectedIndex].value != 'Expired') { |
|
document.getElementById('showcolmanager').checked = true; |
|
document.getElementById('showcolmanager').disabled = ''; |
|
} |
|
} |
} |
} |
return; |
return; |
} |
} |
Line 6900 sub print_main_menu {
|
Line 6918 sub print_main_menu {
|
linktitle => 'View change log.', |
linktitle => 'View change log.', |
}, |
}, |
{ |
{ |
linktext => 'Co-authors who can add/revoke co-author roles', |
linktext => 'Co-author Managers', |
icon => 'helpdesk-access.png', |
icon => 'helpdesk-access.png', |
#help => 'Coauthor_Management', |
#help => 'Coauthor_Management', |
url => '/adm/createuser?action=camanagers', |
url => '/adm/createuser?action=camanagers', |
Line 6908 sub print_main_menu {
|
Line 6926 sub print_main_menu {
|
linktitle => 'Assign/Revoke right to manage co-author roles', |
linktitle => 'Assign/Revoke right to manage co-author roles', |
}, |
}, |
{ |
{ |
linktext => 'Configure coauthor-viewable listing', |
linktext => 'Configure Coauthor Listing', |
icon => 'helpdesk-access.png', |
icon => 'helpdesk-access.png', |
#help => 'Coauthor_Settings', |
#help => 'Coauthor_Settings', |
url => '/adm/createuser?action=calist&forceedit=1', |
url => '/adm/createuser?action=calist&forceedit=1', |