/[webpac-proto]/search/config.pm
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/config.pm

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

revision 1.6 by dpavlin, Tue Jun 25 15:25:14 2002 UTC revision 1.14 by dpavlin, Sun Oct 27 21:20:47 2002 UTC
# Line 10  use strict; Line 10  use strict;
10          '200+',          '200+',
11          '610',          '610',
12          '210+',          '210+',
13          'ISBN',          'ISN',
14  );  );
15  $main::NormalSearchDropdowns = 3 ;  $main::NormalSearchDropdowns = 3 ;
16    
# Line 28  $main::NormalSearchDropdowns = 3 ; Line 28  $main::NormalSearchDropdowns = 3 ;
28          '686',          '686',
29          '990',          '990',
30          '991',          '991',
31          'ISBN',          'ISN',
32          'MFN',          'MFN',
33          '215+',          '215+',
34          '101',          '101',
# Line 57  $main::AdvancedSearchDropdowns = 4 ; Line 57  $main::AdvancedSearchDropdowns = 4 ;
57          'ISBN', 'ISBN',          'ISBN', 'ISBN',
58          'knjiz','Knjižnica',          'knjiz','Knjižnica',
59          'sv',   'Podaci o svescima',          'sv',   'Podaci o svescima',
60            'ISSN', 'ISSN',
61            '326',  'Učestalost izlaženja',
62            '992',  'Podaci o fondu',
63            'tip',  'Tip građe',
64            '856',  'URI',
65  );  );
66    
67    
68  # Field Display Order  # Field Display Order
69  @default::FieldDisplayOrder = (  @default::FieldDisplayOrder = (
70          'ISBN',          'ISBN',
71            'ISSN',
72          '700+',          '700+',
73          '200+',          '200+',
74          '205',          '205',
75          '210+',          '210+',
76            '326',
77          '215+',          '215+',
78          '101',          '101',
79          '225',          '225',
# Line 78  $main::AdvancedSearchDropdowns = 4 ; Line 85  $main::AdvancedSearchDropdowns = 4 ;
85          '675+',          '675+',
86          '990',          '990',
87          '991',          '991',
88            '992',
89          'sv',          'sv',
90            '856',
91          'knjiz',          'knjiz',
92            'tip',
93  );  );
94    
95  # separators  # separators
# Line 95  $main::AdvancedSearchDropdowns = 4 ; Line 104  $main::AdvancedSearchDropdowns = 4 ;
104    
105  );  );
106    
107    # tip gradje (we'll try to read all those directories in your isis data dirs)
108    %default::tip = (
109            'LIBRI',        "Knjiga",
110    #       'ARTI',         "Članak/poglavlje",
111            'PERI',         "Časopis",
112    );
113    
114    # define mapping from types to html output and define order of display
115    @default::tip_html = (
116            # tip           # html output
117            'Knjiga',       "Knjiga",
118    #       'Članak/poglavlje',     "Članak/poglavlje",
119            'Časopis',      "Časopis",
120            'on-line',      "on-line izdanje",
121    );
122    
123    # chop URL to this len and add ...
124    $default::max_display_url_len = 80;
125    
126  # Search.cgi Configuration Constrants  # Search.cgi Configuration Constrants
127    
128  # List of default configuration settings  # List of default configuration settings
# Line 121  $main::AdvancedSearchDropdowns = 4 ; Line 149  $main::AdvancedSearchDropdowns = 4 ;
149          'expand',       'expand.gif',          'expand',       'expand.gif',
150  );  );
151    
152    # Javascript magic
153    $main::JavaScript_SetChecked = '<SCRIPT LANGUAGE="JavaScript">
154                    <!-- hide
155                    function SetChecked(val) {
156                            dml=document.Search;
157                            len = dml.elements.length;
158                            var i=0;
159                            for( i=0 ; i<len ; i++) {
160                                    if (dml.elements[i].name==\'Database\') {
161                                            dml.elements[i].checked=val;
162                                    }
163                            }
164                    }
165                    // -->
166                    </SCRIPT>
167                    ';
168    
169    # databases which don't have to be in database.cf (for example filled by
170    # other external script like web crawler)
171    @main::always_selected_databases = (
172            "sciencedirect",
173            "ebsco-buh-ft",
174            "ebsco-hch-ft",
175            "ebsco-aph-ft",
176            "ebsco-f5h-ft",
177            "ebsco-hph-ft",
178    );
179    
180  1;  1;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.26