From 7bce64d44641b6fa36877db2bc9a1f1f78ac73eb Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Tue, 13 Feb 2018 19:21:51 +0000 Subject: [PATCH] Cleanup. --- WEB-INF/resources/ca.lang.php | 2 -- WEB-INF/resources/cs.lang.php | 2 -- WEB-INF/resources/da.lang.php | 2 -- WEB-INF/resources/de.lang.php | 2 -- WEB-INF/resources/en.lang.php | 2 -- WEB-INF/resources/es.lang.php | 2 -- WEB-INF/resources/et.lang.php | 2 -- WEB-INF/resources/fa.lang.php | 2 -- WEB-INF/resources/fi.lang.php | 2 -- WEB-INF/resources/fr.lang.php | 2 -- WEB-INF/resources/he.lang.php | 2 -- WEB-INF/resources/hu.lang.php | 2 -- WEB-INF/resources/it.lang.php | 2 -- WEB-INF/resources/ja.lang.php | 2 -- WEB-INF/resources/ko.lang.php | 2 -- WEB-INF/resources/nl.lang.php | 2 -- WEB-INF/resources/no.lang.php | 2 -- WEB-INF/resources/pl.lang.php | 2 -- WEB-INF/resources/pt-br.lang.php | 2 -- WEB-INF/resources/pt.lang.php | 2 -- WEB-INF/resources/ro.lang.php | 2 -- WEB-INF/resources/ru.lang.php | 2 -- WEB-INF/resources/sk.lang.php | 2 -- WEB-INF/resources/sl.lang.php | 2 -- WEB-INF/resources/sr.lang.php | 2 -- WEB-INF/resources/sv.lang.php | 2 -- WEB-INF/resources/tr.lang.php | 2 -- WEB-INF/resources/zh-cn.lang.php | 2 -- WEB-INF/resources/zh-tw.lang.php | 2 -- WEB-INF/templates/footer.tpl | 2 +- initialize.php | 4 ---- profile_edit.php | 7 ------- 32 files changed, 1 insertion(+), 70 deletions(-) diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index df19a2cf..08e3fc06 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -487,8 +487,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index 680b28e9..0a300d8e 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -502,8 +502,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/da.lang.php b/WEB-INF/resources/da.lang.php index 9e56b50f..262c4f45 100644 --- a/WEB-INF/resources/da.lang.php +++ b/WEB-INF/resources/da.lang.php @@ -435,8 +435,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', 'form.profile.uncompleted_indicators' => 'Uafsluttede indikatore', -'form.profile.uncompleted_indicators_none' => 'Vis ikke', -'form.profile.uncompleted_indicators_show' => 'Vis', 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/de.lang.php b/WEB-INF/resources/de.lang.php index d3f43242..7a9b178c 100644 --- a/WEB-INF/resources/de.lang.php +++ b/WEB-INF/resources/de.lang.php @@ -433,8 +433,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -//'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'Erweiterungen', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index a417f62b..e5330ca9 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -428,8 +428,6 @@ $i18n_key_words = array( 'form.profile.type_duration' => 'duration', 'form.profile.allow_overlap' => 'Allow overlap', 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -'form.profile.uncompleted_indicators_none' => 'do not show', -'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/es.lang.php b/WEB-INF/resources/es.lang.php index c15cac5f..0caf6e50 100644 --- a/WEB-INF/resources/es.lang.php +++ b/WEB-INF/resources/es.lang.php @@ -500,8 +500,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index b774f74b..69a71332 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -498,8 +498,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/fa.lang.php b/WEB-INF/resources/fa.lang.php index 0a3a2778..d4d9eb91 100644 --- a/WEB-INF/resources/fa.lang.php +++ b/WEB-INF/resources/fa.lang.php @@ -464,8 +464,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'پلاگین ها', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/fi.lang.php b/WEB-INF/resources/fi.lang.php index ef65a2f1..6becda6b 100644 --- a/WEB-INF/resources/fi.lang.php +++ b/WEB-INF/resources/fi.lang.php @@ -442,8 +442,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'Lisäosat', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/fr.lang.php b/WEB-INF/resources/fr.lang.php index 7d2b924f..eb39469f 100644 --- a/WEB-INF/resources/fr.lang.php +++ b/WEB-INF/resources/fr.lang.php @@ -432,8 +432,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index 03669f76..9ce2735b 100644 --- a/WEB-INF/resources/he.lang.php +++ b/WEB-INF/resources/he.lang.php @@ -469,8 +469,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'תוספים', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index fca0e8d4..dd94782e 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -497,8 +497,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/it.lang.php b/WEB-INF/resources/it.lang.php index e834fcad..074abd55 100644 --- a/WEB-INF/resources/it.lang.php +++ b/WEB-INF/resources/it.lang.php @@ -435,8 +435,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', 'form.profile.uncompleted_indicators' => 'Indicatori incompleti', -'form.profile.uncompleted_indicators_none' => 'non mostrare', -'form.profile.uncompleted_indicators_show' => 'mostra', // TODO: translate the following. If the translation is the same word, indicate so. Plugini, perhaps? // 'form.profile.plugins' => 'Plugins', diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 1458a9c1..e2054395 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -487,8 +487,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index d1fdc85b..6948e804 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -489,8 +489,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/nl.lang.php b/WEB-INF/resources/nl.lang.php index 7f38d369..ec5fa511 100644 --- a/WEB-INF/resources/nl.lang.php +++ b/WEB-INF/resources/nl.lang.php @@ -431,8 +431,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', 'form.profile.uncompleted_indicators' => 'Onvolledige indicatoren', -'form.profile.uncompleted_indicators_none' => 'verberg', -'form.profile.uncompleted_indicators_show' => 'toon', 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index 150ecb7b..1cf77464 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -485,8 +485,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index 5e4f251e..7ea5e96e 100644 --- a/WEB-INF/resources/pl.lang.php +++ b/WEB-INF/resources/pl.lang.php @@ -445,8 +445,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'Dodatkowe moduły', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index 714d2e79..a832f7e6 100644 --- a/WEB-INF/resources/pt-br.lang.php +++ b/WEB-INF/resources/pt-br.lang.php @@ -440,8 +440,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index b8648fda..b0923333 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -478,8 +478,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 8a4b2b66..3dfc9fdc 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -495,8 +495,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index 7ccbeda0..76e78705 100644 --- a/WEB-INF/resources/ru.lang.php +++ b/WEB-INF/resources/ru.lang.php @@ -426,8 +426,6 @@ $i18n_key_words = array( 'form.profile.type_duration' => 'длительность', 'form.profile.allow_overlap' => 'Возможное перекрывание', 'form.profile.uncompleted_indicators' => 'Индикаторы незавершения', -'form.profile.uncompleted_indicators_none' => 'не показывать', -'form.profile.uncompleted_indicators_show' => 'показывать', 'form.profile.plugins' => 'Плагины', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/sk.lang.php b/WEB-INF/resources/sk.lang.php index 28f09a53..81bcc725 100644 --- a/WEB-INF/resources/sk.lang.php +++ b/WEB-INF/resources/sk.lang.php @@ -461,8 +461,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'Doplnkové moduly', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index 7bb52f75..bdf54a49 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -474,8 +474,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/sr.lang.php b/WEB-INF/resources/sr.lang.php index ebb4751a..519f9a13 100644 --- a/WEB-INF/resources/sr.lang.php +++ b/WEB-INF/resources/sr.lang.php @@ -443,8 +443,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.plugins' => 'Dodaci', // Forma mejla. Pogledajte primer na https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/sv.lang.php b/WEB-INF/resources/sv.lang.php index 96c8ee3f..567bb544 100644 --- a/WEB-INF/resources/sv.lang.php +++ b/WEB-INF/resources/sv.lang.php @@ -440,8 +440,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.profile.allow_overlap' => 'Allow overlap', 'form.profile.uncompleted_indicators' => 'Indikatorer för oavslutad registrering', -'form.profile.uncompleted_indicators_none' => 'Visa inte', -'form.profile.uncompleted_indicators_show' => 'Visa', 'form.profile.plugins' => 'Tillägg', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 44e2b88c..ce0d563a 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -506,8 +506,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 3ae2f5d0..59b4916f 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -474,8 +474,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index 9b3de6ec..bd66279d 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -484,8 +484,6 @@ $i18n_key_words = array( // 'form.profile.type_duration' => 'duration', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', -// 'form.profile.uncompleted_indicators_none' => 'do not show', -// 'form.profile.uncompleted_indicators_show' => 'show', // 'form.profile.plugins' => 'Plugins', // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report. diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 45b1d7d4..78f5cec1 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.17.3986 | Copyright © Anuko | +  Anuko Time Tracker 1.17.17.3987 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/initialize.php b/initialize.php index c1a8437a..f309ee6a 100644 --- a/initialize.php +++ b/initialize.php @@ -125,10 +125,6 @@ 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 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. define('right_data_entry', 4); // Right to enter work hours and expenses. diff --git a/profile_edit.php b/profile_edit.php index 6abcce1a..575bafe6 100644 --- a/profile_edit.php +++ b/profile_edit.php @@ -189,13 +189,6 @@ if ($user->canManageTeam()) { $record_type_options[TYPE_DURATION] = $i18n->getKey('form.profile.type_duration'); $form->addInput(array('type'=>'combobox','name'=>'record_type','style'=>'width: 150px;','data'=>$record_type_options,'value'=>$cl_record_type)); - // Prepare uncompleted indicators choices. - /* - $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_indicators','style'=>'width: 150px;','data'=>$uncompleted_indicators_options,'value'=>$cl_uncompleted_indicators)); - */ // Uncompleted indicators checkbox. $form->addInput(array('type'=>'checkbox','name'=>'uncompleted_indicators','value'=>$cl_uncompleted_indicators)); -- 2.20.1