version 1.1448, 2025/01/29 09:11:10
|
version 1.1452, 2025/02/14 05:15:59
|
Line 1174 sub linked_select_forms {
|
Line 1174 sub linked_select_forms {
|
$menuorder, |
$menuorder, |
$onchangefirst, |
$onchangefirst, |
$onchangesecond, |
$onchangesecond, |
$suffix |
$suffix, |
|
$haslabel |
) = @_; |
) = @_; |
my $second = "document.$formname.$secondselectname"; |
my $second = "document.$formname.$secondselectname"; |
my $first = "document.$formname.$firstselectname"; |
my $first = "document.$formname.$firstselectname"; |
Line 1240 END
|
Line 1241 END
|
$result.=">".&mt($hashref->{$value}->{'text'})."</option>\n"; |
$result.=">".&mt($hashref->{$value}->{'text'})."</option>\n"; |
} |
} |
$result .= "</select>\n"; |
$result .= "</select>\n"; |
|
if ($haslabel) { |
|
$result .= '</label>'; |
|
} |
my %select2; |
my %select2; |
if (ref($hashref->{$firstdefault}) eq 'HASH') { |
if (ref($hashref->{$firstdefault}) eq 'HASH') { |
if (ref($hashref->{$firstdefault}->{'select2'}) eq 'HASH') { |
if (ref($hashref->{$firstdefault}->{'select2'}) eq 'HASH') { |
%select2 = %{$hashref->{$firstdefault}->{'select2'}}; |
%select2 = %{$hashref->{$firstdefault}->{'select2'}}; |
} |
} |
} |
} |
$result .= $middletext; |
if ($middletext ne '') { |
|
$result .= '<label>'.$middletext; |
|
} |
$result .= "<select size=\"1\" name=\"$secondselectname\""; |
$result .= "<select size=\"1\" name=\"$secondselectname\""; |
if ($onchangesecond) { |
if ($onchangesecond) { |
$result .= ' onchange="'.$onchangesecond.'"'; |
$result .= ' onchange="'.$onchangesecond.'"'; |
Line 1264 END
|
Line 1270 END
|
$result.=">".&mt($select2{$value})."</option>\n"; |
$result.=">".&mt($select2{$value})."</option>\n"; |
} |
} |
$result .= "</select>\n"; |
$result .= "</select>\n"; |
|
if ($middletext ne '') { |
|
$result .= '</label>'; |
|
} |
# return $debug; |
# return $debug; |
return $result; |
return $result; |
} # end of sub linked_select_forms { |
} # end of sub linked_select_forms { |
Line 2300 sub import_crsauthor_form {
|
Line 2309 sub import_crsauthor_form {
|
dire => 'Directory', |
dire => 'Directory', |
se => 'Select', |
se => 'Select', |
); |
); |
$output = $lt{'dire'}.': '. |
$output = '<label>'.$lt{'dire'}.': '. |
'<select id="'.$firstselectname.'" name="'.$firstselectname.'" '. |
'<select id="'.$firstselectname.'" name="'.$firstselectname.'" '. |
'onchange="populateCrsSelects(this.form,'."'$firstselectname','$secondselectname',1,'$js_only',0,1,0,0,0".');">'. |
'onchange="populateCrsSelects(this.form,'."'$firstselectname','$secondselectname',1,'$js_only',0,1,0,0,0".');">'. |
'<option value="" selected="selected">'.$lt{'se'}.'</option>'; |
'<option value="" selected="selected">'.$lt{'se'}.'</option>'; |
Line 2311 sub import_crsauthor_form {
|
Line 2320 sub import_crsauthor_form {
|
next if ($key eq '/'); |
next if ($key eq '/'); |
$output .= '<option value="'.$key.'">'.$key.'</option>'."\n"; |
$output .= '<option value="'.$key.'">'.$key.'</option>'."\n"; |
} |
} |
$output .= '</select><br />'."\n". |
$output .= '</select></label><br /><label>'."\n". |
$lt{'fnam'}.': <select id="'.$secondselectname.'" name="'.$secondselectname.'">'."\n". |
$lt{'fnam'}.': <select id="'.$secondselectname.'" name="'.$secondselectname.'">'."\n". |
'<option value="" selected="selected"></option>'."\n". |
'<option value="" selected="selected"></option>'."\n". |
'</select>'."\n". |
'</select></label>'."\n". |
'<input type="hidden" id="crsres_include_'.$suffix.'" value="'.$only.'" />'; |
'<input type="hidden" id="crsres_include_'.$suffix.'" value="'.$only.'" />'; |
return ($numdirs,$output); |
return ($numdirs,$output); |
} |
} |
Line 7323 form, .inline {
|
Line 7332 form, .inline {
|
text-align:right; |
text-align:right; |
} |
} |
|
|
|
.LC_center { |
|
text-align:center; |
|
} |
|
|
.LC_middle { |
.LC_middle { |
vertical-align:middle; |
vertical-align:middle; |
} |
} |
Line 9140 ul#LC_toolbar {
|
Line 9153 ul#LC_toolbar {
|
padding: 0; |
padding: 0; |
margin: 2px; |
margin: 2px; |
list-style:none; |
list-style:none; |
position:relative; |
display:inline; |
background-color:white; |
background-color:white; |
overflow: auto; |
overflow: auto; |
} |
} |
Line 9168 a.LC_toolbarItem {
|
Line 9181 a.LC_toolbarItem {
|
background-color:transparent; |
background-color:transparent; |
} |
} |
|
|
|
.LC_navtools { |
|
display: inline-block; |
|
padding: 0; |
|
margin: 2px; |
|
vertical-align: middle; |
|
} |
|
|
ul.LC_funclist { |
ul.LC_funclist { |
margin: 0; |
margin: 0; |
padding: 0.5em 1em 0.5em 0; |
padding: 0.5em 1em 0.5em 0; |
Line 19043 sub needs_coursereinit {
|
Line 19063 sub needs_coursereinit {
|
$update = 'supp'; |
$update = 'supp'; |
} |
} |
} |
} |
return ($update); |
|
} |
} |
|
return ($update); |
} |
} |
return (); |
return (); |
} |
} |