/[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

Contents of /search/config.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations)
Wed Jul 17 18:37:39 2002 UTC (21 years, 8 months ago) by dpavlin
Branch: MAIN
Changes since 1.7: +17 -3 lines
podrska za casopise (polja, pretrazivanje)

1 #!/usr/bin/perl
2
3 use strict;
4
5 ### this is for search
6
7 # define fileds in basic search
8 @main::NormalSearchFieldNames = (
9 '700+',
10 '200+',
11 '610',
12 '210+',
13 'ISN',
14 );
15 $main::NormalSearchDropdowns = 3 ;
16
17 # define fileds in Advanced search
18 @main::AdvancedSearchFieldNames = (
19 '700+',
20 '200+',
21 '610',
22 '210+',
23 '225',
24 '300+',
25 '330',
26 '464',
27 '675',
28 '686',
29 '990',
30 '991',
31 'ISN',
32 'MFN',
33 '215+',
34 '101',
35 );
36 $main::AdvancedSearchDropdowns = 4 ;
37
38 ### this is for output
39
40 # Field Names
41 %default::FieldNames = (
42 '700+', 'Autor(i)',
43 '200+', 'Naslov',
44 '205', 'Izdanje',
45 '210+', 'Izdavanje',
46 '215+', 'Materijalni opis',
47 '101', 'Jezik',
48 '225', 'Nakladnièka cjelina',
49 '300+', 'Napomena',
50 '330', 'Sadr¾aj',
51 '423', 'Prikriveni radovi',
52 '464', 'Analitièki radovi',
53 '610', 'Kljuène rijeèi',
54 '675+', 'Klasifik. oznaka',
55 '990', 'Signatura',
56 '991', 'Inventarni broj',
57 'ISBN', 'ISBN',
58 'knjiz','Knji¾nica',
59 'sv', 'Podaci o svescima',
60 'ISSN', 'ISSN',
61 '326', 'Uèestalost izla¾enja',
62 '992', 'Podaci o fondu',
63 'tip', 'Tip graðe',
64 );
65
66
67 # Field Display Order
68 @default::FieldDisplayOrder = (
69 'ISBN',
70 'ISSN',
71 '700+',
72 '200+',
73 '205',
74 '210+',
75 '326',
76 '215+',
77 '101',
78 '225',
79 '300+',
80 '330',
81 '423',
82 '464',
83 '610',
84 '675+',
85 '990',
86 '991',
87 '992',
88 'sv',
89 'knjiz',
90 'tip',
91 );
92
93 # separators
94 %default::Separator = (
95 '700+', '; ',
96 '990', ' ',
97 '991', ', ',
98 '300+', '.- ',
99 '225', ', ',
100 '610', ' * ',
101 '101', '; '
102
103 );
104
105 # tip gradje
106 %default::tip = (
107 'LIBRI', "Knjiga",
108 'ARTI', "Èlanak/poglavlje",
109 'PERI', "Èasopis",
110 );
111
112 # Search.cgi Configuration Constrants
113
114 # List of default configuration settings
115 %main::DefaultSettings = (
116 'lowest-year', '1990',
117 'max-score', '1000',
118 'allow-summary-displays','no',
119 'allow-similiar-search','no',
120 'allow-regular-searches','no',
121 'deliver-empty-results-from-regular-search','no',
122 # 'allow-relevance-feedback-searches','no',
123 'mailer-application','/usr/lib/sendmail',
124 'server-log','mps.log',
125 'output-colums','yes',
126 'show-nr-colums',3,
127 'show-past-date-list','no',
128 'database-for-SearchFieldDescriptions','ps',
129 );
130
131 # Hash of icon/images names that we use
132 %main::ImageNames = (
133 'banner', 'banner.gif',
134 'collapse', 'collapse.gif',
135 'expand', 'expand.gif',
136 );
137
138 # Javascript magic
139 $main::JavaScript_SetChecked = '<SCRIPT LANGUAGE="JavaScript">
140 <!-- hide
141 function SetChecked(val) {
142 dml=document.Search;
143 len = dml.elements.length;
144 var i=0;
145 for( i=0 ; i<len ; i++) {
146 if (dml.elements[i].name==\'Database\') {
147 dml.elements[i].checked=val;
148 }
149 }
150 }
151 // -->
152 </SCRIPT>
153 ';
154
155 1;

  ViewVC Help
Powered by ViewVC 1.1.26