From d54d90e6f9ca45be74ff0fd358f9e19e34b21dad Mon Sep 17 00:00:00 2001 From: Pim Snel Date: Thu, 3 Jan 2008 13:24:32 +0000 Subject: [PATCH] added cybro_profile --- cybro_profile/setup/phpgw_en.lang | 1 + cybro_profile/setup/setup.inc.php | 54 ++++++++++++++++++ cybro_profile/setup/tables_baseline.inc.php | 29 ++++++++++ cybro_profile/setup/tables_current.inc.php | 62 +++++++++++++++++++++ 4 files changed, 146 insertions(+) create mode 100644 cybro_profile/setup/phpgw_en.lang create mode 100755 cybro_profile/setup/setup.inc.php create mode 100644 cybro_profile/setup/tables_baseline.inc.php create mode 100644 cybro_profile/setup/tables_current.inc.php diff --git a/cybro_profile/setup/phpgw_en.lang b/cybro_profile/setup/phpgw_en.lang new file mode 100644 index 0000000000..7fff0fcd91 --- /dev/null +++ b/cybro_profile/setup/phpgw_en.lang @@ -0,0 +1 @@ +cybro_profile common en Cybro Profile diff --git a/cybro_profile/setup/setup.inc.php b/cybro_profile/setup/setup.inc.php new file mode 100755 index 0000000000..d4143dd73a --- /dev/null +++ b/cybro_profile/setup/setup.inc.php @@ -0,0 +1,54 @@ + 'phpgwapi', + 'versions' => array('1.0.0','1.0.1','1.2','1.3','1.3.005','1.3.006','1.4','1.5') + ); + $setup_info['cybro_profile']['depends'][] = array( + 'appname' => 'jinn', + 'versions' => array('0.9.021','0.9.026','0.9.1','0.9.031','0.9','1.0.0') + ); + + /* The tables this app creates */ + $setup_info['cybro_profile']['tables'] = array('egw_cybro_profile_links','egw_cybro_profile_frontpage','egw_cybro_profile_homepage','egw_cybro_profile_contacts'); + + + diff --git a/cybro_profile/setup/tables_baseline.inc.php b/cybro_profile/setup/tables_baseline.inc.php new file mode 100644 index 0000000000..52d00303f8 --- /dev/null +++ b/cybro_profile/setup/tables_baseline.inc.php @@ -0,0 +1,29 @@ + array( + 'fd' => array( + 'id' => array('type' => 'auto'), + 'name' => array('type' => 'varchar','precision' => '100'), + 'description' => array('type' => 'text'), + 'url' => array('type' => 'varchar','precision' => '250') + ), + 'pk' => array(), + 'fk' => array(), + 'ix' => array(), + 'uc' => array() + ) + ); diff --git a/cybro_profile/setup/tables_current.inc.php b/cybro_profile/setup/tables_current.inc.php new file mode 100644 index 0000000000..05429ef4c7 --- /dev/null +++ b/cybro_profile/setup/tables_current.inc.php @@ -0,0 +1,62 @@ + array( + 'fd' => array( + 'id' => array('type' => 'auto'), + 'name' => array('type' => 'varchar','precision' => '100'), + 'description' => array('type' => 'text'), + 'url' => array('type' => 'varchar','precision' => '250') + ), + 'pk' => array('id'), + 'fk' => array(), + 'ix' => array(), + 'uc' => array() + ), + 'egw_cybro_profile_frontpage' => array( + 'fd' => array( + 'id' => array('type' => 'auto'), + 'title' => array('type' => 'varchar','precision' => '255'), + 'pagecontent' => array('type' => 'longtext') + ), + 'pk' => array('id'), + 'fk' => array(), + 'ix' => array(), + 'uc' => array() + ), + 'egw_cybro_profile_homepage' => array( + 'fd' => array( + 'id' => array('type' => 'auto'), + 'title' => array('type' => 'varchar','precision' => '254'), + 'content' => array('type' => 'longtext') + ), + 'pk' => array('id'), + 'fk' => array(), + 'ix' => array(), + 'uc' => array() + ), + 'egw_cybro_profile_contacts' => array( + 'fd' => array( + 'id' => array('type' => 'auto'), + 'name' => array('type' => 'varchar','precision' => '100'), + 'email' => array('type' => 'varchar','precision' => '100') + ), + 'pk' => array('id'), + 'fk' => array(), + 'ix' => array(), + 'uc' => array() + ) + );