File: config.php

package info (click to toggle)
opendb 0.62p9-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,544 kB
  • ctags: 3,560
  • sloc: php: 26,575; sql: 1,982; sh: 250; makefile: 54
file content (484 lines) | stat: -rw-r--r-- 28,110 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
<?php
//---------------------------------------------------------------------------------------------------
// Database configuration
$CONFIG_VARS['db_server.host'] = "localhost";	//OpenDb database host
$CONFIG_VARS['db_server.dbname'] = "opendb";//OpenDb database name
$CONFIG_VARS['db_server.username'] = "lender";	//OpenDb database user name
$CONFIG_VARS['db_server.passwd'] = "test";	//OpenDb user password 
//$CONFIG_VARS['db_server.table_prefix'] = "opendb_";//Specify a table prefix.  Include the '_' as well!
$CONFIG_VARS['db_server.debug-sql'] = FALSE;//Specify whether all SQL statements should be displayed in the page.

$CONFIG_VARS['session_handler.enable'] = FALSE;
// Note this table will not be prefixed, even if prefixing support is enabled.  You should include the 
// prefix in the session_table variable definition if required.
//$CONFIG_VARS['session_handler.session_table'] = "php_session";
//$CONFIG_VARS['session_handler.host'] = "localhost";
//$CONFIG_VARS['session_handler.dbname'] = "opendb";
//$CONFIG_VARS['session_handler.username'] = "lender";
//$CONFIG_VARS['session_handler.passwd'] = "test";
$CONFIG_VARS['session_handler.debug-sql'] = FALSE;

//---------------------------------------------------------------------------------------------------
// Proxy configuration
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['proxy_server.enable'] = FALSE;
$CONFIG_VARS['proxy_server.host'] = "squid.domain.com.au";
$CONFIG_VARS['proxy_server.port'] = "8080";
$CONFIG_VARS['proxy_server.userid'] = "jpell";
$CONFIG_VARS['proxy_server.password'] = "pwd";

//---------------------------------------------------------------------------------------------------
// Site and Authentication configuration
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['site.enable'] = TRUE; 	// If set to false, then the site is disabled, via index.php.
$CONFIG_VARS['site.title'] = "OpenDb";// Title of site.
$CONFIG_VARS['site.version'] = "0.62p9"; // YOU MIGHT BREAK SOMETHING IF YOU CHANGE THIS - SO DON'T!!!!!!

// Session duration configuration (1800 = 1/2h)
$CONFIG_VARS['site.idle_timeout'] = 3600; // How long a session can be idle
//$CONFIG_VARS['site.login_timeout'] = 7200; // How long a session can exist

// To ensure that each site requires a separate login!
// Change for each site you have on the same host, under the same install of php!
$CONFIG_VARS['site.security_hash'] = "0eXf5yUKlaeDgREQ72091mvFX"; 
$CONFIG_VARS['site.admin_name']="Jason Pell"; // Site Administrator.
$CONFIG_VARS['site.admin_email']="jasonpell@hotmail.com"; // Admin email address, including sign-up.
$CONFIG_VARS['site.language'] = "english";// Default site language.
$CONFIG_VARS['site.theme'] = "default";// Default site theme.

// Expose the OpenDb as a public site, with 'guest' userid
//$CONFIG_VARS['site.public_access.enable'] = TRUE;
// If the $CONFIG_VARS['site.public_access.enable'] = TRUE, then this user MUST be a valid 
// AND active user.  Otherwise the 'Site is currently disabled' message will be returned.
//$CONFIG_VARS['site.public_access.user_id'] = 'guest';

// Allow override of automatic servername:port information.
// You would normally leave disabled.  The virtual directory information
// will still be automatically ascertained though.  All this replaces is
// the host:port information.  At the moment only used by the email
// footer function.
//$CONFIG_VARS['site.hostname']="http://host.domain.com.au";
//$CONFIG_VARS['site.hostport']="80";

// Disable file upload functionality, even if provided by PHP.
// $CONFIG_VARS['file_upload_enable'] = TRUE;

// Indicates whether register globals in enabled in the php.ini configuration file.
// This is a workaround for sites where ini_get() is disabled.
// $CONFIG_VARS['register_globals_enabled'] = TRUE;

//---------------------------------------------------------------------------------------------------
// Widgets configuration
//---------------------------------------------------------------------------------------------------
// If you are not interested in using javascript for validation, you can disable it.  This
// will not remove all javascript, but will remove all Input Field validation.  The scripts
// will still validate all the data (server side) anyway.
$CONFIG_VARS['widgets.enable_javascript_validation'] = TRUE;

// Does not currently support <a> or <img>, due to concerns about javascript in these elements
$CONFIG_VARS['widgets.legal_html_tags'] = '<p><b><i><u><s><em><br><strong><strike><big><sup><sub>';

//---------------------------------------------------------------------------------------------------
// New User Configuration
//---------------------------------------------------------------------------------------------------
// Whether 'Sign Me Up' link should be provided
$CONFIG_VARS['newuser.signup_enable'] = TRUE;

// Will probably be removed in a future release, when user information
// is more configurable.
$CONFIG_VARS['newuser.include_address_fields'] = FALSE;

//---------------------------------------------------------------------------------------------------
// Output Buffer configuration
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['output_buffer.enable'] = FALSE;
$CONFIG_VARS['output_buffer.handler'] = 'ob_gzhandler';

//---------------------------------------------------------------------------------------------------
// Logging configuration
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['logging.enable'] = TRUE;		//Enable/Disable user logging  ( yes/no )
$CONFIG_VARS['logging.file'] = "log/usagelog.txt";	//If logging is enabled, make sure this directory is "writable"
$CONFIG_VARS['logging.backup_ext_date_format'] = "DDMONYYYY";	// Specify extension date format for backup of logfile.

//---------------------------------------------------------------------------------------------------
// HTTP Cache Configuration - See 'System Admin - Cache Admin' tool.
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['http_cache.enable'] = TRUE;
$CONFIG_VARS['http_cache.lifetime'] = 86400 * 7; // In seconds
$CONFIG_VARS['http_cache.datetime_mask'] = 'DD/MM/YYYY HH24:MI:SS';

//---------------------------------------------------------------------------------------------------
// Email configuration 
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['email.use_php_mail'] = TRUE; // Control whether the email form uses PHP mail or the mailto: protocol.

// Set to FALSE, to disable formatting of email address to include the persons name as well as the email address.
$CONFIG_VARS['email.friendly_email_format'] = TRUE;

// Will format email for delivery, assuming WIN32 SMTP server will be recipient. 
$CONFIG_VARS['email.win32_smtp_email'] = FALSE;

// Whether Sending Email to admin is supported.
$CONFIG_VARS['email.send_to_site_admin'] = TRUE;

//---------------------------------------------------------------------------------------------------
// Install/Patch Functionality
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['patch.enable'] = TRUE; // Set this to false after applying patches/install to disable access.

// If this variable is set to TRUE, then the patch.enable value is ignored,
// as long as an authenticated Administrator trying to access it.
$CONFIG_VARS['patch.allow_admin_override'] = TRUE;

//---------------------------------------------------------------------------------------------------
// Site Plugin specific configuration
//---------------------------------------------------------------------------------------------------
 // *** EXPERIMENTAL ***
$CONFIG_VARS['site_plugins.translate_plots_with_google'] = FALSE; // Should plots be translated to current language.

//===================================================================================================
// Page specific configuration
//===================================================================================================

//---------------------------------------------------------------------------------------------------
// Login page configuration
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['login.show_whats_new'] = TRUE;
// Disable 'Forgot your password?' link and functionality.
$CONFIG_VARS['login.enable_new_pwd_gen'] = TRUE;

// Should include/language.php use any user_language Session variable setting,
// or go straight to the include/config.php $CONFIG_VARS['site.language'] setting.
$CONFIG_VARS['login.user_language_support'] = TRUE;

//---------------------------------------------------------------------------------------------------
// WhatsNew configuration
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['whatsnew.borrow_stats'] = TRUE; // Show Items Returned, Reserved, etc
$CONFIG_VARS['whatsnew.review_stats'] = TRUE; // Show number of reviews added.

//---------------------------------------------------------------------------------------------------
// Menu configuration
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['menu.other_items_listing'] = TRUE;
$CONFIG_VARS['menu.all_items_listing'] = FALSE;

//---------------------------------------------------------------------------------------------------
// User Admin options
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['user_admin.datetime_mask'] = 'DDth Month YYYY HH24:MI'; // Last Visited datetime display formatmask.
$CONFIG_VARS['user_admin.user_themes_support'] = TRUE;//Whether users can change their theme.
$CONFIG_VARS['user_admin.user_passwd_change_allowed'] = TRUE; // On demo sites you can set this to FALSE.

// Note: Not all english text will be replaced, this only provides support for the lang/$_OPENDB_LANGUAGE.inc.php file.
$CONFIG_VARS['user_admin.user_language_support'] = TRUE;//Whether users can change their language.

//
// If the user has any items checked out to them, or checked out to others, the deactivate/delete
// process will abort immediately.
// 
// If 'deactivate':
// 	1) The system will deactivate the user, instead of trying to delete them.
//	2) All outstanding reservations by the user and for the users items will be cancelled
// 	   by the system (without email notification)
// 	3) The users password will be set to empty, to deactivate them.
// If TRUE:
//	Attempt to delete user.  This will depend on the configuration for 'user_delete_with_reviews',
//	user_delete_with_owner_inactive_borrowed_items and user_delete_with_borrower_inactive_borrowed_items
// If FALSE:
//	User deletion is completely disabled.
//
$CONFIG_VARS['user_admin.user_delete_support'] = TRUE; // [TRUE | 'deactivate' | FALSE]

// Allow deletion of user, even if they have authored reviews for items.  These reviews will be
// deleted before the user is.  This does not apply to the users own items.  All reviews will be
// removed against such items.
$CONFIG_VARS['user_admin.user_delete_with_reviews'] = TRUE;

// A user can be deleted, even if they have inactive borrower borrowed_item records.  If this option
// is set to TRUE, it will allow the deletion of Item history records for other users.
// This config option applies to Closed/Cancelled/Reserved borrowed items only.
$CONFIG_VARS['user_admin.user_delete_with_borrower_inactive_borrowed_items'] = TRUE;

// A user can be deleted, even if there are inactive owner borrowed item records.  If this option is
// set to TRUE, it will allow the deletion of Borrower history records for other users.
// This config option applies to Closed/Cancelled/Reserved borrowed items only.
$CONFIG_VARS['user_admin.user_delete_with_owner_inactive_borrowed_items'] = FALSE;

$CONFIG_VARS['user_admin.navigation_form_method'] = 'POST'; // [ GET | POST ]

//---------------------------------------------------------------------------------------------------
// Statistics options - Refer to docs/notes/statistics.txt for more information
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['stats.image_type'] = 'png';//Image format for graphs. Only 'png','gif' or 'jpeg' are supported!

$CONFIG_VARS['stats.piechart_12oclock'] = TRUE; // Options: [TRUE | FALSE]; Default: FALSE
$CONFIG_VARS['stats.piechart_sort'] = "asc"; // Options [ 'asc' | 'desc' | undefined ]
$CONFIG_VARS['stats.piechart_striped'] = TRUE; // Options: [TRUE | FALSE]; Default: FALSE

$CONFIG_VARS['stats.category_barchart'] = TRUE; // Options: [TRUE | FALSE]; Default: FALSE
$CONFIG_VARS['stats.barchart_sort'] = "desc"; // Options [ 'asc' | 'desc' | undefined ]

// Specify the gd library extension to load, if not already loaded.  This will only be of use
// if the conditions (!extension_loaded('gd')) AND if((boolean)ini_get('enable_dl')) are true.
$CONFIG_VARS['chart.gd.library'] = 'gd.so';
//---------------------------------------------------------------------------------------------------
// Item Add site plugin configuration
//---------------------------------------------------------------------------------------------------
// If you have this variable defined, the site plugins will be displayed in the order specified
// when item_add.php script is generated.  You do not need to specify _all_ site plugins here,
// only the important ones you want to appear first.
$CONFIG_VARS['item_add.site_plugin_order'] = array('imdb', 'freedb');

//---------------------------------------------------------------------------------------------------
// Item Display options
//---------------------------------------------------------------------------------------------------
// Whether item images should be loaded.  If network down or not available, set this to FALSE
$CONFIG_VARS['item_display.show_item_image'] = TRUE;

// Set the display size of all item images.  If you do not want to set a display size, then set this value to
// an empty string.  The value of this variable will be inserted into the <img ...> tag after the
// src="..." attribute, so ensure it is a valid value.  The image will be a hyperlink to the fullsize
// image popup anyway!
$CONFIG_VARS['item_display.item_image_size'] = "height=140";

$CONFIG_VARS['item_display.owner_email_link'] = TRUE;
$CONFIG_VARS['item_display.borrower_email_link'] = TRUE;

// Format of the Review section date string.
$CONFIG_VARS['item_display.review_datetime_mask'] = 'Day, DDth Month YYYY HH24:MI';

// Display titles in item_display, item_add, item_input, borrow, item_borrow, export, item_review
// DO NOT INCLUDE ANY IMAGE MASK COMPONENTS IN THIS DEFINITION AS THEY WILL CAUSE PROBLEMS WHEN THE
// TITLE VALUE IS DISPLAY IN THE BROWSER TITLE BAR!!!
$CONFIG_VARS['item_display.title_display_mask'] = array(
	'DEFAULT'=>'"{title}"{ifdef(year, " ({year})")}{if(s_status_type!=W,{if(instance_no>1," #{instance_no}")})}',
	'audio'=>'"{title}"{if(s_status_type!=W,{if(instance_no>1," #{instance_no}")})}',
	'GAME'=>'"{title}"{if(s_status_type!=W,{if(instance_no>1," #{instance_no}")})}',
);

$CONFIG_VARS['item_display.show_linked_item_image'] = TRUE;

// If not a legal export type, will not include link.
$CONFIG_VARS['item_display.export_link'] = 'OpenDb_XML';

//---------------------------------------------------------------------------------------------------
// Item Input options
//---------------------------------------------------------------------------------------------------
// Specify whether linked items should be supported.  Existing linked items will still be displayed
// in item_display, item_input, etc; but new linked items will not be allowed, if this is FALSE.
$CONFIG_VARS['item_input.linked_item_support'] = TRUE;
$CONFIG_VARS['item_input.link_same_type_only'] = FALSE;

$CONFIG_VARS['item_input.clone_item_support'] = TRUE;

// These two are also referenced in item_display, but they are more for controlling the actual
// database operations than anything else.  They are referenced in item_display, because there
// is no use providing the ability to start and action that cannot be completed.
$CONFIG_VARS['item_input.item_instance_support'] = TRUE;//Whether item_instance is supported at all.
$CONFIG_VARS['item_input.new_instance_owner_only'] = FALSE; //Whether item_instances can be created across owners.

// Whether item deletion should be confirmed or not!
$CONFIG_VARS['item_input.confirm_item_delete'] = TRUE;
// Whether linked item deletion should be confirmed or not!
$CONFIG_VARS['item_input.confirm_linked_item_delete'] = TRUE;

// Whether duplicates of the same type and owned by the same person should be allowed.
$CONFIG_VARS['item_input.duplicate_title_support'] = TRUE;

// Whether to confirm a title insert, for the situation where a title exists in the database,
// of the same s_item_type, whether owned by current user or not.  The confirm_duplicate_owner_insert
// variable check will actually happen first, so if the user has a copy of the title already the
// owner duplicate confirm check will be displayed, otherwise the site wide title duplicate check
// that this variable controls will be made, and a confirm form displayed if appropriate
$CONFIG_VARS['item_input.confirm_duplicate_insert'] = TRUE;

// Whether a duplicate title insert for same owner should be confirmed (Default: TRUE)
$CONFIG_VARS['item_input.confirm_duplicate_owner_insert'] = TRUE;

// Whether a duplicate title insert for same owner should be confirmed (Default: TRUE)
$CONFIG_VARS['item_input.confirm_duplicate_linked_item_insert'] = TRUE;

// If this variable is defined, any title updates, will move any occurence of the
// article prefix to the end of the title.
$CONFIG_VARS['item_input.title_articles'] = array('The','A','An');

// Must be relative to install directory.
$CONFIG_VARS['item_input.item_attr_save_dir'] = "upload/";

// Defines the save file mask for attributes which are "upload" or "saveurl" widgets!
$CONFIG_VARS['item_input.item_attr_file_mask'] = "{fieldname}_item{item_id}.{ext}";

//---------------------------------------------------------------------------------------------------
// Review Configuration
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['item_review.update_support'] = TRUE;
$CONFIG_VARS['item_review.delete_support'] = TRUE;

//---------------------------------------------------------------------------------------------------
// Listings/Borrowing Pages Configuration
//---------------------------------------------------------------------------------------------------

//
// Hint: For performance disable 'show_refresh_links','show_input_links',
//								 'show_quick_checkout','show_borrow_links'
//
$CONFIG_VARS['listings.items_per_page'] = 21; //How many Items will be shown per page.  This is also used by borrow.php!
$CONFIG_VARS['listings.show_input_links'] = TRUE;// Whether item_input links should be shown for owner items.
$CONFIG_VARS['listings.show_refresh_links'] = TRUE;// Whether item_add refresh link should be shown for owner items.
$CONFIG_VARS['listings.show_borrow_links'] = FALSE; // Whether borrow links should be shown for non-owner items.
$CONFIG_VARS['listings.show_quick_checkout'] = TRUE; // Support 'Quick Checkout' of items by owner.
$CONFIG_VARS['listings.show_borrowed_or_returned'] = TRUE; // Show the 'tick' if a user already borrowed/returned item

//
// Multi-Reserve specific configuration ('listings.show_reserve_action' / 'listings.show_add_to_reserve_basket_action')
//

// If this variable set to FALSE, the 'listings.show_reserve_action' and 'listings.show_add_to_reserve_basket_action'
// will have no effect.
$CONFIG_VARS['listings.show_multi_reserve'] = TRUE; // Whether the Reserve checkboxes and button should be displayed.

// Should a 'Reserve Item(s)' action be provided on the listings page.  The value
// of this variable will not affect, nor be affected by the value of the 
// $CONFIG_VARS['listings.add_to_reserve_basket_action'] below.  
$CONFIG_VARS['listings.show_reserve_action'] = TRUE;

// Should the 'Add to Basket' operation be available from listings, now that multi
// page checking support is provided.  Options are [TRUE | FALSE | 'IF_NOT_EMPTY' ]
// The 'IF_NOT_EMPTY' means provide a 'Add to Basket' if the Reserve Basket is
// not empty, otherwise do not provide a action.  If TRUE always provide a action,
// if FALSE, never provide one.
$CONFIG_VARS['listings.show_add_to_reserve_basket_action'] = TRUE; // [TRUE | FALSE | 'IF_NOT_EMPTY' ]

//
// Generic Listings configuration
//

$CONFIG_VARS['listings.show_type_lov'] = TRUE; // Restricting listings by s_item_type and/or 'listings.s_item_type_groups' group.
$CONFIG_VARS['listings.show_owner_lov'] = TRUE; // Restrict listing by owner
$CONFIG_VARS['listings.show_s_status_type_lov'] = TRUE; // Restrict listing by s_status_type

$CONFIG_VARS['listings.save_listing_url'] = TRUE; //Save $HTTP_VARS used to generate listing into session var 'listing_url_vars'

// Whether to display all 'theme_img' title mask macro elements in the help section.
$CONFIG_VARS['listings.title_mask_macro_theme_img_help'] = TRUE;

// Configure the display type of the category column, the 'list-link' as second
// argument is probably all you need to worry about.
$CONFIG_VARS['listings.category_display_type_args'] = '%display%, list-link';

// Use count(DISTINCT ii.item_id) in fetch_item_listing_cnt.  You will want to disable this if you
// are using a version of MySQL below MySQL 3.23.2!!!  
// ***** Please try to upgrade before resorting to this variable! 
$CONFIG_VARS['listings.count_distinct_support'] = TRUE;

// Provide an email.php script link for owner, where not current user.
$CONFIG_VARS['listings.owner_email_link'] = TRUE;

// Item type listing groups.  The order of the s_item_type's in each group array is important,
// because it will be used in listings.php for the type LOV now.  It is a good idea to remove
// any s_item_type's that you do not have in your database.  This array is also used to
// group item types together, for title display mask configuration.
$CONFIG_VARS['listings.s_item_type_groups'] = array('audio'=>array('CD', 'MP3'),
										'video'=>array('DVD','VHS','VCD','LD','DIVX'),
										'other'=>array('BOOK','GAME')
									);
									
// Define the display of the title column.
// There are no smarts in this mask, if the attribute is empty any formatting around it will be present
// with an empty string.  In the future a smarter formatting language may be introduced, but not today.
// Be sure to always include the {title} otherwise the actual item 'title' itself will not be displayed.
// #### Note: 	The 'DEFAULT' option allows you to default the format mask of all other types.
// ####			You can specify each s_item_type mask individually with no problems.
// ####			Do not add a new s_item_type called DEFAULT, otherwise this logic will not work!
// You can now use options within the {s_attribute_type} variables.  'img', 'display', 'value'
// are all legal.
$CONFIG_VARS['listings.title_display_mask'] = array(
	'DEFAULT'=>'{title}{ifdef(year, " ({year})")}{if(s_status_type!=W,{if(instance_no>1," #{instance_no}")})}',
	'audio'=>'{title}{ifdef(artist, " / {artist}")}{if(s_status_type!=W,{if(instance_no>1," #{instance_no}")})}',
	'GAME'=>'{title}{ifdef(gamesystem, " {gamesystem.img}")}{if(s_status_type!=W,{if(instance_no>1," #{instance_no}")})}',
);

$CONFIG_VARS['listings.item_image_size'] = 'width="69"';

// Whether to display a 'missing' image, if no IMAGE attribute defined for a item.
$CONFIG_VARS['listings.no_image'] = "no-image.gif";

$CONFIG_VARS['listings.show_item_image'] = FALSE;

// Can a user override $CONFIG_VARS['listings.show_item_image'] value
// for their current login session.
$CONFIG_VARS['listings.allow_override_show_item_image'] = TRUE;

$CONFIG_VARS['listings.navigation_form_method'] = 'POST'; // [ GET | POST ]

//
// Printable Listing - Format the date displayed under the title.
//
$CONFIG_VARS['print_listing.datetime_mask'] = 'Day, DDth Month YYYY HH24:MI:SS';

//---------------------------------------------------------------------------------------------------
// Borrow page configuration
//---------------------------------------------------------------------------------------------------
$CONFIG_VARS['borrow.enable'] = TRUE;

// These items configure whether item_borrow.php will display a 'More Information' form before
// continuing operation!
$CONFIG_VARS['borrow.reserve_more_information'] = TRUE;
$CONFIG_VARS['borrow.cancel_more_information'] = TRUE;
$CONFIG_VARS['borrow.checkout_more_information'] = TRUE;
$CONFIG_VARS['borrow.checkin_more_information'] = TRUE;
$CONFIG_VARS['borrow.reminder_more_information'] = TRUE;

//enable/disable email notification
$CONFIG_VARS['borrow.reserve_email_notification'] = TRUE;
$CONFIG_VARS['borrow.cancel_email_notification'] = TRUE;
$CONFIG_VARS['borrow.checkout_email_notification'] = TRUE;
$CONFIG_VARS['borrow.quick_checkout_email_notification'] = TRUE;
$CONFIG_VARS['borrow.checkin_email_notification'] = TRUE;

// Enable/disable Quick Checkout support. Email is always enabled for Quick checkout!
$CONFIG_VARS['borrow.quick_checkout'] = TRUE;

// Disables all borrow functionality, except for initial reservation, where all but
// the notification email will be bypassed.
$CONFIG_VARS['borrow.reserve_email_only'] = FALSE;

// Configure whether more than one user can reserve item.
$CONFIG_VARS['borrow.allow_multi_reserve'] = TRUE;
$CONFIG_VARS['borrow.allow_reserve_if_borrowed'] = TRUE;

// Whether menu items for All borrowed/Reserved items across all users should be
// displayed.  These will only be displayed for borrower user or above.
$CONFIG_VARS['borrow.list_all_borrowed'] = TRUE;
$CONFIG_VARS['borrow.list_all_reserved'] = TRUE;

// Will affect item_display.php / borrow.php as to whether the borrower column
// should be displayed.  This configuration variable, will only be considered
// in borrow.php for the list_all_borrowed / list_all_reserved options.
$CONFIG_VARS['borrow.include_borrower_column'] = TRUE;

// Enable/Disable Reserve Basket support.
$CONFIG_VARS['borrow.reserve_basket'] = TRUE;

// Disable borrow duration support.
$CONFIG_VARS['borrow.duration_support'] = TRUE;

$CONFIG_VARS['borrow.date_mask'] = 'DDth Month YYYY';//Format of dates for Due dates.
$CONFIG_VARS['borrow.datetime_mask'] = 'DD/MM/YYYY HH:MI:SS';

// Whether to make owner/borrower names linkable for sending email
$CONFIG_VARS['borrow.borrower_email_link'] = TRUE;
$CONFIG_VARS['borrow.owner_email_link'] = TRUE;

$CONFIG_VARS['borrow.navigation_form_method'] = 'POST'; // [ GET | POST ]

//---------------------------------------------------------------------------------------------------
// Search page configuration
//---------------------------------------------------------------------------------------------------
// Format the date for listings.php SQL query.
// Only "YYYY","MM","DD","HH","MI","SS" components are supported!
$CONFIG_VARS['search.datetime_mask'] = 'DD/MM/YYYY HH:MI:SS';
$CONFIG_VARS['search.datetime_filter'] = '0-9 /:';
?>