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