506 |
my $DISABLED; |
my $DISABLED; |
507 |
|
|
508 |
$DISABLED = ( %MenuBar && defined($MenuBar{'GetSearch'}) ) ? "DISABLED" : ""; |
$DISABLED = ( %MenuBar && defined($MenuBar{'GetSearch'}) ) ? "DISABLED" : ""; |
509 |
print("<INPUT NAME=\"GetSearch\" TYPE=SUBMIT VALUE=\"Forma za pretraživanje\" $DISABLED class=\"navigacija\">"); |
print("<INPUT NAME=\"GetSearch\" TYPE=SUBMIT VALUE=\"Pretraživanje\" $DISABLED class=\"navigacija${DISABLED}\">"); |
510 |
|
|
511 |
if ( defined($main::RemoteUser) ) { |
if ( defined($main::RemoteUser) ) { |
512 |
$DISABLED = ( %MenuBar && defined($MenuBar{'ListSearchHistory'}) ) ? "DISABLED" : ""; |
$DISABLED = ( %MenuBar && defined($MenuBar{'ListSearchHistory'}) ) ? "DISABLED" : ""; |
513 |
print"<INPUT NAME=\"ListSearchHistory\" TYPE=SUBMIT VALUE=\"Search History\" $DISABLED class=\"navigacija\">"; |
print"<INPUT NAME=\"ListSearchHistory\" TYPE=SUBMIT VALUE=\"Prijašnja pretraživanja\" $DISABLED class=\"navigacija${DISABLED}\">"; |
514 |
|
|
515 |
$DISABLED = ( %MenuBar && defined($MenuBar{'ListSavedSearch'}) ) ? "DISABLED" : ""; |
$DISABLED = ( %MenuBar && defined($MenuBar{'ListSavedSearch'}) ) ? "DISABLED" : ""; |
516 |
print"<INPUT NAME=\"ListSavedSearch\" TYPE=SUBMIT VALUE=\"List Saved Search\" $DISABLED class=\"navigacija\">"; |
print"<INPUT NAME=\"ListSavedSearch\" TYPE=SUBMIT VALUE=\"Spremljena pretraživanja\" $DISABLED class=\"navigacija${DISABLED}\">"; |
517 |
|
|
518 |
$DISABLED = ( %MenuBar && defined($MenuBar{'ListFolder'}) ) ? "DISABLED" : ""; |
$DISABLED = ( %MenuBar && defined($MenuBar{'ListFolder'}) ) ? "DISABLED" : ""; |
519 |
print"<INPUT NAME=\"ListFolder\" TYPE=SUBMIT VALUE=\"List Folder\" $DISABLED class=\"navigacija\">"; |
print"<INPUT NAME=\"ListFolder\" TYPE=SUBMIT VALUE=\"Korisnički folderi\" $DISABLED class=\"navigacija${DISABLED}\">"; |
520 |
|
|
521 |
$DISABLED = ( %MenuBar && defined($MenuBar{'GetUserSettings'}) ) ? "DISABLED" : ""; |
$DISABLED = ( %MenuBar && defined($MenuBar{'GetUserSettings'}) ) ? "DISABLED" : ""; |
522 |
print"<INPUT NAME=\"GetUserSettings\" TYPE=SUBMIT VALUE=\"Get User Settings\" $DISABLED class=\"navigacija\">"; |
print"<INPUT NAME=\"GetUserSettings\" TYPE=SUBMIT VALUE=\"Korisničke postavke\" $DISABLED class=\"navigacija${DISABLED}\">"; |
523 |
} |
} |
524 |
|
|
525 |
|
|
2932 |
|
|
2933 |
|
|
2934 |
# Make sure that we send the header |
# Make sure that we send the header |
2935 |
$Value = ($ENV{'PATH_INFO'} eq "/GetExpandedSearch") ? "Pretraživanje s više kriterija" : "Jednostavno pretraživanje"; |
$Value = ($ENV{'PATH_INFO'} eq "/GetExpandedSearch") ? "Složeno pretraživanje" : "Jednostavno pretraživanje"; |
2936 |
|
|
2937 |
&vSendHTMLHeader($Value, $main::JavaScript_SetChecked); |
&vSendHTMLHeader($Value, $main::JavaScript_SetChecked); |
2938 |
|
|
2973 |
|
|
2974 |
if ( $ENV{'PATH_INFO'} eq "/GetExpandedSearch" ) { |
if ( $ENV{'PATH_INFO'} eq "/GetExpandedSearch" ) { |
2975 |
print("<INPUT TYPE=HIDDEN NAME=\"Action\" VALUE=\"GetSimpleSearch\">\n"); |
print("<INPUT TYPE=HIDDEN NAME=\"Action\" VALUE=\"GetSimpleSearch\">\n"); |
2976 |
print("<INPUT SRC=\"$main::ConfigurationData{'image-base-path'}/$main::ImageNames{'collapse'}\" BORDER=0 TYPE=IMAGE> Kliknite na trokutić da biste suzili formu.\n"); |
print("<INPUT SRC=\"$main::ConfigurationData{'image-base-path'}/$main::ImageNames{'collapse'}\" BORDER=0 TYPE=IMAGE> Jednostavo pretraživanje (kliknite na trokutić)\n"); |
2977 |
} |
} |
2978 |
else { |
else { |
2979 |
print("<INPUT TYPE=HIDDEN NAME=\"Action\" VALUE=\"GetExpandedSearch\">\n"); |
print("<INPUT TYPE=HIDDEN NAME=\"Action\" VALUE=\"GetExpandedSearch\">\n"); |
2980 |
print("<INPUT SRC=\"$main::ConfigurationData{'image-base-path'}/$main::ImageNames{'expand'}\" BORDER=0 TYPE=IMAGE> Kliknite na trokutić da biste proširili formu.\n"); |
print("<INPUT SRC=\"$main::ConfigurationData{'image-base-path'}/$main::ImageNames{'expand'}\" BORDER=0 TYPE=IMAGE> Složeno pretraživanje (kliknite na trokutić)\n"); |
2981 |
} |
} |
2982 |
print("</FORM></TD>\n"); |
print("</FORM></TD>\n"); |
2983 |
|
|
2992 |
|
|
2993 |
# Send the standard fields |
# Send the standard fields |
2994 |
$Value = defined($main::FormData{'Any'}) ? "VALUE='$main::FormData{'Any'}'" : ""; |
$Value = defined($main::FormData{'Any'}) ? "VALUE='$main::FormData{'Any'}'" : ""; |
2995 |
print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> Pretraži u bilo kojem polju: </TD> <TD ALIGN=LEFT VALIGN=TOP> <INPUT NAME=\"Any\" TYPE=TEXT $Value SIZE=45> </TD></TR>\n"); |
print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> Tražene riječi neka budu u bilo kojem polju: </TD> <TD ALIGN=LEFT VALIGN=TOP> <INPUT NAME=\"Any\" TYPE=TEXT $Value SIZE=45> </TD></TR>\n"); |
2996 |
|
|
2997 |
|
|
2998 |
my $nr_fields = $main::NormalSearchDropdowns; |
my $nr_fields = $main::NormalSearchDropdowns; |
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 "Tražene riječi neka budu 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 |
|
|