Renaming in progress.
authoranuko <support@anuko.com>
Sun, 23 Oct 2016 14:27:30 +0000 (14:27 +0000)
committeranuko <support@anuko.com>
Sun, 23 Oct 2016 14:27:30 +0000 (14:27 +0000)
initialize.php
profile_edit.php

index 5f8a760..1a508e9 100644 (file)
@@ -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.
index fbdbf83..f49e70a 100644 (file)
@@ -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));