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
|
<?php
global $gBitInstaller;
$tables = array(
'tiki_theme_control_objects' => "
obj_id C(250) PRIMARY,
type C(250) NOTNULL,
name C(250) NOTNULL,
theme C(250) NOTNULL
",
'tiki_theme_control_categs' => "
category_id I4 PRIMARY,
theme C(250) NOTNULL
",
'tiki_theme_control_objects' => "
obj_id C(250) PRIMARY,
type C(250) NOTNULL,
name C(250) NOTNULL,
theme C(250) NOTNULL
",
);
global $gBitInstaller;
foreach( array_keys( $tables ) AS $tableName ) {
$gBitInstaller->registerSchemaTable( THEMES_PKG_DIR, $tableName, $tables[$tableName], TRUE );
}
$gBitInstaller->registerPackageInfo( THEMES_PKG_NAME, array(
'description' => "The Themes package is an integral part of bitweaver which allows you to control the look and feel of you site.",
'license' => '<a href="http://www.gnu.org/licenses/licenses.html#LGPL">LGPL</a>',
'version' => '0.1',
'state' => 'beta',
'dependencies' => '',
) );
$gBitInstaller->registerSchemaTable( THEMES_PKG_DIR, '', '', TRUE );
?>
|