define('TYPE_START_FINISH', 1); // Time record has start and finish times.
define('TYPE_DURATION', 2); // Time record has only duration, no start and finish times.
-// Definitions of types for uncompleted time entries.
-define('ENTRIES_NONE', 0); // Do not show uncompleted time entries anywhere.
-define('ENTRIES_USERS_PAGE', 1); // Show uncompleted time entries on the users page.
+// Definitions for uncompleted time entry indicators.
+define('UNCOMPLETED_INDICATORS_NONE', 0); // Do not show indicators.
+define('UNCOMPLETED_INDICATORS', 1); // Show indicators.
// User access rights - bits that collectively define an access mask to the system (a role).
// We'll have some bits here (1,2, etc...) reserved for future use.
// Prepare uncompleted entries choices.
$uncompleted_entries_options = array();
- $uncompleted_entries_options[ENTRIES_NONE] = $i18n->getKey('form.profile.entries_none');
- $uncompleted_entries_options[ENTRIES_USERS_PAGE] = $i18n->getKey('form.profile.entries_users_page');
+ $uncompleted_entries_options[UNCOMPLETED_INDICATORS_NONE] = $i18n->getKey('form.profile.entries_none');
+ $uncompleted_entries_options[UNCOMPLETED_INDICATORS] = $i18n->getKey('form.profile.entries_users_page');
$form->addInput(array('type'=>'combobox','name'=>'uncompleted_entries','style'=>'width: 150px;','data'=>$uncompleted_entries_options,'value'=>$cl_uncompleted_entries));
$form->addInput(array('type'=>'checkbox','name'=>'charts','data'=>1,'value'=>$cl_charts));