/[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.13 by dpavlin, Tue Jun 25 15:02:32 2002 UTC revision 1.22 by dpavlin, Tue Jul 2 17:18:43 2002 UTC
# Line 392  sub vSendHTMLHeader { Line 392  sub vSendHTMLHeader {
392                  print("$JavaScript\n");                  print("$JavaScript\n");
393          }          }
394          print '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">';          print '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">';
395          print '<link rel="STYLESHEET" type="text/css" href="stil.css">';          print '<link rel="STYLESHEET" type="text/css" href="'.$main::ConfigurationData{'image-base-path'}.'/stil.css">';
396          print("</HEAD>\n<BODY BGCOLOR=\"#FFFFFF\">\n");          print("</HEAD>\n<BODY BGCOLOR=\"ffffe8\">\n");
397    
398    
399          # Send the header snippet file          # Send the header snippet file
# Line 506  sub vSendMenuBar { Line 506  sub vSendMenuBar {
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=\"Saèuvani upiti\" $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    
# Line 1509  sub sMakeSearchString { Line 1509  sub sMakeSearchString {
1509          # Initialize the search string          # Initialize the search string
1510          $SearchString = "";          $SearchString = "";
1511    
1512    sub nuke_accents {
1513            my $tmp = $_[0];
1514            $tmp =~ tr/Çüéâäùæç³ëÕõî¬ÄÆÉÅåôö¥µ¦¶ÖÜ«»£èáíóú¡±®¾Êê¼ÈºÁÂ̪¯¿ÃãðÐÏËïÒÍÎìÞÙÓÔÑñò©¹ÀÚàÛýÝþ´­½²·¢¸¨ÿØø/CueaauccleOoiZACELlooLlSsOUTtLcaiouAaZzEezCsAAESZzAadDDEdNIIeTUOoNnnSsRUrUyYt'-".'',"'Rr/;
1515            # convert search string to lower case -> make search case insensitive
1516            $tmp =~ tr/A-Z/a-z/;
1517            return $tmp;
1518    }
1519    
1520    
1521          # Add the search terms          # Add the search terms
1522          $SearchString .= defined($Content{'Any'}) ? ((($SearchString ne "") ? " AND " : "") . $Content{'Any'}) : "";          $SearchString .= defined($Content{'Any'}) ? ((($SearchString ne "") ? " AND " : "") . nuke_accents($Content{'Any'}) ) : "";
1523    
1524    
1525          # Add the generic field names          # Add the generic field names
# Line 1519  sub sMakeSearchString { Line 1527  sub sMakeSearchString {
1527                    
1528                  my ($FieldName) = "FieldName" . $Value;                  my ($FieldName) = "FieldName" . $Value;
1529                  my ($FieldContent) = "FieldContent" . $Value;                  my ($FieldContent) = "FieldContent" . $Value;
1530    
1531                    
1532                    if ( defined($Content{$FieldName}) && defined($Content{$FieldContent}) ) {
1533                    
1534                  if ( defined($Content{$FieldName}) ) {                          if ($Content{$FieldName} eq "ISBN") {
1535                          $SearchString .= defined($Content{$FieldContent}) ?                                  # fix stupid problem with dashes in data
1536                                          (($SearchString ne "") ? " AND " : "") . "$Content{$FieldName}=(" . $Content{$FieldContent} . ")" : "";                                  $Content{$FieldContent} .= "*";
1537                            }
1538    
1539                            $SearchString .=  ($SearchString ne "") ? " AND " : "";
1540                            $SearchString .= "$Content{$FieldName}=(" . nuke_accents($Content{$FieldContent}) . ")";
1541                  }                  }
1542          }          }
1543    
         # nuke accented chars  
         $SearchString =~ tr/Çüéâäùæç³ëÕõî¬ÄÆÉÅåôö¥µ¦¶ÖÜ«»£èáíóú¡±®¾Êê¼ÈºÁÂ̪¯¿ÃãðÐÏËïÒÍÎìÞÙÓÔÑñò©¹ÀÚàÛýÝþ´­½²·¢¸¨ÿØø/CueaauccleOoiZACELlooLlSsOUTtLcaiouAaZzEezCsAAESZzAadDDEdNIIeTUOoNnnSsRUrUyYt'-".'',"'Rr/;  
         # convert search string to lower case -> make search case insensitive  
         $SearchString =~ tr/A-Z/a-z/;  
   
1544          # Add the internal search terms          # Add the internal search terms
1545    
   
1546          # Add the date restriction on the load time          # Add the date restriction on the load time
1547          if ( defined($Content{'LastRunTime'}) && ($Content{'LastRunTime'} > 0) ) {          if ( defined($Content{'LastRunTime'}) && ($Content{'LastRunTime'} > 0) ) {
1548                  $SearchString .= (($SearchString ne "") ? " AND " : "") . "time_t>=$Content{'LastRunTime'}";                  $SearchString .= (($SearchString ne "") ? " AND " : "") . "time_t>=$Content{'LastRunTime'}";
# Line 1954  sub bDisplayDocuments { Line 1962  sub bDisplayDocuments {
1962          # Print the title          # Print the title
1963          if ( $HTML ) {          if ( $HTML ) {
1964                  printf("<TD ALIGN=LEFT VALIGN=TOP>%s%s:</TD><TD ALIGN=LEFT VALIGN=TOP>\n",                  printf("<TD ALIGN=LEFT VALIGN=TOP>%s%s:</TD><TD ALIGN=LEFT VALIGN=TOP>\n",
1965                                  defined($Title) ? $Title : "Document", (scalar(@Documents) > 1) ? "s" : "");  #                               defined($Title) ? $Title : "Document", (scalar(@Documents) > 1) ? "s" : "");
1966                                    $Title);
1967          }          }
1968          else {          else {
1969                  printf("%s%s:\n", defined($Title) ? $Title : "Document", (scalar(@Documents) > 1) ? "s" : "");  #               printf("%s%s:\n", defined($Title) ? $Title : "Document", (scalar(@Documents) > 1) ? "s" : "");
1970                    print $Title;
1971          }          }
1972    
1973    
# Line 1978  sub bDisplayDocuments { Line 1988  sub bDisplayDocuments {
1988                          $Headline =~ s/&nbsp;//gs;                          $Headline =~ s/&nbsp;//gs;
1989                          $Headline =~ s/<.*?>//gs;                          $Headline =~ s/<.*?>//gs;
1990                          $Headline =~ s/\s+/ /gs;                          $Headline =~ s/\s+/ /gs;
1991                            # decode some basic html from headline <b> <i>
1992                            $Headline =~ s/&lt;(\/?[bi])&gt;/<$1>/g;
1993                                                    
1994                          # Create a generic link for this document                          # Create a generic link for this document
1995                          $Value = "";                          $Value = "";
# Line 2008  sub bDisplayDocuments { Line 2020  sub bDisplayDocuments {
2020    
2021                          # Put up the headline and the score, this one links to the document                          # Put up the headline and the score, this one links to the document
2022                          if ( $HTML ) {                          if ( $HTML ) {
2023                                  print("$SelectorText <A HREF=\"$LinkText\" OnMouseOver=\"self.status='Retrieve this document'; return true\"> $Headline <I> ( $main::DatabaseDescriptions{$Value{'Database'}} ) </I> </A> <BR>\n");  #                               print("$SelectorText <A HREF=\"$LinkText\" OnMouseOver=\"self.status='Retrieve this document'; return true\"> $Headline <I> ( $main::DatabaseDescriptions{$Value{'Database'}} ) </I> </A> <BR>\n");
2024                                    print("$SelectorText <A HREF=\"$LinkText\" OnMouseOver=\"self.status='Retrieve this document'; return true\"> $Headline </A> <BR>\n");
2025    
2026  #                               if ( defined($URL) && ($URL ne "") ) {  #                               if ( defined($URL) && ($URL ne "") ) {
2027  #                                       $Value = (length($URL) > $main::DefaultMaxVisibleUrlLength) ? substr($URL, 0, $main::DefaultMaxVisibleUrlLength) . "..." : $URL;  #                                       $Value = (length($URL) > $main::DefaultMaxVisibleUrlLength) ? substr($URL, 0, $main::DefaultMaxVisibleUrlLength) . "..." : $URL;
# Line 2188  sub bsDisplaySearchResults { Line 2201  sub bsDisplaySearchResults {
2201                          print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>\n");                          print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>\n");
2202                    
2203                          # Print the selector                          # Print the selector
2204                          print("<TR><TD ALIGN=LEFT VALIGN=TOP>Odabranima se smatraju svi rezultati ukoliko niste uèinili nikakav dodatan odabir.</TD><TD ALIGN=RIGHT VALIGN=TOP> \n");                          print("<TR><TD ALIGN=LEFT VALIGN=TOP>Odabrani su svi rezultati ukoliko niste uèinili nikakav dodatan odabir.</TD><TD ALIGN=RIGHT VALIGN=TOP> \n");
2205                                                    
2206                          if ( $ResultCount > 0 ) {                          if ( $ResultCount > 0 ) {
2207                                                                    
# Line 2203  sub bsDisplaySearchResults { Line 2216  sub bsDisplaySearchResults {
2216                                          if ( $main::ConfigurationData{'allow-relevance-feedback-searches'} eq "yes" ) {                                          if ( $main::ConfigurationData{'allow-relevance-feedback-searches'} eq "yes" ) {
2217                                                  print("<OPTION VALUE=\"GetSearchResults\">Run search with selected documents as relevance feedback\n");                                                  print("<OPTION VALUE=\"GetSearchResults\">Run search with selected documents as relevance feedback\n");
2218                                          }                                          }
2219                                          print("<OPTION VALUE=\"GetSaveSearch\">Saèuvaj rezultate pretra¾ivanja\n");                                          print("<OPTION VALUE=\"GetSaveSearch\">Saèuvaj upit\n");
2220                                          print("<OPTION VALUE=\"GetSaveFolder\">Saèuvaj odabrane rezultate u novi folder\n");                                          print("<OPTION VALUE=\"GetSaveFolder\">Saèuvaj odabrane rezultate u novi folder\n");
2221                                                    
2222                                          # Get the document folder hash                                          # Get the document folder hash
# Line 2339  sub bsDisplaySearchResults { Line 2352  sub bsDisplaySearchResults {
2352    
2353    
2354                  if ( $HTML ) {                  if ( $HTML ) {
2355                          printf("<TR><TD ALIGN=LEFT VALIGN=TOP> Pronaðeno: </TD> <TD ALIGN=LEFT VALIGN=TOP> %s rezultata (Maksimalni broj pode¹en na: $Content{'Max'} )  </TD></TR>\n",                          printf("<TR><TD ALIGN=LEFT VALIGN=TOP> Pronaðeno: </TD> <TD ALIGN=LEFT VALIGN=TOP> <font color=\"#990000\"> %s rezultata </font>(Maksimalni broj pode¹en na: $Content{'Max'} )  </TD></TR>\n",
2356                                          ($ResultCount > 0) ? $ResultCount : "no");                                          ($ResultCount > 0) ? $ResultCount : "no");
2357                                    
2358                          print("</TABLE>\n");                          print("</TABLE>\n");
# Line 2653  sub bsDisplaySearchResults { Line 2666  sub bsDisplaySearchResults {
2666    
2667                                  print("<TR><TD ALIGN=LEFT VALIGN=TOP WIDTH=1%> $SelectorText </TD><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <A HREF=\"$LinkText\" OnMouseOver=\"self.status='Retrieve this document'; return true\"> $Headline </A> <BR> <FONT SIZE=-2>&nbsp;");                                  print("<TR><TD ALIGN=LEFT VALIGN=TOP WIDTH=1%> $SelectorText </TD><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <A HREF=\"$LinkText\" OnMouseOver=\"self.status='Retrieve this document'; return true\"> $Headline </A> <BR> <FONT SIZE=-2>&nbsp;");
2668                          } else {                          } else {
2669                                  printf("%3d $Headline ($main::DatabaseDescriptions{$Database})\n", $Score);                                  printf("%3d $Headline \n", $Score);
2670                          }                          }
2671    
2672  if (0) { ## don't display description  if (0) { ## don't display description
# Line 2932  sub vGetSearch { Line 2945  sub vGetSearch {
2945    
2946    
2947          # Make sure that we send the header          # Make sure that we send the header
2948          $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";
         my $JavaScript = '<SCRIPT LANGUAGE="JavaScript">  
                 <!-- hide  
                 function SetChecked(val) {  
                         dml=document.Search;  
                         len = dml.elements.length;  
                         var i=0;  
                         for( i=0 ; i<len ; i++) {  
                                 if (dml.elements[i].name==\'Database\') {  
                                         dml.elements[i].checked=val;  
                                 }  
                         }  
                 }  
                 // -->  
                 </SCRIPT>  
                 ';  
2949    
2950          &vSendHTMLHeader($Value, $JavaScript);          &vSendHTMLHeader($Value, $main::JavaScript_SetChecked);
2951    
2952          undef(%Value);          undef(%Value);
2953          $Value{'GetSearch'} = "GetSearch";          $Value{'GetSearch'} = "GetSearch";
# Line 2988  sub vGetSearch { Line 2986  sub vGetSearch {
2986    
2987          if ( $ENV{'PATH_INFO'} eq "/GetExpandedSearch" ) {          if ( $ENV{'PATH_INFO'} eq "/GetExpandedSearch" ) {
2988                  print("<INPUT TYPE=HIDDEN NAME=\"Action\" VALUE=\"GetSimpleSearch\">\n");                  print("<INPUT TYPE=HIDDEN NAME=\"Action\" VALUE=\"GetSimpleSearch\">\n");
2989                  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> Jednostavno pretra¾ivanje (kliknite na trokutiæ)\n");
2990          }          }
2991          else {          else {
2992                  print("<INPUT TYPE=HIDDEN NAME=\"Action\" VALUE=\"GetExpandedSearch\">\n");                  print("<INPUT TYPE=HIDDEN NAME=\"Action\" VALUE=\"GetExpandedSearch\">\n");
2993                  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");
2994          }          }
2995          print("</FORM></TD>\n");          print("</FORM></TD>\n");
2996                    
# Line 3020  sub vGetSearch { Line 3018  sub vGetSearch {
3018    
3019          for (my $field=1; $field<= $nr_fields; $field++) {          for (my $field=1; $field<= $nr_fields; $field++) {
3020    
3021                  print("<TR><TD ALIGN=LEFT VALIGN=TOP>");                  print "<TR>";
3022                  if ($field == 1 ) {                  if ($field == 1 ) {
3023                          print ("Pretra¾i u odreðenom polju:");                          print "<TD ALIGN=LEFT VALIGN=TOP ROWSPAN=$nr_fields>";
3024                            print "Pretra¾i u odabranom polju:";
3025                            print "</td>";
3026                  }                  }
3027                  print ("</TD><TD ALIGN=RIGHT VALIGN=TOP>");                  print ("<TD ALIGN=RIGHT VALIGN=TOP>");
3028    
3029                  print ("<SELECT NAME=\"FieldName${field}\">");                  print ("<SELECT NAME=\"FieldName${field}\">");
3030                  for (my $i=0; $i<=$#SearchFieldNames; $i++) {                  for (my $i=0; $i<=$#SearchFieldNames; $i++) {
# Line 3042  sub vGetSearch { Line 3042  sub vGetSearch {
3042                  if (defined($main::FormData{"FieldContent${field}"})) {                  if (defined($main::FormData{"FieldContent${field}"})) {
3043                          $Value = "VALUE='".$main::FormData{"FieldContent${field}"}."'";                          $Value = "VALUE='".$main::FormData{"FieldContent${field}"}."'";
3044                  }                  }
3045                  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");
3046          }          }
3047    
3048    
# Line 3064  sub vGetSearch { Line 3064  sub vGetSearch {
3064          # Database selection          # Database selection
3065          if ( %main::DatabaseDescriptions ) {          if ( %main::DatabaseDescriptions ) {
3066    
3067                  print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> Odaberite bazu koju ¾elite pretra¾ivati:                  print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> Odaberite knji¾nicu èiji fond ¾elite pretra¾ivati:</TD></TR>
3068                  </td><td>                  <TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=4>
                 <font size=-1>Oznaèi  
                         <a href=\"javascript:SetChecked(1)\">sve</a>,  
                         <a href=\"javascript:SetChecked(0)\">niti jednu</a>.  
                 </font>  
                 </TD></TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=4>  
3069                  ");                  ");
3070                                    
3071                  # Parse out the database names and put them into a                  # Parse out the database names and put them into a
# Line 3136  sub vGetSearch { Line 3131  sub vGetSearch {
3131    
3132    
3133                  # Send the end date                  # Send the end date
3134                  print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> Ogranièi na knjige izdane prije godine:: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"Before\">\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> Ogranièi na knjige izdane prije godine: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"Before\">\n");
3135                  $Value = (!defined($main::FormData{'Before'})) ? "SELECTED" : "";                  $Value = (!defined($main::FormData{'Before'})) ? "SELECTED" : "";
3136                  print("<OPTION VALUE=\"\" $Value>Bez ogranièenja...\n");                  print("<OPTION VALUE=\"\" $Value>Bez ogranièenja...\n");
3137                                    
# Line 3294  sub vGetSearchResults { Line 3289  sub vGetSearchResults {
3289    
3290          # Check that at least one database was selected          # Check that at least one database was selected
3291          if ( !defined($main::FormData{'Database'}) ) {          if ( !defined($main::FormData{'Database'}) ) {
3292                  print("<H3>Database Search:</H3>\n");                  print("<H3>Pretra¾ivanje baza:</H3>\n");
3293                  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");
3294                  print("<P>\n");                  print("<P>\n");
3295                  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");
3296                  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");
3297                  goto bailFromGetSearchResults;                  goto bailFromGetSearchResults;
3298          }          }
3299    
# Line 3745  sub vGetDocument { Line 3740  sub vGetDocument {
3740                  if ( $main::ConfigurationData{'allow-relevance-feedback-searches'} eq "yes" ) {                  if ( $main::ConfigurationData{'allow-relevance-feedback-searches'} eq "yes" ) {
3741                          print("<OPTION VALUE=\"GetSearchResults\">Run search with selected documents as relevance feedback\n");                          print("<OPTION VALUE=\"GetSearchResults\">Run search with selected documents as relevance feedback\n");
3742                  }                  }
3743                  print("<OPTION VALUE=\"GetSaveFolder\">Save selected documents to a new document folder\n");                  print("<OPTION VALUE=\"GetSaveFolder\">Saèuvaj odabrane jedinice u novi folder\n");
3744    
3745                  # Get the document folder hash                  # Get the document folder hash
3746                  %QualifiedDocumentFolders = &hGetDocumentFolders;                  %QualifiedDocumentFolders = &hGetDocumentFolders;
# Line 3971  sub vGetUserSettings { Line 3966  sub vGetUserSettings {
3966    
3967    
3968          # Make sure that we send the header          # Make sure that we send the header
3969          &vSendHTMLHeader("My Settings", undef);          &vSendHTMLHeader("My Settings", $main::JavaScript_SetChecked);
3970          undef(%Value);          undef(%Value);
3971          $Value{'GetUserSettings'} = "GetUserSettings";          $Value{'GetUserSettings'} = "GetUserSettings";
3972          &vSendMenuBar(%Value);          &vSendMenuBar(%Value);
# Line 4009  sub vGetUserSettings { Line 4004  sub vGetUserSettings {
4004          print("<H3> Postavke: </H3>\n");          print("<H3> Postavke: </H3>\n");
4005    
4006          print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>\n");          print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>\n");
4007          print("<FORM ACTION=\"$ENV{'SCRIPT_NAME'}/SetUserSettings\" METHOD=POST>\n");          print("<FORM ACTION=\"$ENV{'SCRIPT_NAME'}/SetUserSettings\" NAME=\"Search\" METHOD=POST>\n");
4008                                    
4009          # Send the buttons          # Send the buttons
4010          print("<TR><TD ALIGN=RIGHT VALIGN=TOP COLSPAN=2> <INPUT TYPE=RESET VALUE=\"Pobri¹i polja\"> <INPUT TYPE=SUBMIT VALUE=\"Saèuvaj postavke\"> </TD></TR>\n");          print("<TR><TD ALIGN=RIGHT VALIGN=TOP COLSPAN=2> <INPUT TYPE=SUBMIT VALUE=\"Saèuvaj postavke\">  <INPUT TYPE=RESET VALUE=\"Vrati poèetne vrijednosti\"> </TD></TR>\n");
4011                    
4012                    
4013    
# Line 4044  sub vGetUserSettings { Line 4039  sub vGetUserSettings {
4039    
4040          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");            print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");  
4041                    
4042          print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <B> Search Preferences: </B> </TD></TR>\n");          print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <B> Postavke pretra¾ivanja: </B> </TD></TR>\n");
4043    
4044          # Send a pull-down which allows the user to select which search form to default to          # Send a pull-down which allows the user to select which search form to default to
4045          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Forma za pretra¾ivanje: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DefaultSearch\">\n");          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Forma za pretra¾ivanje: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DefaultSearch\">\n");
4046          $Value = (defined($DefaultSearch) && ($DefaultSearch eq "Simple")) ? "SELECTED" : "";          $Value = (defined($DefaultSearch) && ($DefaultSearch eq "Simple")) ? "SELECTED" : "";
4047          print("<OPTION VALUE=\"Simple\" $Value> Jednostavna forma za pretra¾ivanje\n");          print("<OPTION VALUE=\"Simple\" $Value>Forma za jednostavno pretra¾ivanje\n");
4048          $Value = (defined($DefaultSearch) && ($DefaultSearch eq "Expanded")) ? "SELECTED" : "";          $Value = (defined($DefaultSearch) && ($DefaultSearch eq "Expanded")) ? "SELECTED" : "";
4049          print("<OPTION VALUE=\"Expanded\" $Value>Forma za pretra¾ivanje s vi¹e kriterija\n");          print("<OPTION VALUE=\"Expanded\" $Value>Forma za slo¾eno pretra¾ivanje\n");
4050          print("</SELECT> </TD></TR>\n");          print("</SELECT> </TD></TR>\n");
4051    
4052          # Send a pull-down which allows the user to select how many previous searches to store          # Send a pull-down which allows the user to select how many previous searches to store
# Line 4071  sub vGetUserSettings { Line 4066  sub vGetUserSettings {
4066    
4067                  print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <B> Odabrane baze: </B> </TD></TR>\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <B> Odabrane baze: </B> </TD></TR>\n");
4068    
4069                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Oznaèite baze koje uvijek ¾elite pretra¾ivati:</TD> <TD ALIGN=LEFT VALIGN=TOP>\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> Oznaèite knji¾nice koje uvijek ¾elite pretra¾ivati:</TD></TR><TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2>\n");
4070                                    
4071                  # Parse out the database names and put them into a                  # Parse out the database names and put them into a
4072                  # hash table, they should be separated with a '\n'                  # hash table, they should be separated with a '\n'
4073                  if ( defined($SelectedDatabases) && ($SelectedDatabases ne "") ) {                  if ( defined($SelectedDatabases) && ($SelectedDatabases ne "") ) {
4074                          @ItemList = split(",", $SelectedDatabases);                          @ItemList = split(",", $SelectedDatabases);
4075                  }                  }
4076            
4077                  &ShowDatabaseCheckBoxes(@ItemList);                  &ShowDatabaseCheckBoxes(@ItemList);
4078                    
4079                  print("</TD></TR>\n");                  print("</TD></TR>\n");
# Line 4109  sub vGetUserSettings { Line 4104  sub vGetUserSettings {
4104          }          }
4105    
4106    
4107          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");  #       print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");
4108                    
4109          print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <B> Document Retrieval Preferences: </B> </TD></TR>\n");  #       print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <B> Document Retrieval Preferences: </B> </TD></TR>\n");
4110    
4111          # Send a pull-down which allows the user to select whether to display summaries or not, and how long we want them          # Send a pull-down which allows the user to select whether to display summaries or not, and how long we want them
4112          if ( defined($main::ConfigurationData{'allow-similiar-search'}) && ($main::ConfigurationData{'allow-similiar-search'} eq "yes") ) {          if ( defined($main::ConfigurationData{'allow-similiar-search'}) && ($main::ConfigurationData{'allow-similiar-search'} eq "yes") ) {
# Line 4132  sub vGetUserSettings { Line 4127  sub vGetUserSettings {
4127    
4128                  print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");                  print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");
4129    
4130                  print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <B> Saved Searches Defaults: </B> </TD></TR>\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2> <B> Postavke saèuvanih upita: </B> </TD></TR>\n");
4131    
4132                  # Send a pull-down which allows the user to select the automatic search frequency (default to weekly)                  # Send a pull-down which allows the user to select the automatic search frequency (default to weekly)
4133                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Saved search frequency: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"SearchFrequency\">\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Frekvencija pretra¾ivanja: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"SearchFrequency\">\n");
4134                  foreach $ItemEntry ( @main::SearchFrequencies ) {                  foreach $ItemEntry ( @main::SearchFrequencies ) {
4135                          $Value = (defined($SearchFrequency) && ($SearchFrequency eq $ItemEntry)) ? "SELECTED" : "";                          $Value = (defined($SearchFrequency) && ($SearchFrequency eq $ItemEntry)) ? "SELECTED" : "";
4136                          print("<OPTION VALUE=\"$ItemEntry\" $Value> $ItemEntry \n");                          print("<OPTION VALUE=\"$ItemEntry\" $Value> $ItemEntry \n");
# Line 4143  sub vGetUserSettings { Line 4138  sub vGetUserSettings {
4138                  print("</SELECT> </TD></TR>\n");                  print("</SELECT> </TD></TR>\n");
4139    
4140                  # Send a pull-down which allows the user to select the automatic search  delivery format                  # Send a pull-down which allows the user to select the automatic search  delivery format
4141                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Saved search delivery format: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DeliveryFormat\">\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Format za isporuku rezultata: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DeliveryFormat\">\n");
4142                  foreach $ItemEntry ( sort(keys(%main::DeliveryFormats)) ) {                  foreach $ItemEntry ( sort(keys(%main::DeliveryFormats)) ) {
4143                          $Value = (defined($DeliveryFormat) && ($DeliveryFormat eq  $ItemEntry)) ? "SELECTED" : "";                          $Value = (defined($DeliveryFormat) && ($DeliveryFormat eq  $ItemEntry)) ? "SELECTED" : "";
4144                          print("<OPTION VALUE=\"$ItemEntry\" $Value> $main::DeliveryFormats{$ItemEntry}\n");                          print("<OPTION VALUE=\"$ItemEntry\" $Value> $main::DeliveryFormats{$ItemEntry}\n");
# Line 4151  sub vGetUserSettings { Line 4146  sub vGetUserSettings {
4146                  print("</SELECT> </TD></TR>\n");                  print("</SELECT> </TD></TR>\n");
4147    
4148                  # Send a pull-down which allows the user to select the automatic delivery method                  # Send a pull-down which allows the user to select the automatic delivery method
4149                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Saved search delivery method: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DeliveryMethod\">\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Metoda isporuke rezultata: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DeliveryMethod\">\n");
4150                  foreach $ItemEntry ( sort(keys(%main::DeliveryMethods)) ) {                  foreach $ItemEntry ( sort(keys(%main::DeliveryMethods)) ) {
4151                          $Value = (defined($DeliveryMethod) && ($DeliveryMethod eq  $ItemEntry)) ? "SELECTED" : "";                          $Value = (defined($DeliveryMethod) && ($DeliveryMethod eq  $ItemEntry)) ? "SELECTED" : "";
4152                          print("<OPTION VALUE=\"$ItemEntry\" $Value> $main::DeliveryMethods{$ItemEntry}\n");                          print("<OPTION VALUE=\"$ItemEntry\" $Value> $main::DeliveryMethods{$ItemEntry}\n");
# Line 4224  sub vSetUserSettings { Line 4219  sub vSetUserSettings {
4219          $Value{'UserName'} = $main::FormData{'UserName'};          $Value{'UserName'} = $main::FormData{'UserName'};
4220          $Value{'EmailAddress'} = $main::FormData{'EmailAddress'};          $Value{'EmailAddress'} = $main::FormData{'EmailAddress'};
4221          $Value{'DefaultSearch'} = $main::FormData{'DefaultSearch'};          $Value{'DefaultSearch'} = $main::FormData{'DefaultSearch'};
4222          $Value{'SelectedDatabases'} = $main::FormData{'SelectedDatabases'};          $Value{'SelectedDatabases'} = $main::FormData{'Database'};
4223          if ( defined($Value{'SelectedDatabases'}) ) {          if ( defined($Value{'SelectedDatabases'}) ) {
4224                  $Value{'SelectedDatabases'} =~ s/\0/,/g;                  $Value{'SelectedDatabases'} =~ s/\0/,/g;
4225          }          }
# Line 4652  sub vGetSaveSearch { Line 4647  sub vGetSaveSearch {
4647                    
4648    
4649          # Give the user a form to fill out          # Give the user a form to fill out
4650          print("<H3> Saving a search: </H3>\n");          print("<H3> Èuvanje upita: </H3>\n");
4651    
4652    
4653    
# Line 4672  sub vGetSaveSearch { Line 4667  sub vGetSaveSearch {
4667          print("<FORM ACTION=\"$ENV{'SCRIPT_NAME'}/SetSaveSearch\" onSubmit=\"return checkForm(this)\" METHOD=POST>\n");          print("<FORM ACTION=\"$ENV{'SCRIPT_NAME'}/SetSaveSearch\" onSubmit=\"return checkForm(this)\" METHOD=POST>\n");
4668    
4669          # Send the buttons          # Send the buttons
4670          print("<TR><TD ALIGN=RIGHT VALIGN=TOP COLSPAN=2> <INPUT TYPE=RESET VALUE=\"Pobri¹i polja\"> <INPUT TYPE=SUBMIT VALUE=\"Save this Search\"> </TD></TR>\n");          print("<TR><TD ALIGN=RIGHT VALIGN=TOP COLSPAN=2>  <INPUT TYPE=SUBMIT VALUE=\"Saèuvaj upit\"> <INPUT TYPE=RESET VALUE=\"Vrati poèetne vrijednosti\"></TD></TR>\n");
4671    
4672          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");
4673    
# Line 4705  sub vGetSaveSearch { Line 4700  sub vGetSaveSearch {
4700          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");
4701    
4702          # Send the search name and search description fields          # Send the search name and search description fields
4703          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Search Name (required): </TD> <TD ALIGN=LEFT VALIGN=TOP> <INPUT NAME=\"SearchName\" TYPE=TEXT SIZE=45> </TD></TR>\n");          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Naziv (obavezno): </TD> <TD ALIGN=LEFT VALIGN=TOP> <INPUT NAME=\"SearchName\" TYPE=TEXT SIZE=45> </TD></TR>\n");
4704    
4705          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Search Description: </TD> <TD ALIGN=LEFT VALIGN=TOP> <TEXTAREA INPUT NAME=\"SearchDescription\" COLS=45 ROWS=6 WRAP=VIRTUAL></TEXTAREA> </TD></TR>\n");          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Opis: </TD> <TD ALIGN=LEFT VALIGN=TOP> <TEXTAREA INPUT NAME=\"SearchDescription\" COLS=45 ROWS=6 WRAP=VIRTUAL></TEXTAREA> </TD></TR>\n");
4706    
4707          if ( defined($main::FormData{'RfDocument'}) ) {          if ( defined($main::FormData{'RfDocument'}) ) {
4708                  print("<TR>\n");                  print("<TR>\n");
# Line 4718  sub vGetSaveSearch { Line 4713  sub vGetSaveSearch {
4713    
4714          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");
4715    
4716          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Kliknite na ovaj kvadratiæ ako ¾elite postojeæi folder s istim imenom zamijeniti ovim novim: </TD> <TD ALIGN=LEFT VALIGN=TOP><INPUT TYPE=\"checkbox\" NAME=\"OverWrite\" VALUE=\"yes\"> </TD></TR>\n");          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Kliknite na ovaj kvadratiæ ako ¾elite postojeæi upit s istim imenom zamijeniti ovim novim: </TD> <TD ALIGN=LEFT VALIGN=TOP><INPUT TYPE=\"checkbox\" NAME=\"OverWrite\" VALUE=\"yes\"> </TD></TR>\n");
4717                    
4718                    
4719                    
# Line 4727  sub vGetSaveSearch { Line 4722  sub vGetSaveSearch {
4722                    
4723                  print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");                  print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");
4724    
4725                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Check to run this search on a regular basis: </TD> <TD ALIGN=LEFT VALIGN=TOP> <INPUT TYPE=CHECKBOX VALUE=\"yes\" NAME=\"Regular\"> </TD></TR>\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Kliknite ovaj kvadratiæ ukoliko ¾elite automatsko periodièko pretra¾ivanje po ovom upitu: </TD> <TD ALIGN=LEFT VALIGN=TOP> <INPUT TYPE=CHECKBOX VALUE=\"yes\" NAME=\"Regular\"> </TD></TR>\n");
4726    
4727                  # Send a pull-down which allows the user to select the automatic search frequency                  # Send a pull-down which allows the user to select the automatic search frequency
4728                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Select the search frequency: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"SearchFrequency\">\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Odaberite frekvenciju automatskog pretra¾ivanja: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"SearchFrequency\">\n");
4729                  foreach $ValueEntry ( @main::SearchFrequencies ) {                  foreach $ValueEntry ( @main::SearchFrequencies ) {
4730                          $Value = (defined($SearchFrequency) && ($SearchFrequency eq $ValueEntry)) ? "SELECTED" : "";                          $Value = (defined($SearchFrequency) && ($SearchFrequency eq $ValueEntry)) ? "SELECTED" : "";
4731                          print("<OPTION VALUE=\"$ValueEntry\" $Value> $ValueEntry \n");                          print("<OPTION VALUE=\"$ValueEntry\" $Value> $ValueEntry \n");
# Line 4738  sub vGetSaveSearch { Line 4733  sub vGetSaveSearch {
4733                  print("</SELECT> </TD></TR>\n");                  print("</SELECT> </TD></TR>\n");
4734    
4735                  # Send a pull-down which allows the user to select the automatic search delivery format                  # Send a pull-down which allows the user to select the automatic search delivery format
4736                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Select the delivery format: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DeliveryFormat\">\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Odaberite format za isporuku rezultata pretra¾ivanja: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DeliveryFormat\">\n");
4737                  foreach $ValueEntry ( sort(keys(%main::DeliveryFormats)) ) {                  foreach $ValueEntry ( sort(keys(%main::DeliveryFormats)) ) {
4738                          $Value = (defined($DeliveryFormat) && ($DeliveryFormat eq  $ValueEntry)) ? "SELECTED" : "";                          $Value = (defined($DeliveryFormat) && ($DeliveryFormat eq  $ValueEntry)) ? "SELECTED" : "";
4739                          print("<OPTION VALUE=\"$ValueEntry\" $Value> $main::DeliveryFormats{$ValueEntry}\n");                          print("<OPTION VALUE=\"$ValueEntry\" $Value> $main::DeliveryFormats{$ValueEntry}\n");
# Line 4746  sub vGetSaveSearch { Line 4741  sub vGetSaveSearch {
4741                  print("</SELECT> </TD></TR>\n");                  print("</SELECT> </TD></TR>\n");
4742    
4743                  # Send a pull-down which allows the user to select the automatic search delivery method                  # Send a pull-down which allows the user to select the automatic search delivery method
4744                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Select the delivery method: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DeliveryMethod\">\n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP> Odaberite metodu isporuke: </TD> <TD ALIGN=LEFT VALIGN=TOP> <SELECT NAME=\"DeliveryMethod\">\n");
4745                  foreach $ValueEntry ( sort(keys(%main::DeliveryMethods)) ) {                  foreach $ValueEntry ( sort(keys(%main::DeliveryMethods)) ) {
4746                          $Value = (defined($DeliveryMethod) && ($DeliveryMethod eq  $ValueEntry)) ? "SELECTED" : "";                          $Value = (defined($DeliveryMethod) && ($DeliveryMethod eq  $ValueEntry)) ? "SELECTED" : "";
4747                          print("<OPTION VALUE=\"$ValueEntry\" $Value> $main::DeliveryMethods{$ValueEntry}\n");                          print("<OPTION VALUE=\"$ValueEntry\" $Value> $main::DeliveryMethods{$ValueEntry}\n");
# Line 4867  sub vSetSaveSearch { Line 4862  sub vSetSaveSearch {
4862                          && !(defined($main::FormData{'OverWrite'}) && ($main::FormData{'OverWrite'} eq "yes")) ) {                          && !(defined($main::FormData{'OverWrite'}) && ($main::FormData{'OverWrite'} eq "yes")) ) {
4863    
4864                  # There is already a saved search with this name, so we suggest corrective action to the user.                  # There is already a saved search with this name, so we suggest corrective action to the user.
4865                  print("<H3> Saving a Search: </H3>\n");                  print("<H3> Èuvanje upita: </H3>\n");
4866                  print("<H3><CENTER> Sorry, there is already a saved search with this name. </CENTER></H3>\n");                  print("<H3><CENTER> Veæ postoji upit pod ovim imenom. </CENTER></H3>\n");
4867                  print("<P>\n");                  print("<P>\n");
4868                  print("Click <B>'back'</B> on your browser, change the <B>'search name'</B> and try again, \n");                  print("Kliknite <B>'back'</B> u browseru, promijenite <B>'Naziv'</B> i poku¹ajte ponovo, \n");
4869                  print("alternatively you can check the box which allows you to automatically over-write a saved search with the same name.\n");                  print("ili kliknuti na kvadratiæ koji vam omoguæava da automatski presnimite saèuvani upit s istim imenom.\n");
4870                  print("<P>\n");                  print("<P>\n");
4871    
4872                  goto bailFromSetSaveSearch;                  goto bailFromSetSaveSearch;
# Line 4885  sub vSetSaveSearch { Line 4880  sub vSetSaveSearch {
4880          if ( !defined($Value) && (defined($main::FormData{'Regular'}) && ($main::FormData{'Regular'} eq "yes")) ) {          if ( !defined($Value) && (defined($main::FormData{'Regular'}) && ($main::FormData{'Regular'} eq "yes")) ) {
4881                                    
4882                  # Regular delivery was requested, but the email address was not specified in the settings                  # Regular delivery was requested, but the email address was not specified in the settings
4883                  print("<H3> Saving a Search: </H3>\n");                  print("<H3> Èuvanje upita: </H3>\n");
4884                  print("<H3><CENTER> Sorry, your email address is not specified in your settings. </CENTER></H3>\n");                  print("<H3><CENTER> E-mail adresa nije specificirana u va¹im postavkama. </CENTER></H3>\n");
4885                  print("<P>\n");                  print("<P>\n");
4886                  print("You need to specify your email address in your settings if you want this search to run on a regular basis, \n");                  print("Potrebno je specificirati e-mail adresu ukoliko ¾elite da se pretra¾ivanje po ovom upitu odvije periodièno. \n");
4887                  print("without your email address, we are not able to send you the search result. <P>\n");                  print("bez e-mail adrese, nismo vam u moguænosti isporuèiti rezultate. <P>\n");
4888                  print("Click the <B>'Settings'</B> option from the menu sidebar, fill in your email address and save the settings, \n");                  print("Kliknite na <B>'Korisnièke postavke'</B>, upi¹ite e-mail adresu i saèuvajte postavke, \n");
4889                  print("then click <B>'back'</B> on your browser three times to go back to the form which allows you to save a search.\n");                  print("nakon toga kliknite na <B>'back'</B> u svom browseru tri puta kako biste se vratili na formu koja vam nudi da saèuvate upit.\n");
4890                  print("<P>\n");                  print("<P>\n");
4891    
4892                  goto bailFromSetSaveSearch;                  goto bailFromSetSaveSearch;
# Line 5018  sub vListSavedSearch { Line 5013  sub vListSavedSearch {
5013    
5014    
5015          # Print out the saved searches          # Print out the saved searches
5016          print("<H3> Saèuvana pretra¾ivanja: </H3>\n");          print("<H3> Saèuvani upiti: </H3>\n");
5017                    
5018    
5019    
# Line 5034  sub vListSavedSearch { Line 5029  sub vListSavedSearch {
5029                    
5030                  print("<TR><TD ALIGN=RIGHT VALIGN=TOP COLSPAN=3> \n");                  print("<TR><TD ALIGN=RIGHT VALIGN=TOP COLSPAN=3> \n");
5031                  print("<SELECT NAME=\"Action\">\n");                  print("<SELECT NAME=\"Action\">\n");
5032                  print("<OPTION VALUE=\"ActivateSavedSearch\">Aktiviraj oznaèena saèuvana pretra¾ivanja\n");                  print("<OPTION VALUE=\"ActivateSavedSearch\">Ukljuèi periodièno automatsko pretra¾ivanje po odabranim upitima\n");
5033                  print("<OPTION VALUE=\"SuspendSavedSearch\">Stavi u mirovanje oznaèena saèuvana pretra¾ivanja\n");                  print("<OPTION VALUE=\"SuspendSavedSearch\">Iskljuèi periodièno automatsko pretra¾ivanje po odabranim upitima\n");
5034                  print("<OPTION VALUE=\"DeleteSavedSearch\">Obri¹i oznaèena saèuvana pretra¾ivanja\n");                  print("<OPTION VALUE=\"DeleteSavedSearch\">Obri¹i oznaèene saèuvane upite\n");
5035                  print("</SELECT>\n");                  print("</SELECT>\n");
5036                  print("<INPUT TYPE=SUBMIT VALUE=\"Do It!\">\n");                  print("<INPUT TYPE=SUBMIT VALUE=\"Do It!\">\n");
5037                  print("</TD></TR>\n");                  print("</TD></TR>\n");
# Line 5113  sub vListSavedSearch { Line 5108  sub vListSavedSearch {
5108    
5109                                                    
5110                          if ( defined($SearchFrequency) || defined($DeliveryFormat) || defined($DeliveryMethod) ) {                          if ( defined($SearchFrequency) || defined($DeliveryFormat) || defined($DeliveryMethod) ) {
5111                                  print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP> Run: </TD> <TD ALIGN=LEFT VALIGN=TOP> $SearchFrequency </TD></TR>\n");                                  print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP NOWRAP> Automatsko pokretanje: </TD> <TD ALIGN=LEFT VALIGN=TOP> $SearchFrequency </TD></TR>\n");
5112                                  print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP> Delivery format: </TD> <TD ALIGN=LEFT VALIGN=TOP> $main::DeliveryFormats{$DeliveryFormat} </TD></TR>\n");                                  print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP> Format isporuke: </TD> <TD ALIGN=LEFT VALIGN=TOP> $main::DeliveryFormats{$DeliveryFormat} </TD></TR>\n");
5113                                  print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP> Delivery method : </TD> <TD ALIGN=LEFT VALIGN=TOP> $main::DeliveryMethods{$DeliveryMethod} </TD></TR>\n");                                  print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP> Methoda isporuke: </TD> <TD ALIGN=LEFT VALIGN=TOP> $main::DeliveryMethods{$DeliveryMethod} </TD></TR>\n");
5114                          }                          }
5115                                                    
5116                          $Value = &sGetPrintableDateFromTime($CreationTime);                          $Value = &sGetPrintableDateFromTime($CreationTime);
5117                          print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP> Datum kreiranja: </TD> <TD ALIGN=LEFT VALIGN=TOP> $Value </TD></TR>\n");                          print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP NOWRAP> Datum kreiranja: </TD> <TD ALIGN=LEFT VALIGN=TOP> $Value </TD></TR>\n");
5118    
5119                                                    
5120                          if ( defined($SearchFrequency) || defined($DeliveryFormat) || defined($DeliveryMethod) ) {                          if ( defined($SearchFrequency) || defined($DeliveryFormat) || defined($DeliveryMethod) ) {
5121    
5122                                  if ( defined($LastRunTime) ) {                                  if ( defined($LastRunTime) ) {
5123                                          $Value = &sGetPrintableDateFromTime($LastRunTime);                                          $Value = &sGetPrintableDateFromTime($LastRunTime);
5124                                          print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP> Last Run: </TD> <TD ALIGN=LEFT VALIGN=TOP> $Value </TD></TR>\n");                                          print("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP NOWRAP> Zadnje pokretanje: </TD> <TD ALIGN=LEFT VALIGN=TOP> $Value </TD></TR>\n");
5125                                  }                                  }
5126    
5127                                  printf("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP> Status: </TD> <TD ALIGN=LEFT VALIGN=TOP> %s </TD></TR>",                                  printf("<TR><TD></TD><TD ALIGN=LEFT VALIGN=TOP> Status: </TD> <TD ALIGN=LEFT VALIGN=TOP> %s </TD></TR>",
# Line 5134  sub vListSavedSearch { Line 5129  sub vListSavedSearch {
5129    
5130                          }                          }
5131                                    
5132                          print("<TR><TD ALIGN=LEFT VALIGN=TOP></TD><TD ALIGN=LEFT VALIGN=TOP></TD> <TD ALIGN=LEFT VALIGN=TOP> <A HREF=\"$ENV{'SCRIPT_NAME'}/GetSavedSearch?SavedSearchObject=$SavedSearchEntry\" OnMouseOver=\"self.status='Display the search form with this search'; return true\"> [ Otvori formu za pretra¾ivanje s upisanim ovim pretra¾ivanjem ] </A> </TD></TR>\n");                          print("<TR><TD ALIGN=LEFT VALIGN=TOP></TD><TD ALIGN=LEFT VALIGN=TOP></TD> <TD ALIGN=LEFT VALIGN=TOP> <A HREF=\"$ENV{'SCRIPT_NAME'}/GetSavedSearch?SavedSearchObject=$SavedSearchEntry\" OnMouseOver=\"self.status='Display the search form with this search'; return true\"> [ Otvori formu za pretra¾ivanje s upisanim ovim upitom ] </A> </TD></TR>\n");
5133                  }                  }
5134                                    
5135                  print("</FORM></TABLE>\n");                  print("</FORM></TABLE>\n");
5136          }          }
5137          else {          else {
5138                  print("<H3><CENTER> Sorry, currently, there are no saved searches. </CENTER></H3>\n");                  print("<H3><CENTER> Trenutno nemate saèuvanih upita!. </CENTER></H3>\n");
5139          }          }
5140                    
5141                    
# Line 5271  sub vProcessSavedSearch { Line 5266  sub vProcessSavedSearch {
5266                    
5267          # Set the title          # Set the title
5268          if ( $ENV{'PATH_INFO'} eq "/DeleteSavedSearch" ) {          if ( $ENV{'PATH_INFO'} eq "/DeleteSavedSearch" ) {
5269                  $Title = "Obri¹i saèuvana pretra¾ivanja";                  $Title = "Brisanje saèuvanih pretra¾ivanja";
5270          }          }
5271          elsif ( $ENV{'PATH_INFO'} eq "/ActivateSavedSearch" ) {          elsif ( $ENV{'PATH_INFO'} eq "/ActivateSavedSearch" ) {
5272                  $Title = "Aktiviraj saèuvana pretra¾ivanja";                  $Title = "Ukljuèivanje automatskog periodiènog pretra¾ivanja";
5273          }          }
5274          elsif ( $ENV{'PATH_INFO'} eq "/SuspendSavedSearch" ) {          elsif ( $ENV{'PATH_INFO'} eq "/SuspendSavedSearch" ) {
5275                  $Title = "Stavi u mirovanje saèuvana pretra¾ivanja";                  $Title = "Iskljuèivanje automatskog periodiènog pretra¾ivanja";
5276          }          }
5277                    
5278                    
# Line 5292  sub vProcessSavedSearch { Line 5287  sub vProcessSavedSearch {
5287          # Check to see if the saved search object is defined          # Check to see if the saved search object is defined
5288          if ( ! defined($main::FormData{'SavedSearchObject'}) ) {          if ( ! defined($main::FormData{'SavedSearchObject'}) ) {
5289                  # Could not find the saved search object                  # Could not find the saved search object
5290                  print("<H3><CENTER> Sorry, no searches were selected. </CENTER></H3>\n");                  print("<H3><CENTER>Niste odabrali niti jedan upit. </CENTER></H3>\n");
5291                  print("<P>\n");                  print("<P>\n");
5292                  print("You need to select at least one saved search in order to be able to perform an action on it.\n");                  print("Potrebno je odabrati barem jedan saèuvani upit nad kojim æe se izvr¹iti akcija.\n");
5293                  print("<P>\n");                  print("<P>\n");
5294                  goto bailFromProcessSavedSearch;                  goto bailFromProcessSavedSearch;
5295          }          }
# Line 5323  sub vProcessSavedSearch { Line 5318  sub vProcessSavedSearch {
5318    
5319                  if ( $ENV{'PATH_INFO'} eq "/DeleteSavedSearch" ) {                  if ( $ENV{'PATH_INFO'} eq "/DeleteSavedSearch" ) {
5320                          if ( unlink($SavedSearchFilePath) ) {                          if ( unlink($SavedSearchFilePath) ) {
5321                                  printf("<P>Successfully deleted: %s\n", $Value{'SearchName'});                                  printf("<P>Uspje¹no pobrisano: %s\n", $Value{'SearchName'});
5322                          }                          }
5323                          else {                          else {
5324                                  printf("<P>Failed to delete: %s\n", $Value{'SearchName'});                                  printf("<P>Nije pobrisano: %s\n", $Value{'SearchName'});
5325                          }                          }
5326                  }                  }
5327                  elsif ( ($ENV{'PATH_INFO'} eq "/ActivateSavedSearch") || ($ENV{'PATH_INFO'} eq "/SuspendSavedSearch") ) {                  elsif ( ($ENV{'PATH_INFO'} eq "/ActivateSavedSearch") || ($ENV{'PATH_INFO'} eq "/SuspendSavedSearch") ) {
# Line 5340  sub vProcessSavedSearch { Line 5335  sub vProcessSavedSearch {
5335                                  $Value{'SearchStatus'} =  ($ENV{'PATH_INFO'} eq "/ActivateSavedSearch") ? "Active" : "Inactive" ;                                  $Value{'SearchStatus'} =  ($ENV{'PATH_INFO'} eq "/ActivateSavedSearch") ? "Active" : "Inactive" ;
5336                                                                    
5337                                  if ( &iSaveXMLFileFromHash($SavedSearchFilePath, "SavedSearch", %Value) ) {                                  if ( &iSaveXMLFileFromHash($SavedSearchFilePath, "SavedSearch", %Value) ) {
5338                                          printf("<P>Successfully %s: %s\n",                                          printf("<P>Uspje¹no %s: %s\n",
5339                                                          ($ENV{'PATH_INFO'} eq "/ActivateSavedSearch") ? "activated" : "suspended", $Value{'SearchName'});                                                          ($ENV{'PATH_INFO'} eq "/ActivateSavedSearch") ? "ukljuèeno" : "iskljuèeno", $Value{'SearchName'});
5340                                  }                                  }
5341                                  else {                                  else {
5342                                          printf("<P>Failed to %s: %s\n",                                          printf("<P>Nije %s: %s\n",
5343                                                          ($ENV{'PATH_INFO'} eq "/ActivateSavedSearch") ? "activated" : "suspended", $Value{'SearchName'});                                                          ($ENV{'PATH_INFO'} eq "/ActivateSavedSearch") ? "ukljuèeno" : "iskljuèeno", $Value{'SearchName'});
5344                                  }                                  }
5345                          }                          }
5346                  }                  }
# Line 5447  sub vGetSaveFolder { Line 5442  sub vGetSaveFolder {
5442    
5443    
5444          # Print up the title          # Print up the title
5445          print("<H3> Snimanje foldera s dokumentima: </H3>\n");          print("<H3> Kreiranje korisnièkog foldera: </H3>\n");
5446    
5447          # Print up the form          # Print up the form
5448          printf("<FORM ACTION=\"$ENV{'SCRIPT_NAME'}/SetSaveFolder\" onSubmit=\"return checkForm(this)\" METHOD=POST>\n");          printf("<FORM ACTION=\"$ENV{'SCRIPT_NAME'}/SetSaveFolder\" onSubmit=\"return checkForm(this)\" METHOD=POST>\n");
# Line 5456  sub vGetSaveFolder { Line 5451  sub vGetSaveFolder {
5451          print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>\n");          print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>\n");
5452    
5453          # Send the buttons          # Send the buttons
5454          print("<TR><TD ALIGN=RIGHT VALIGN=TOP COLSPAN=2> <INPUT TYPE=RESET VALUE=\"Pobri¹i polja\"> <INPUT TYPE=SUBMIT VALUE=\"Save this Folder\"> </TD></TR>\n");          print("<TR><TD ALIGN=RIGHT VALIGN=TOP COLSPAN=2> <INPUT TYPE=SUBMIT VALUE=\"Saèuvaj folder\"> <INPUT TYPE=RESET VALUE=\"Vrati poèetne vrijednosti\"> </TD></TR>\n");
5455    
5456          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");
5457                    
# Line 5496  sub vGetSaveFolder { Line 5491  sub vGetSaveFolder {
5491                  # Delete the old content                  # Delete the old content
5492                  delete($main::FormData{'Documents'});                  delete($main::FormData{'Documents'});
5493    
5494    ###FIX
5495                  if ( defined($main::FormData{'Document'}) ) {                  if ( defined($main::FormData{'Document'}) ) {
5496                          print("<TR>\n");                          print("<TR>\n");
5497                          &bDisplayDocuments("Document", $main::FormData{'Document'}, "Document", undef, undef, 1);                          &bDisplayDocuments("Document", $main::FormData{'Document'}, "Document", undef, undef, 1);
# Line 5833  sub vSetSaveFolder { Line 5828  sub vSetSaveFolder {
5828                          }                          }
5829                  }                  }
5830                    
5831                  print("<H3> Saving a Document Folder: </H3>\n");                  print("<H3> Èuvanje korisnièkog foldera: </H3>\n");
5832                  print("<P>\n");                  print("<P>\n");
5833                  print("<H3><CENTER> Your document folder was successfully saved. </CENTER></H3>\n");                  print("<H3><CENTER> Va¹ folder je uspje¹no saèuvan! </CENTER></H3>\n");
5834                                    
5835                                    
5836          }          }
# Line 5907  sub vListFolder { Line 5902  sub vListFolder {
5902    
5903                    
5904          # Print out the document folders          # Print out the document folders
5905          print("<H3> Folderi: </H3>\n");          print("<H3> Korisnièki folderi: </H3>\n");
5906                    
5907    
5908          # Get the document folder hash          # Get the document folder hash
# Line 6304  sub vGetFolder { Line 6299  sub vGetFolder {
6299          undef(%Value);          undef(%Value);
6300          &vSendMenuBar(%Value);          &vSendMenuBar(%Value);
6301                    
6302          print("<H3> Document Folder: </H3>\n");          print("<H3> Korisnièki folder: </H3>\n");
6303    
6304                    
6305          # Start the form          # Start the form
# Line 6316  sub vGetFolder { Line 6311  sub vGetFolder {
6311                  print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>\n");                  print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>\n");
6312                  print("<TR><TD ALIGN=LEFT VALIGN=TOP>Odabranima se smatraju svi rezultati ukoliko niste uèinili nikakav dodatan odabir.</TD><TD ALIGN=RIGHT VALIGN=TOP> \n");                  print("<TR><TD ALIGN=LEFT VALIGN=TOP>Odabranima se smatraju svi rezultati ukoliko niste uèinili nikakav dodatan odabir.</TD><TD ALIGN=RIGHT VALIGN=TOP> \n");
6313                  print("<SELECT NAME=\"Action\">\n");                  print("<SELECT NAME=\"Action\">\n");
6314                  print("<OPTION VALUE=\"GetDocument\">Prika¾i odabrane rezultates\n");                  print("<OPTION VALUE=\"GetDocument\">Prika¾i odabrane rezultate\n");
6315                  if ( $main::ConfigurationData{'allow-similiar-search'} eq "yes" ) {                  if ( $main::ConfigurationData{'allow-similiar-search'} eq "yes" ) {
6316                          print("<OPTION VALUE=\"GetSimilarDocument\">Prika¾i rezultate sliène odabranim rezultatima\n");                          print("<OPTION VALUE=\"GetSimilarDocument\">Prika¾i rezultate sliène odabranim rezultatima\n");
6317                  }                  }
6318                  if ( $main::ConfigurationData{'allow-relevance-feedback-searches'} eq "yes" ) {                  if ( $main::ConfigurationData{'allow-relevance-feedback-searches'} eq "yes" ) {
6319                          print("<OPTION VALUE=\"GetSearchResults\">Run search with selected documents as relevance feedback\n");                          print("<OPTION VALUE=\"GetSearchResults\">Run search with selected documents as relevance feedback\n");
6320                  }                  }
6321                  print("<OPTION VALUE=\"DeleteDocument&DocumentFolderObject=$main::FormData{'DocumentFolderObject'}\">Delete selected documents from this document folder\n");                  print("<OPTION VALUE=\"DeleteDocument&DocumentFolderObject=$main::FormData{'DocumentFolderObject'}\">Obri¹i odabrane jedinice iz ovog foldera\n");
6322                  print("<OPTION VALUE=\"GetSaveFolder&FromDocumentFolderObject=$main::FormData{'DocumentFolderObject'}\">Move selected documents to a new document folder\n");                  print("<OPTION VALUE=\"GetSaveFolder&FromDocumentFolderObject=$main::FormData{'DocumentFolderObject'}\">Preseli odabrane jedinice u novi folder\n");
6323                    
6324                                    
6325                  # Get the document folder hash                  # Get the document folder hash
# Line 6343  sub vGetFolder { Line 6338  sub vGetFolder {
6338                          $DocumentFolderEntry = ($DocumentFolderEntry =~ /^$main::UserAccountDirectoryPath\/(.*)/) ? $1 : $DocumentFolderEntry;                          $DocumentFolderEntry = ($DocumentFolderEntry =~ /^$main::UserAccountDirectoryPath\/(.*)/) ? $1 : $DocumentFolderEntry;
6339                          $DocumentFolderEntry = &lEncodeURLData($DocumentFolderEntry);                          $DocumentFolderEntry = &lEncodeURLData($DocumentFolderEntry);
6340                                                    
6341                          print("<OPTION VALUE=\"SetSaveFolder&DocumentFolderObject=$DocumentFolderEntry&FromDocumentFolderObject=$main::FormData{'DocumentFolderObject'}\">Move selected documents to the '$FolderName' document folder\n");                          print("<OPTION VALUE=\"SetSaveFolder&DocumentFolderObject=$DocumentFolderEntry&FromDocumentFolderObject=$main::FormData{'DocumentFolderObject'}\">Preseli odabrane jedinice u folder '$FolderName' \n");
6342                  }                  }
6343                    
6344                  print("</SELECT>\n");                  print("</SELECT>\n");
# Line 6360  sub vGetFolder { Line 6355  sub vGetFolder {
6355          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Naziv: </TD> <TD ALIGN=LEFT VALIGN=TOP> $ArticleFolder{'FolderName'} </TD></TR>\n");          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Naziv: </TD> <TD ALIGN=LEFT VALIGN=TOP> $ArticleFolder{'FolderName'} </TD></TR>\n");
6356    
6357          # Print the folder description          # Print the folder description
6358          $ArticleFolder{'FolderDescription'} = defined($ArticleFolder{'FolderDescription'}) ? $ArticleFolder{'FolderDescription'} : "(No description defined)";          $ArticleFolder{'FolderDescription'} = defined($ArticleFolder{'FolderDescription'}) ? $ArticleFolder{'FolderDescription'} : "(Nije naveden)";
6359          $ArticleFolder{'FolderDescription'} =~ s/\n/<BR>/g;          $ArticleFolder{'FolderDescription'} =~ s/\n/<BR>/g;
6360          $ArticleFolder{'FolderDescription'} =~ s/\r/<BR>/g;          $ArticleFolder{'FolderDescription'} =~ s/\r/<BR>/g;
6361          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Opis: </TD> <TD ALIGN=LEFT VALIGN=TOP> $ArticleFolder{'FolderDescription'} </TD></TR>\n");          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Opis: </TD> <TD ALIGN=LEFT VALIGN=TOP> $ArticleFolder{'FolderDescription'} </TD></TR>\n");
# Line 6370  sub vGetFolder { Line 6365  sub vGetFolder {
6365          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Datum kreiranja: </TD> <TD ALIGN=LEFT VALIGN=TOP> $Value </TD></TR>\n");          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Datum kreiranja: </TD> <TD ALIGN=LEFT VALIGN=TOP> $Value </TD></TR>\n");
6366                    
6367          $Value = &sGetPrintableDateFromTime($ArticleFolder{'UpdateTime'});          $Value = &sGetPrintableDateFromTime($ArticleFolder{'UpdateTime'});
6368          print("<TR><TD ALIGN=LEFT VALIGN=TOP> Datum zadnje promijene: </TD> <TD ALIGN=LEFT VALIGN=TOP> $Value </TD></TR>\n");          print("<TR><TD ALIGN=LEFT VALIGN=TOP NOWRAP> Datum zadnje promijene: </TD> <TD ALIGN=LEFT VALIGN=TOP> $Value </TD></TR>\n");
6369                    
6370          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");          print("<TR><TD ALIGN=CENTER VALIGN=TOP COLSPAN=2><HR WIDTH=50%></TD></TR>\n");
6371    
# Line 7403  sub ShowDatabaseCheckBoxes { Line 7398  sub ShowDatabaseCheckBoxes {
7398          }          }
7399                                    
7400          print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>\n");          print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>\n");
7401            print "<tr><td colspan=3 align=\"center\">
7402                    <font size=-1>Oznaèi
7403                            <a href=\"javascript:SetChecked(1)\">sve</a>,
7404                            <a href=\"javascript:SetChecked(0)\">niti jednu</a>.
7405                    </font>
7406                    </td></tr>";
7407    
7408          my @html_database;          my @html_database;
7409    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.26