-
Notifications
You must be signed in to change notification settings - Fork 0
/
unc_config.inc.php
38 lines (35 loc) · 1.36 KB
/
unc_config.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
<?php
if (!defined('WPINC')) {
die;
}
// This is used to automatically / dynamically create the settings menu
$UNC_DIVELOG['user_settings'] = array(
'unc_dive_library_location' => array(
'help' => 'Path to the unc_dive.class.php file. Must include filename',
'default' => '/path/to/unc_dive.class.php',
'type' => 'text',
),
'admin_date_selector' => array(
'help' => 'Chose if you want to have a calendar or a dropdown list for the Admin page.',
'default' => 'calendar',
'type' => 'dropdown',
'options' => array('calendar' => 'Calendar', 'datelist' => 'Date List'),
),
'chart_time_option' => array(
'help' => 'Do you want to show the actual time below the charts or the minutes since the dive started?.',
'default' => 'minutes',
'type' => 'dropdown',
'options' => array('time' => 'Actual Time', 'minutes' => 'Minutes'),
),
'headline' => array(
'help' => 'Headline to be shown above every chart. Can be empty.',
'default' => htmlentities('<h3>Dive Profile & Temperature</h3>'),
'type' => 'text',
),
'google_api_key' => array(
'help' => 'Your google API key to display maps.',
'default' => '',
'type' => 'text',
),
);
$UNC_DIVELOG['settings_prefix'] = 'uncd_divelog_';