version 1.1447, 2025/01/26 07:17:02
|
version 1.1450, 2025/02/03 22:52:36
|
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') { |
Line 1247 END
|
Line 1251 END
|
} |
} |
} |
} |
$result .= $middletext; |
$result .= $middletext; |
|
if ($middletext ne '') { |
|
$result .= '<label>'; |
|
} |
$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 1271 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 2310 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 2321 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 7333 form, .inline {
|
text-align:right; |
text-align:right; |
} |
} |
|
|
|
.LC_center { |
|
text-align:center; |
|
} |
|
|
.LC_middle { |
.LC_middle { |
vertical-align:middle; |
vertical-align:middle; |
} |
} |
Line 8235 table.LC_prior_tries td {
|
Line 8249 table.LC_prior_tries td {
|
padding-right: 5px; |
padding-right: 5px; |
} |
} |
|
|
|
.LC_mail_actions { |
|
float: left; |
|
padding: 0; |
|
margin: 6px; |
|
} |
|
|
|
.LC_vertical_line { |
|
width: 1px; |
|
background-color: black; |
|
height: 4em; |
|
float: left; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
|
span.LC_prior_numerical, |
span.LC_prior_numerical, |
span.LC_prior_string, |
span.LC_prior_string, |
span.LC_prior_custom, |
span.LC_prior_custom, |
Line 9125 ul#LC_toolbar {
|
Line 9154 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 9153 a.LC_toolbarItem {
|
Line 9182 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; |