projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduced dropdown.time to translation files.
[timetracker.git]
/
plugins
/
CustomFields.class.php
diff --git
a/plugins/CustomFields.class.php
b/plugins/CustomFields.class.php
index
d9762b5
..
ce870a9
100644
(file)
--- a/
plugins/CustomFields.class.php
+++ b/
plugins/CustomFields.class.php
@@
-29,7
+29,10
@@
class CustomFields {
// Definitions of custom field types.
class CustomFields {
// Definitions of custom field types.
-
+ const ENTITY_TIME = 1; // Field is associated with time entries.
+ const ENTITY_USER = 2; // Field is associated with users.
+ const ENTITY_PROJECT = 3; // Field is associated with projects.
+
const TYPE_TEXT = 1; // A text field.
const TYPE_DROPDOWN = 2; // A dropdown field with pre-defined values.
const TYPE_TEXT = 1; // A text field.
const TYPE_DROPDOWN = 2; // A dropdown field with pre-defined values.