/[webpac-proto]/search/Search.cgi
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /search/Search.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by dpavlin, Tue Jun 25 16:47:58 2002 UTC revision 1.18 by dpavlin, Tue Jun 25 17:04:18 2002 UTC
# Line 2992  sub vGetSearch { Line 2992  sub vGetSearch {
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> 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");          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");
2996                    
2997                    
2998          my $nr_fields = $main::NormalSearchDropdowns;          my $nr_fields = $main::NormalSearchDropdowns;
# Line 3008  sub vGetSearch { Line 3008  sub vGetSearch {
3008                  print "<TR>";                  print "<TR>";
3009                  if ($field == 1 ) {                  if ($field == 1 ) {
3010                          print "<TD ALIGN=LEFT VALIGN=TOP ROWSPAN=$nr_fields>";                          print "<TD ALIGN=LEFT VALIGN=TOP ROWSPAN=$nr_fields>";
3011                          print "Tražene riječi neka budu u odabranom polju:";                          print "Pretraži u odabranom polju:";
3012                          print "</td>";                          print "</td>";
3013                  }                  }
3014                  print ("<TD ALIGN=RIGHT VALIGN=TOP>");                  print ("<TD ALIGN=RIGHT VALIGN=TOP>");
# Line 3051  sub vGetSearch { Line 3051  sub vGetSearch {
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                                    
# Line 3276  sub vGetSearchResults { Line 3276  sub vGetSearchResults {
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    

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.26