Now all modules are in core modules folder

This commit is contained in:
Manuel Cillero 2017-08-08 12:14:45 +02:00
parent 5ba1cdfa0b
commit 05b6a91b0c
1907 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,38 @@
<?php
function storm_quicktt_settings() {
$form = array();
$form['storm_quicktt_mintime2record'] = array(
'#type' => 'textfield',
'#title' => t('Minimum time to be recorded (minutes)'),
'#default_value' => variable_get('storm_quicktt_mintime2record', 5),
);
$form['storm_quicktt_default_title'] = array(
'#type' => 'textfield',
'#title' => t('Default title'),
'#default_value' => variable_get('storm_quicktt_default_title', 'Auto-created by QuickTT'),
);
$status_option_prj = array('none' => '-none-');
$project_status = storm_attributes_bydomain('Project status');
$status_option_prj = array_merge($status_option_prj, $project_status['values']);
$form['storm_quicktt_project_stati'] = array(
'#type' => 'select',
'#title' => t('Display projects with following status'),
'#options' => $status_option_prj,
'#multiple' => TRUE,
'#size' => 5,
'#default_value' => variable_get('storm_quicktt_project_stati', array('in progress')),
'#description' => t('Select multiple values by pressing the ctrl-key while selecting with the mouse.'),
);
$form['storm_quicktt_pause_split'] = array(
'#type' => 'checkbox',
'#title' => t('Split timetrackings on pause.'),
'#description' => t('If selected there are multiple timetrackings for before and after each break. '.
'If unset there is one timetracking for the whole time, but the pause time will be subtracted from the billing duration.'),
'#default_value' => variable_get('storm_quicktt_pause_split', FALSE),
);
return system_settings_form($form);
}