version 1.45, 2006/07/28 01:04:45
|
version 1.47, 2006/08/10 21:46:40
|
Line 113 function process(calling,numauto,nummanu
|
Line 113 function process(calling,numauto,nummanu
|
} |
} |
if (calling == "notify") { |
if (calling == "notify") { |
var totalnote = 0; |
var totalnote = 0; |
if (formName.notify[1].checked = true) { |
for (var i=0; i<formName.elements.length; i++) { |
for (var i=0; i<formName.elements.length; i++) { |
var elementname = formName.elements[i].name; |
var elementname = formName.elements[i].name; |
var check_name = elementname.match($notify_check); |
var check_name = elementname.match($notify_check); |
if (check_name != null) { |
if (check_name != null) { |
if (formName.elements[i].checked) { |
if (formName.elements[i].checked) { |
totalnote ++; |
totalnote ++; |
} |
} |
} |
} |
} |
} |
if (totalnote > 0) { |
if (totalnote > 0) { |
if (formName.notify[1].checked == true) { |
if (formName.notify[1].checked = true) { |
if (confirm("You have indicated that you do not want notification of roster changes messages to be sent, but "+totalnote+" have been checked as recipients.\\nClick 'OK' to erase all recipients, or 'Cancel'.")) { |
if (confirm("You have indicated that you do not want notification of roster changes messages to be sent, but "+totalnote+" have been checked as recipients.\\nClick 'OK' to erase all recipients, or 'Cancel'.")) { |
checker = 1; |
checker = 1; |
} else { |
} else { |
checker = 0; |
checker = 0; |
} |
} |
} |
} |
} else { |
} else { |
if (formName.notify[0].checked == true) { |
if (formName.notify[0].checked = true) { |
alert("You have indicated that you want notification of roster changes messages to be sent, but you have not selected any recipients."); |
alert("You have indicated that you want notification of roster changes messages to be sent, but you have not selected any recipients."); |
checker = 0; |
checker = 0; |
} |
} |
|
} |
|
} |
} |
} |
} |
if (calling == "viewclass") { |
if (calling == "viewclass") { |
Line 1125 onclick="javascript:document.photoupdate
|
Line 1123 onclick="javascript:document.photoupdate
|
if (! exists($env{'form.sortby'})) { |
if (! exists($env{'form.sortby'})) { |
$env{'form.sortby'} = 'username'; |
$env{'form.sortby'} = 'username'; |
} |
} |
if ($env{'form.Status'} !~ /^(Any|Expired|Active)$/) { |
if ($env{'form.Status'} !~ /^(Any|Expired|Active|Future)$/) { |
$env{'form.Status'} = 'Active'; |
$env{'form.Status'} = 'Active'; |
} |
} |
my $status_select = &Apache::lonhtmlcommon::StatusOptions($env{'form.Status'}); |
my $status_select = &Apache::lonhtmlcommon::StatusOptions($env{'form.Status'}); |
Line 1795 sub print_crosslistings_menu () {
|
Line 1793 sub print_crosslistings_menu () {
|
if ($numcross > 0) { |
if ($numcross > 0) { |
my @bgcolors=("#eeeeee","#cccccc"); |
my @bgcolors=("#eeeeee","#cccccc"); |
$response .= qq(You indicated that you wish to add an additional $numcross crosslisting(s). For each new crosslisting enter the insititutional course section code (e.g., fs03zol101001, for section 001 of zol101 for fs03 semester), and the LON-CAPA section ID you wish to assign to students who will be enrolled in your LON-CAPA class as a result of their registration in the crosslisted course section. The LON-CAPA section ID can be left blank, if you do not wish to tie a section ID to this crosslisting. The institutional course section code should only contain letters and/or numbers, and must be consistent with the scheme adopted by your Domain Coordinator to map course codes (and section numbers) to your institution's student information system.<br/><br/> |
$response .= qq(You indicated that you wish to add an additional $numcross crosslisting(s). For each new crosslisting enter the insititutional course section code (e.g., fs03zol101001, for section 001 of zol101 for fs03 semester), and the LON-CAPA section ID you wish to assign to students who will be enrolled in your LON-CAPA class as a result of their registration in the crosslisted course section. The LON-CAPA section ID can be left blank, if you do not wish to tie a section ID to this crosslisting. The institutional course section code should only contain letters and/or numbers, and must be consistent with the scheme adopted by your Domain Coordinator to map course codes (and section numbers) to your institution's student information system.<br/><br/> |
<form name="enter" method="post">); |
<form name="enter" method="post">); #' stupid emacs |
$response .= &Apache::loncommon::start_data_table(); |
$response .= &Apache::loncommon::start_data_table(); |
$response .= &Apache::loncommon::start_data_table_row(); |
$response .= &Apache::loncommon::start_data_table_row(); |
$response .= qq( |
$response .= qq( |