More renaming.
authoranuko <support@anuko.com>
Sun, 23 Oct 2016 16:35:02 +0000 (16:35 +0000)
committeranuko <support@anuko.com>
Sun, 23 Oct 2016 16:35:02 +0000 (16:35 +0000)
WEB-INF/lib/ttTeamHelper.class.php
WEB-INF/templates/profile_edit.tpl
profile_edit.php

index 9a6dc35..3a5e50e 100644 (file)
@@ -701,7 +701,7 @@ class ttTeamHelper {
       $record_type_v = '';
     }
 
-    $uncompleted_indicators = $fields['uncompleted_entries'];
+    $uncompleted_indicators = $fields['uncompleted_indicators'];
     if ($uncompleted_indicators !== null) {
       $uncompleted_indicators_f = ', uncompleted_indicators';
       $uncompleted_indicators_v = ', ' . (int)$uncompleted_indicators;
@@ -765,7 +765,7 @@ class ttTeamHelper {
     if (isset($fields['week_start'])) $week_start_part = ', week_start = '.intval($fields['week_start']);
     if (isset($fields['tracking_mode'])) $tracking_mode_part = ', tracking_mode = '.intval($fields['tracking_mode']);
     if (isset($fields['record_type'])) $record_type_part = ', record_type = '.intval($fields['record_type']);
-    if (isset($fields['uncompleted_entries'])) $uncompleted_indicators_part = ', uncompleted_indicators = '.intval($fields['uncompleted_entries']);
+    if (isset($fields['uncompleted_indicators'])) $uncompleted_indicators_part = ', uncompleted_indicators = '.intval($fields['uncompleted_indicators']);
     if (isset($fields['plugins'])) $plugins_part = ', plugins = '.$mdb2->quote($fields['plugins']);
     if (isset($fields['lock_spec'])) $lock_spec_part = ', lock_spec = '.$mdb2->quote($fields['lock_spec']);
     if (isset($fields['workday_hours'])) $workday_hours_part = ', workday_hours = '.$mdb2->quote($fields['workday_hours']);
index 7f8cd28..6a72508 100644 (file)
@@ -141,7 +141,7 @@ function handlePluginCheckboxes() {
           </tr>
           <tr>
             <td align="right" nowrap>{$i18n.form.profile.uncompleted_indicators}:</td>
-            <td>{$forms.profileForm.uncompleted_entries.control}</td>
+            <td>{$forms.profileForm.uncompleted_indicators.control}</td>
           </tr>
 
           {* initialize preview text *}
index bc056a6..3bf547a 100644 (file)
@@ -60,7 +60,7 @@ if ($request->isPost()) {
     $cl_start_week = $request->getParameter('start_week');
     $cl_tracking_mode = $request->getParameter('tracking_mode');
     $cl_record_type = $request->getParameter('record_type');
-    $cl_uncompleted_entries = $request->getParameter('uncompleted_entries');
+    $cl_uncompleted_indicators = $request->getParameter('uncompleted_indicators');
     $cl_charts = $request->getParameter('charts');
     $cl_clients = $request->getParameter('clients');
     $cl_client_required = $request->getParameter('client_required');
@@ -87,7 +87,7 @@ if ($request->isPost()) {
     $cl_start_week = $user->week_start;
     $cl_tracking_mode = $user->tracking_mode;
     $cl_record_type = $user->record_type;
-    $cl_uncompleted_entries = $user->uncompleted_indicators;
+    $cl_uncompleted_indicators = $user->uncompleted_indicators;
 
     // Which plugins do we have enabled?
     $plugins = explode(',', $user->plugins);
@@ -174,7 +174,7 @@ if ($user->canManageTeam()) {
   $uncompleted_indicators_options = array();
   $uncompleted_indicators_options[UNCOMPLETED_INDICATORS_NONE] = $i18n->getKey('form.profile.uncompleted_indicators_none');
   $uncompleted_indicators_options[UNCOMPLETED_INDICATORS] = $i18n->getKey('form.profile.uncompleted_indicators_show');
-  $form->addInput(array('type'=>'combobox','name'=>'uncompleted_entries','style'=>'width: 150px;','data'=>$uncompleted_indicators_options,'value'=>$cl_uncompleted_entries));
+  $form->addInput(array('type'=>'combobox','name'=>'uncompleted_indicators','style'=>'width: 150px;','data'=>$uncompleted_indicators_options,'value'=>$cl_uncompleted_indicators));
 
   $form->addInput(array('type'=>'checkbox','name'=>'charts','data'=>1,'value'=>$cl_charts));
   $form->addInput(array('type'=>'checkbox','name'=>'clients','data'=>1,'value'=>$cl_clients,'onchange'=>'handlePluginCheckboxes()'));
@@ -252,7 +252,7 @@ if ($request->isPost()) {
         'week_start' => $cl_start_week,
         'tracking_mode' => $cl_tracking_mode,
         'record_type' => $cl_record_type,
-        'uncompleted_entries' => $cl_uncompleted_entries,
+        'uncompleted_indicators' => $cl_uncompleted_indicators,
         'plugins' => $plugins));
     }
     if ($update_result) {