1
|
<?php
|
2
|
|
3
|
// vim: filetype=php
|
4
|
|
5
|
require_once ("profiles/CDM_DataPortal/CDM_DataPortal.profile");
|
6
|
|
7
|
|
8
|
/************************************************************
|
9
|
* MODULES *
|
10
|
************************************************************/
|
11
|
function CDM_DataPortal_Testing_profile_modules() {
|
12
|
return CDM_DataPortal_profile_modules();
|
13
|
}
|
14
|
|
15
|
/************************************************************
|
16
|
* DETAILS *
|
17
|
************************************************************/
|
18
|
function CDM_DataPortal_Testing_profile_details() {
|
19
|
return array (
|
20
|
'name' => 'CDM DataPortal Testing',
|
21
|
'description' => 'CDM DataPortal installation profile for testing purposes ',
|
22
|
);
|
23
|
}
|
24
|
|
25
|
function CDM_DataPortal_Testing_profile_final() {
|
26
|
|
27
|
CDM_DataPortal_profile_final();
|
28
|
|
29
|
/************************************************************
|
30
|
* BLOCKS *
|
31
|
************************************************************/
|
32
|
|
33
|
// Taxon tree
|
34
|
db_query(
|
35
|
"INSERT INTO {blocks} (module,delta,theme,status,weight,region,custom,throttle,visibility,pages,title)
|
36
|
VALUES ('%s', '%s', '%s', %d, %d, '%s', %d, %d, %d, '%s', '%s')",
|
37
|
'cdm_taxontree', 'cdm_tree', 'garland', '1', '-8', 'left', '0', '0', '0', '', ''
|
38
|
);
|
39
|
// Search Taxa
|
40
|
db_query(
|
41
|
"INSERT INTO {blocks} (module,delta,theme,status,weight,region,custom,throttle,visibility,pages,title)
|
42
|
VALUES ('%s', '%s', '%s', %d, %d, '%s', %d, %d, %d, '%s', '%s')",
|
43
|
'cdm_dataportal', '2', 'garland', '1', '-10', 'left', '0', '0', '0', '', ''
|
44
|
);
|
45
|
|
46
|
return;
|
47
|
}
|
48
|
|
49
|
?>
|