forked from andig/videodb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxls.inc.php
69 lines (61 loc) · 1.98 KB
/
xls.inc.php
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
<?php
/**
* XLS configuration file for Spreadsheet_Excel_Writer
*
* Installation
*
* modify the xls_mode setting below to match your
* Spreadsheet_Excel_Writer installation path
*
* @package Setup
* @author Chinamann <[email protected]>
* @link http://pear.php.net/package/Spreadsheet_Excel_Writer
* @version $Id: xls.inc.php,v 2.4 2008/01/27 20:36:17 andig2 Exp $
*/
/* XLS Export */
$config['xls'] = 1; // Set to 1 to enable Excel data im/export
// Name of the Excel sheet and headline for printing
$config['xls_sheet_title'] = 'VideoDB';
// Filename for the output file without xls extension!
$config['xls_output_filename'] = 'VideoDB';
// Show column headlines in the first row (1=Yes;0=No)
$config['xls_show_headline'] = 1;
// Set background color of unseen movie titles to yellow? (1=Yes;0=No)
$config['xls_mark_unseen'] = 1;
// Set background color of borrowed movies to red? (1=Yes;0=No)
$config['xls_mark_lent'] = 1;
/*
* Build your own list, where you define which fields you want and in
* which order they should appear.
*
* Supported fields are:
*
* title
* diskid
* language
* mediatype
* runtime
* year
* custom1
* custom2
* custom3
* custom4
* owner
* lent
* insertdate
* genres
* plot
*
* The length of the plot is limited to 253 characters!!!
*
* It's possible to use those fields also as an Excel note. For example if you want
* to see the title of the movie, followed by the diskid and the running time. As
* note you want to see the plot next to the title and the owner next to the diskid.
* For this example the xls_extra_fields list would look like this:
*
* $config['xls_extra_fields'] = 'title (plot), diskid (owner), runtime';
*
*
*/
$config['xls_extra_fields'] = 'title (plot), diskid, genres, language, mediatype, runtime, year, custom1, custom2, custom3, custom4, insertdate, owner, lent';
?>