" module_id I4 PRIMARY, title C(255), layout C(160) NOTNULL DEFAULT 'kernel', layout_area C(1) NOTNULL, module_rows I4, module_rsrc C(250) NOTNULL, params C(255), cache_time I8, groups C(255), pos I4 NOTNULL DEFAULT '1' ", 'themes_custom_modules' => " name C(40) PRIMARY NOTNULL, title C(200), data X ", ); foreach( array_keys( $tables ) AS $tableName ) { $gBitInstaller->registerSchemaTable( THEMES_PKG_NAME, $tableName, $tables[$tableName], TRUE ); } $indices = array ( 'themes_layouts_module_idx' => array( 'table' => 'themes_layouts', 'cols' => 'module_id', 'opts' => NULL ), ); $gBitInstaller->registerSchemaIndexes( THEMES_PKG_NAME, $indices ); // ### Sequences $sequences = array ( 'themes_layouts_module_id_seq' => array( 'start' => 1 ) ); $gBitInstaller->registerSchemaSequences( THEMES_PKG_NAME, $sequences ); $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' => 'LGPL', )); //$gBitInstaller->registerSchemaTable( THEMES_PKG_NAME, '', '', TRUE ); $gBitInstaller->registerPreferences( THEMES_PKG_NAME, array( array( THEMES_PKG_NAME,'themes_joined_js_css', 'y' ), array( THEMES_PKG_NAME,'themes_packed_js_css', 'y' ), array( THEMES_PKG_NAME,'site_slide_style', DEFAULT_THEME ), array( THEMES_PKG_NAME,'style', DEFAULT_THEME ), array( THEMES_PKG_NAME,'site_style_layout', 'gala_13' ), array( THEMES_PKG_NAME,'site_icon_style', 'tango' ), array( THEMES_PKG_NAME,'site_top_bar_dropdown', 'y' ), array( THEMES_PKG_NAME,'site_bot_bar', 'y' ), )); // Package Requirements $gBitInstaller->registerRequirements( THEMES_PKG_NAME, array( 'liberty' => array( 'min' => '2.1.0' ), 'users' => array( 'min' => '2.1.0' ), 'kernel' => array( 'min' => '2.0.0' ), 'languages' => array( 'min' => '2.0.0' ), )); ?>