-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconstants.php
92 lines (61 loc) · 2.69 KB
/
constants.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?php
// -----------------------------------------------------------------------------
// -- GENERAL STUFF --
// -----------------------------------------------------------------------------
//param array defined with 0x40000 in line with other mooodle PARAM constant
define('ILP_PARAM_ARRAY', 0x40000);
// a blacklist of file extensions commonly blocked because they can carry viruses
define('ILP_REDIRECT_DELAY', 1);
define('ILP_MAXLENGTH_BREADCRUMB', 130);
//used when changing the position of a field in a report
define('ILP_MOVE_UP', '1');
define('ILP_MOVE_DOWN', '0');
//used by the date and date_deadline plugin to define what type of date may be
//accepted in a report
define('ILP_PASTDATE', 1 );
define('ILP_PRESENTDATE', 2 );
define('ILP_FUTUREDATE', 3 );
define('ILP_ANYDATE', 0 );
define( 'ILP_OPTIONSINGLE' , 1 );
define( 'ILP_OPTIONMULTI' , 2 );
//defines whether something is enabled or disabled
define( 'ILP_ENABLED' , 1 );
define( 'ILP_DISABLED' , 0 );
define( 'ILP_PASSFAIL_UNSET' , 0 );
define( 'ILP_PASSFAIL_FAIL' , 1 );
define( 'ILP_PASSFAIL_PASS' , 2 );
//this is the default status record that will be used for all users it should be set to 1
//as the user status record is created on installation any changes to the status items can
//be made from the block settings page
define( 'ILP_DEFAULT_USERSTATUS_RECORD' , '1' );
//the id of the user who we will give say is responsible for all changes made by the block
//e.g staus creation
define( 'ILP_DEFAULT_USER_ID' , '1' );
//constants used by ilp_logging class
define( 'ILP_LOG_ADD', 1 );
define( 'ILP_LOG_UPDATE', 2 );
define( 'ILP_LOG_DELETE', 3 );
define( 'ILP_LOG_ASSESSMENT', 4 );
//default css passfail colours
define('ILP_CSSCOLOUR_FAIL','#FF0000');
define('ILP_CSSCOLOUR_PASS','#C0FF3E');
define('ILP_CSSCOLOUR_MID','#FF4500');
//default css passfail colours
define('ILP_DEFAULT_FAIL_PERCENTAGE',50);
define('ILP_DEFAULT_PASS_PERCENTAGE',75);
//The mamximum size of uploaded files
define('ILP_MAXFILE_SIZE',1048576 );
//the type of files that may be uploaded as icons
define('ILP_ICON_TYPES','jpg,png, jpeg, gif');
//The default number of reports displayed in a list
define('ILP_DEFAULT_LIST_REPORTS',10 );
//the types that the data for mis plugins may be retrieved from
define('ILP_MIS_TABLE','1');
define('ILP_MIS_STOREDPROCEDURE','0');
//the types that the id may be string or int. strings have commas appended to them
define('ILP_IDTYPE_STRING','0');
define('ILP_IDTYPE_INT','1');
define('ILP_AUTH_USER_ROLE','Authenticated user');
define('ILP_EVENT', 0);
define('ILP_STRIP_TAGS_DESCRIPTION', '');
?>