forked from IJMacD/GVExport
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.php
150 lines (150 loc) · 14.7 KB
/
config.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
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
<?php
/**
* Default options for GVExport can be set here.
* Note that the administrator in webtrees can set most of these default values in the control panel settings page for GVExport
* Control panel settings override these settings
*/
return array(
// Set path to Graphviz binary
'graphviz_bin' => '/usr/bin/dot', // Default on Debian Linux
// 'graphviz_bin' => '/usr/local/bin/dot', // Default if you compiled Graphviz from source
// 'graphviz_bin' => 'c:\\Graphviz2.17\\bin\\dot.exe', // for Windows (install dot.exe in a directory with no blank spaces)
// 'graphviz_bin' => '', // Uncomment this line if you don't have GraphViz installed on the server
'filename' => 'gvexport', // Output file name used for downloads
'compress_cookie' => true, // Whether cookie data should be compressed - particularly important if users can access multiple trees while logged out
'output_type' => 'svg', // Default output file type
'graph_dir' => 'LR', // Direction of graph. 'LR' for Left-to-right, 'TB' for Top-to-bottom
'combined_layout_type' => 'SS', // Layout type for combined diagram type - 'SS' to place couple side-by-side, 'OU' for over/under
'mclimit' => '1', // Graphviz MCLIMIT setting - number of times to regenerate graph for reduced crossings
'diagram_type' => 'decorated', // Default diagram type setting. 'decorated', or 'combined'
'show_photos' => true, // Whether to include photos in diagram
'photo_shape' => 0, // Default photo shape option
'photo_size' => "100%", // Default size of photos
'photo_resolution' => "100%", // Default resolution of photos, as a % or DPI
'photo_quality' => 50, // Quality of JPEG photos - this should be 0, 20, 50, 75, or 100 to match with dropdown list settings
'convert_photos_jpeg' => false, // Whether to convert all images to JPEG
'show_birthdate' => true, // Whether to show birthdate for individuals
'birthdate_year_only' => false, // Whether to show just the year or the full GEDCOM date of birth
'show_birthplace' => true, // Whether to show birthplace for individuals
'show_birth_first_image' => false, // Whether to show birth first image of individuals
'show_death_date' => true, // Whether to show death date for individuals
'death_date_year_only' => false, // Whether to show just the year or the full GEDCOM date pf death
'show_death_place' => true, // Whether to show death date for individuals
'use_alt_events' => true, // Whether to use similar events if the birth or death place is not available (e.g. Christening or Burial)
'show_death_first_image' => false, // Whether to show death first image of individuals
'show_burial_date' => false, // Whether to show burial date for individuals
'burial_date_year_only' => false, // Whether to show just the year or the full GEDCOM date pf burial
'show_burial_place' => false, // Whether to show burial date for individuals
'show_burial_first_image' => false, // Whether to show burial first image of individuals
'show_only_first_marriage' => true, // Whether to show only the first marriage of the family record
'show_marriage_date' => true, // Whether to show marriage date on the family record
'show_marriage_first_image' => false, // Whether to show marriage first image of individuals
'marr_date_year_only' => false, // Whether to show just the year or the full GEDCOM date of marriage
'show_marriage_place' => true, // Whether to show the place of marriage on the family record
'show_marriage_type' => false, // Whether to show the type of marriage on the family record
'show_marriage_type_not_specified' => false, // Whether to add an "Unknown marriage type" message to the family record if 'show_marriage_type' is active and the type was not specified in the record
'show_indi_sex' => false, // Show the sex of the individual in text on the tile
'include_ancestors' => true, // If ancestors should be included when calculating who to show in the diagram
'ancestor_levels' => 2, // Default setting for number of ancestor generations to include
'include_siblings' => true, // Whether to include siblings when calculating who to include in the diagram
'include_all_relatives' => true, // Whether to include all relatives (i.e. cousins and nieces/nephews in addition to siblings) when calculating who to include in the diagram
'include_descendants' => true, // If descendants should be included when calculating who to show in the diagram
'descendant_levels' => 2, // Default setting for number of descendant generations to include
'include_spouses' => true, // Whether to include spouses when calculating who to include in the diagram
'include_all' => false, // Whether to include all linked records regardless of relationship when calculating who to include in the diagram
'mark_not_related' => false, // Whether to display non-relatives in a different colour
'faster_relation_check' => false, // Whether to skip checking links outside the displayed tree when checking for non-relatives, to speed up generation of the diagram at the expense of accuracy
'add_links' => true, // Whether to embed links to the webtrees records in the diagram for supported file types
'show_xref_individuals' => false, // Whether to show the XREF of individuals
'show_xref_families' => false, // Whether to show the family XREF
'use_abbr_place' => 0, // Default abbreviation setting for place names
'use_abbr_name' => 0, // Default abbreviation settings for individual's names
'use_abbr_month' => 0, // Default abbreviation settings for month names
'enable_debug_mode' => false, // Debug mode (if set to true then the debug steps are run)
'show_debug_panel' => false, // If set to true, a debug panel is shown
'enable_graphviz' => true, // If Graphviz installed, we can still choose not to use it by setting this to false
'dpi' => '72', // default resolution - increase if text or photos look blurry, decrease if you have memory issues
'ranksep' => '100%', // Separation between generations as a % of default (e.g. 200% is double spacing)
'nodesep' => '100%', // Separation between individuals in diagram
'space_base' => .15, // Base value for above, e.g. 100% is the same as this value
'xref_list' => '', // Default XREFs to load - normally left blank
'stop_xref_list' => '', // Default XREFs to stop traversing tree at, normally left blank
'use_cart' => true, // When true, if there are clippings in the clippings cart then use them
'show_adv_people' => false, // Whether to show advanced settings by default for People to be included section
'show_adv_appear' => false, // Whether to show advanced settings by default for Appearance section
'show_adv_files' => false, // Whether to show advanced settings by default for General settings section
'typeface' => 0, // Default font value, based on list of font 'typefaces'
'font_colour_name' => '#333333', // Default font colour for name
'font_colour_details' => '#555555', // Default font colour for date/place of birth/death etc.
'font_size' => '10', // Default font size for everything except name
'font_size_name' => '12', // Default font size for name
'arrows_default' => '#555555', // Default colour for arrows between records
'arrows_related' => '#222266', // Default colour for arrows from family record to child by birth
'arrows_not_related' => '#226622', // Default colour for arrows from family records to child other than birth (adopted, etc)
'colour_arrow_related' => false, // If arrows should be coloured based on blood-relationship or not
'arrow_style' => 0, // Style of arrows, solid (0), dotted (10), dashed (20), bold (30), tapered (40), random (50), or none (60)
'indi_tile_shape' => 0, // Shape of the individual tiles, rectangle (0), rounded rectangle (10), based on sex (20), or based on living/deceased (30)
'shape_sex_male' => 0, // Shape option for male when based on sex option chosen for indi_tile_shape above
'shape_sex_female' => 10, // Shape option for female when based on sex option chosen for indi_tile_shape above
'shape_sex_other' => 0, // Shape option for other when based on sex option chosen for indi_tile_shape above
'shape_sex_unknown' => 0, // Shape option for unknown when based on sex option chosen for indi_tile_shape above
'shape_vital_dead' => 0, // Shape option for deceased when based on vitals option chosen for indi_tile_shape above
'shape_vital_living' => 10, // Shape option for living when based on vitals option chosen for indi_tile_shape above
'male_col' => '#ADD8E6', // Default colour of male individuals (light blue)
'female_col' => '#FFB6C1', // Default colour of female individuals (light pink)
'other_gender_col' => '#FCEAA1', // Default colour of Other gender individuals (light yellow)
'unknown_gender_col' => '#CCEECC', // Default colour of unknown gender individuals (light green)
'male_unrelated_col' => '#EEF8F8', // Default colour of not blood-related male individuals
'female_unrelated_col' => '#FDF2F2', // Default colour of not blood-related female individuals
'oth_gender_unrel_col' => '#FCF7E3', // Default colour of not blood-related Other gender individuals
'unkn_gender_unrel_col' => '#D6EED6', // Default colour of not blood-related unknown gender individuals
'family_col' => '#FFFFEE', // Default colour of families (different light yellow)
'bg_col_type' => 200, // Custom (200), sex colour (210), or based on living/deceased (220)
'stripe_col_type' => 110, // No stripe (100), based on sex of individual (110), or based on living/deceased (120)
'indi_stripe_dead_col' => '#CCCCCC', // Colour of stripe on individual tile for deceased individuals, when this option chosen
'indi_stripe_living_col' => '#6C8567', // Colour of stripe on individual tile for living individuals, when this option chosen
'indi_stripe_age_low_col' => "#CC5555", // For stripe colour option for age, this is the colour for low-aged individuals
'indi_stripe_age_high_col' => "#55CC55", // For stripe colour option for age, this is the colour for high-aged individuals
'indi_stripe_age_unknown_col' => "#FFFFFF", // For stripe colour option for age, this is the colour for high-aged individuals
'indi_stripe_age_low' => 0, // For stripe colour option for age, this is the age for the low colour - this age and anything younger gets this colour
'indi_stripe_age_high' => 100, // For stripe colour option for age, this is the age for the high colour - this age and anything older gets this colour
'border_col_type' => 320, // Custom (300), based on sex of individual (310), Same as Family border (320), or based on living/deceased (330)
'sharednote_col_enable' => false, // Whether to enable colouring based on shared notes
'sharednote_col_data' => '', // JSON of shared note
'sharednote_col_default' => '#ED333B', // Default shared note colour
'indi_border_dead_col' => "#CCCCCC", // Border of individual tile for deceased individuals, when this option chosen
'indi_border_living_col' => "#FEFEFE", // Border of individual tile for living individuals, when this option chosen
'indi_border_age_low_col' => "#CC5555", // For border colour option for age, this is the colour for low-aged individuals
'indi_border_age_high_col' => "#55CC55", // For border colour option for age, this is the colour for high-aged individuals
'indi_border_age_unknown_col' => "#FFFFFF", // For border colour option for age, this is the colour for high-aged individuals
'indi_border_age_low' => 0, // For border colour option for age, this is the age for the low colour - this age and anything younger gets the low colour
'indi_border_age_high' => 100, // For border colour option for age, this is the age for the high colour - this age and anything older gets this colour
'background_col' => '#EEEEEE', // Background of diagram (light grey)
'indi_background_col' => '#FEFEFE', // Background of individual tile
'indi_background_dead_col' => '#CCCCCC', // Background of individual tile for deceased individuals, when this option chosen
'indi_background_living_col' => '#FEFEFE', // Background of individual tile for living individuals, when this option chosen
'indi_background_age_low_col' => "#CC5555", // For background colour option for age, this is the colour for low-aged individuals
'indi_background_age_high_col' => "#55CC55", // For background colour option for age, this is the colour for high-aged individuals
'indi_background_age_unknown_col' => "#FFFFFF", // For background colour option for age, this is the colour for high-aged individuals
'indi_background_age_low' => 0, // For background colour option for age, this is the age for the low colour - this age and anything younger gets the low colour
'indi_background_age_high' => 100, // For background colour option for age, this is the age for the high colour - this age and anything older gets this colour
'highlight_custom_indis' => '', // Whether to highlight a custom list of individuals
'highlight_custom_col' => '#FFFDC3', // The default colour to highlight the custom highlighted individuals
'border_col' => '#606060', // Border colour (in UI this is Family border colour, but by default the individual border is the same as family)
'indi_border_col' => '#606060', // Border colour of individuals
'birth_prefix' => '*', // Text shown on chart before the birthdate - alternatively could use '↑'
'death_prefix' => '†', // Text shown on chart before the death date - alternatively could use '↓'
'burial_prefix' => '_', // Text shown on chart before the burial date
'marriage_prefix' => '∞', // Text shown on chart before the marriage date
'limit_levels_visitor' => '5', // How many ancestor or descendant levels a user with this privilege can select up to
'limit_levels_member' => '10', // How many ancestor or descendant levels a user with this privilege can select up to
'limit_levels_editor' => '15', // How many ancestor or descendant levels a user with this privilege can select up to
'limit_levels_moderator' => '20', // How many ancestor or descendant levels a user with this privilege can select up to
'limit_levels_manager' => '25', // How many ancestor or descendant levels a user with this privilege can select up to
'save_settings_name' => '', // Default value for text field where name of settings can be entered
'settings_sort_order' => 0, // Default value sorting the settings - default of 0 means the oldest items are first, new items go on the bottom of the list.
'show_diagram_panel' => false, // If set to true, a "Saved diagrams" section is shown at the top, that lists settings saved using the feature to save multiple versions of settings
'auto_update' => true, // If auto-updating browser render on change is enabled or not
'click_action_indi' => 0, // When clicking an individual, which action to do. Default of 0 means open link to their user page
'url_xref_treatment' => 'default' // What to do with XREF provided by webtrees when loading page ('default', 'add', 'nothing', or 'overwrite' )
);