From: anuko Date: Sun, 23 Oct 2016 14:27:30 +0000 (+0000) Subject: Renaming in progress. X-Git-Tag: timetracker_1.19-1~1623 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c761179e3999b6a2d8217369b647c69ad9603f38;p=timetracker.git Renaming in progress. --- diff --git a/initialize.php b/initialize.php index 5f8a7603..1a508e94 100644 --- a/initialize.php +++ b/initialize.php @@ -120,9 +120,9 @@ define('TYPE_ALL', 0); // Time record can be specified with either duration or s 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. diff --git a/profile_edit.php b/profile_edit.php index fbdbf83c..f49e70ae 100644 --- a/profile_edit.php +++ b/profile_edit.php @@ -172,8 +172,8 @@ if ($user->canManageTeam()) { // 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));