Simplifying the configuration menu

This commit is contained in:
Manuel Cillero 2017-10-07 13:12:10 +02:00
parent 9777b4c1ba
commit feb393faa4
11 changed files with 32 additions and 28 deletions

View file

@ -316,16 +316,16 @@ function stormtask_admin_settings() {
'#type' => 'checkbox',
'#title' => t('Default Value for billable field.'),
'#default_value' => variable_get('stormtask_billable_default', FALSE),
'#description' => t('When checked, SuiteDesk will set the task to billable by default'),
'#description' => t('When checked, SuiteDesk will set the task to billable by default.'),
'#size' => 5,
);
/*
$form['stormtask_enable_ganttchart'] = array(
'#type' => 'checkbox',
'#title' => t('Enable Gantt Charts (experimental feature)'),
'#default_value' => variable_get('stormtask_enable_ganttchart', False),
);
/*
$form['stormtask_jsgantt_options'] = array(
'#type' => 'checkboxes',
'#title' => t('Chart display options'),
@ -337,7 +337,7 @@ function stormtask_admin_settings() {
),
'#description' => t('Choose display options for gantt chart.'),
);
*/
$form['stormtask_jsgantt_color'] = array(
'#type' => 'textfield',
'#title' => t('Gantt chart default color'),
@ -373,7 +373,7 @@ function stormtask_admin_settings() {
'#description' => t('Enter "overdue" color for gantt chart bars.'),
'#size' => 6,
);
*/
return system_settings_form($form);
}