source: main/trunk/greenstone2/runtime-src/src/recpt/gsdl_modules_cfg.h@ 30681

Last change on this file since 30681 was 30681, checked in by ak19, 8 years ago

3 new strings introduced by Kathy contained the :, which is used as a separator in the properties file. Although Kathy tried to escape it with a backslash, it broke GTI because GTI doesn't recognise the backslash as a separator and all kinds of weird things happened from then on, so that the Gujarati translator kept having to translte the current date rather than a real GS3 interface string. Modified the gti.pl code (to be committed) and the new strings that Kathy introduced, so that hopefully, GTI can now handle it. Property names and values will be split at the right-most separator character now (= or :) and any on the left should not be escaped.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1#ifndef GSDL_MODULES_CFG__H
2#define GSDL_MODULES_CFG__H
3
4/**********************************************************************
5 *
6 * gsdl_modules_cfg.h --
7 * Copyright (C) 2004 The New Zealand Digital Library Project
8 *
9 * A component of the Greenstone digital library software
10 * from the New Zealand Digital Library Project at the
11 * University of Waikato, New Zealand.
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 *
27 *********************************************************************/
28#include "gsdlconf.h"
29
30// BASE CONFIG
31#define GSDL_USE_PER_COLLECTION_SETTINGS
32#define GSDL_SOURCE_DIRECTORY "files"
33
34// FNORD CONFIG
35#define GSDL_USE_MULTILANGUAGE_INTERFACE
36
37//RECEPTIONIST CONFIG
38#define GSDL_USE_SESSIONS
39
40//QUERY CONFIG
41#define GSDL_USE_REMOVE_TAG_TERMS
42#undef GSDL_USE_SAFEM_QUERY_FORMAT
43
44//DOCUMENT CONFIG
45// ONLY ONE GSDL_SKIP_* option can be enabled
46#define GSDL_SKIP_ONLY_EMPTY_DOC
47#undef GSDL_SKIP_ALL_EMPTY_DOC_PARTS
48#undef GSDL_USE_DOCUMENT_ASSOC_LANGS
49#define GSDL_USE_CL_SINGLE_DOCUMENT
50
51
52//ACTION MODULES
53#define GSDL_USE_AUTHEN_ACTION
54#define GSDL_USE_BROWSE_ACTION
55#define GSDL_USE_COLLECTOR_ACTION
56#define GSDL_USE_DEPOSITOR_ACTION
57#define GSDL_USE_EXTLINK_ACTION
58#define GSDL_USE_GTI_ACTION
59
60#ifdef ENABLE_MGPP
61#define GSDL_USE_PHIND_ACTION
62#endif
63
64#define GSDL_USE_PING_ACTION
65#define GSDL_USE_STATUS_ACTION
66#define GSDL_USE_TIP_ACTION
67#define GSDL_USE_USERS_ACTION
68#define GSDL_USE_WIZARD_ACTION
69
70#undef GSDL_USE_CL_DISPLAY_ACTION
71#undef GSDL_USE_COURSES_ACTION
72#undef GSDL_USE_DIR_BROWSE_ACTION
73#undef GSDL_USE_EXPORT_ACTION
74#undef GSDL_USE_GENERATOR_ACTION
75#undef GSDL_USE_INDEX_BROWSE_ACTION
76
77
78//BROWSER MODULES
79#undef GSDL_USE_CLASSIFIER_BROWSER
80#undef GSDL_USE_TREE_EX_CLASSIFIER_BROWSER
81#undef GSDL_USE_CLONE_BROWSER
82#define GSDL_USE_DATELIST_BROWSER
83#define GSDL_USE_HTML_BROWSER
84#define GSDL_USE_PAGED_BROWSER
85#define GSDL_USE_PHIND_BROWSER
86
87//FILTERS
88#undef GSDL_USE_DIR_BROWSEFILTER
89
90//BROWSERS ADD-IN
91#define GSDL_USE_BY_BOOK_MACROS
92#undef GSDL_USE_FLOAT_TOC
93
94#include "gsdl_compatibility_cfg.h"
95
96#endif //!GSDL_MODULES_CFG__H
Note: See TracBrowser for help on using the repository browser.