3005 |
|
|
3006 |
for (my $field=1; $field<= $nr_fields; $field++) { |
for (my $field=1; $field<= $nr_fields; $field++) { |
3007 |
|
|
3008 |
print("<TR><TD ALIGN=LEFT VALIGN=TOP>"); |
print "<TR>"; |
3009 |
if ($field == 1 ) { |
if ($field == 1 ) { |
3010 |
print ("Pretraži u određenom polju:"); |
print "<TD ALIGN=LEFT VALIGN=TOP ROWSPAN=$nr_fields>"; |
3011 |
|
print "Pretraži u odabranom polju:"; |
3012 |
|
print "</td>"; |
3013 |
} |
} |
3014 |
print ("</TD><TD ALIGN=RIGHT VALIGN=TOP>"); |
print ("<TD ALIGN=RIGHT VALIGN=TOP>"); |
3015 |
|
|
3016 |
print ("<SELECT NAME=\"FieldName${field}\">"); |
print ("<SELECT NAME=\"FieldName${field}\">"); |
3017 |
for (my $i=0; $i<=$#SearchFieldNames; $i++) { |
for (my $i=0; $i<=$#SearchFieldNames; $i++) { |
3029 |
if (defined($main::FormData{"FieldContent${field}"})) { |
if (defined($main::FormData{"FieldContent${field}"})) { |
3030 |
$Value = "VALUE='".$main::FormData{"FieldContent${field}"}."'"; |
$Value = "VALUE='".$main::FormData{"FieldContent${field}"}."'"; |
3031 |
} |
} |
3032 |
print("</SELECT></TD><TD ALIGN=LEFT><INPUT NAME=\"FieldContent${field}\" TYPE=TEXT $Value SIZE=45> </TD></TR>\n"); |
print("</SELECT></TD><TD ALIGN=LEFT VALIGN=TOP><INPUT NAME=\"FieldContent${field}\" TYPE=TEXT $Value SIZE=45> </TD></TR>\n"); |
3033 |
} |
} |
3034 |
|
|
3035 |
|
|
3051 |
# Database selection |
# Database selection |
3052 |
if ( %main::DatabaseDescriptions ) { |
if ( %main::DatabaseDescriptions ) { |
3053 |
|
|
3054 |
print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> Odaberite bazu koju želite pretraživati:</TD></TR> |
print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> Odaberite knjižnicu čiji fond želite pretraživati:</TD></TR> |
3055 |
<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=4> |
<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=4> |
3056 |
"); |
"); |
3057 |
|
|
3276 |
|
|
3277 |
# Check that at least one database was selected |
# Check that at least one database was selected |
3278 |
if ( !defined($main::FormData{'Database'}) ) { |
if ( !defined($main::FormData{'Database'}) ) { |
3279 |
print("<H3>Database Search:</H3>\n"); |
print("<H3>Pretraživanje baza:</H3>\n"); |
3280 |
print("<H3><CENTER>Sorry, no database(s) were selected for searching.</CENTER></H3>\n"); |
print("<H3><CENTER>Niste odabrali knjižnicu koju želite pretraživati.</CENTER></H3>\n"); |
3281 |
print("<P>\n"); |
print("<P>\n"); |
3282 |
print("There needs to be a least one database selected in order to perform the search.\n"); |
print("Potrebno je da barem jedna knjižnica bude odabrana, kako biste mogli pretraživati.\n"); |
3283 |
print("Click <B>'back'</B> on your browser, select at least one database and try again.\n"); |
print("Kliknite na <B>'back'</B> u svom browseru, odaberite barem jednu knjižnicu i pokušajte ponovo.\n"); |
3284 |
goto bailFromGetSearchResults; |
goto bailFromGetSearchResults; |
3285 |
} |
} |
3286 |
|
|