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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
<?php
//$Id: packages.php 3319 2013-09-08 20:59:44Z ctrlaltca $
// To make future upgrades easier
if (!defined('PROTOTYPE_DIR')) define ('PROTOTYPE_DIR', 'prototype-1.7');
if (!defined('JQUERY_DIR')) define ('JQUERY_DIR', 'jquery');
if (!defined('SCRIPTACULOUS_DIR')) define ('SCRIPTACULOUS_DIR', 'scriptaculous-1.9.0');
//package names and its contents (files relative to the current directory)
$packages = array(
// base prado scripts
'prado' => array(
'prado/prado.js',
'prado/controls/controls.js'
),
'logger' => array(
'prado/logger/logger.js',
),
'validator' => array(
'prado/validator/validation3.js'
),
'datepicker' => array(
'prado/datepicker/datepicker.js'
),
'colorpicker' => array(
'prado/colorpicker/colorpicker.js'
),
'ajax' => array(
'prado/activecontrols/ajax3.js',
'prado/activecontrols/activecontrols3.js',
),
'slider'=>array(
'prado/controls/slider.js'
),
'keyboard'=>array(
'prado/controls/keyboard.js'
),
'tabpanel'=>array(
'prado/controls/tabpanel.js'
),
'activedatepicker' => array(
'prado/activecontrols/activedatepicker.js'
),
'activefileupload' => array(
'prado/activefileupload/activefileupload.js'
),
'htmlarea'=>array(
'prado/controls/htmlarea.js'
),
'htmlarea4'=>array(
'prado/controls/htmlarea4.js'
),
// jquery
'jquery' => array(
JQUERY_DIR.'/jquery.js',
),
'jqueryui' => array(
JQUERY_DIR.'/jquery-ui.js',
JQUERY_DIR.'/jquery-ui-i18n.min.js',
),
// prototype + scriptaculous
'prototype' => array(
PROTOTYPE_DIR.'/prototype.js',
SCRIPTACULOUS_DIR.'/builder.js',
SCRIPTACULOUS_DIR.'/effects.js'
),
'dragdrop'=>array(
SCRIPTACULOUS_DIR.'/dragdrop.js',
'prado/activecontrols/dragdrop.js'
),
'dragdropextra'=>array(
'prado/activecontrols/dragdropextra.js',
),
'accordion'=>array(
'prado/controls/accordion.js'
),
'ratings' => array(
'prado/ratings/ratings.js',
),
'inlineeditor' => array(
'prado/activecontrols/inlineeditor.js'
),
'autocomplete' => array(
SCRIPTACULOUS_DIR.'/controls.js',
'prado/activecontrols/autocomplete.js'
),
);
//package names and their dependencies
$dependencies = array(
'jquery' => array('jquery'),
'prado' => array('jquery', 'prado'),
'validator' => array('jquery', 'prado', 'validator'),
'tabpanel' => array('jquery', 'prado', 'tabpanel'),
'ajax' => array('jquery', 'prado', 'ajax'),
'logger' => array('jquery', 'prado', 'logger'),
'activefileupload' => array('jquery', 'prado', 'ajax', 'activefileupload'),
'effects' => array('jquery', 'jqueryui'),
'datepicker' => array('jquery', 'prado', 'datepicker'),
'activedatepicker' => array('jquery', 'prado', 'datepicker', 'ajax', 'activedatepicker'),
'colorpicker' => array('jquery', 'prado', 'colorpicker'),
'htmlarea' => array('jquery', 'prado', 'htmlarea'),
'htmlarea4' => array('jquery', 'prado', 'htmlarea4'),
'keyboard' => array('jquery', 'prado', 'keyboard'),
'slider' => array('jquery', 'prado', 'slider'),
'inlineeditor' => array('jquery', 'prado', 'ajax', 'inlineeditor'),
'jqueryui' => array('jquery', 'jqueryui'),
'prototype' => array('prototype'),
'dragdrop' => array('prototype', 'jquery', 'prado', 'ajax', 'dragdrop'),
'dragdropextra' => array('prototype', 'jquery', 'prado', 'ajax', 'dragdrop','dragdropextra'),
'accordion' => array('prototype', 'jquery', 'prado', 'accordion'),
'ratings' => array('prototype', 'jquery', 'prado', 'ajax', 'ratings'),
'autocomplete' => array('prototype', 'jquery', 'prado', 'ajax', 'autocomplete'),
);
return array($packages, $dependencies);
|