mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Starting work on transy
This commit is contained in:
parent
970073d7bd
commit
5b90b985aa
11
index.php
11
index.php
@ -34,13 +34,10 @@
|
||||
$phpgw->common->read_preferences($phpgw_info["user"]["userid"],"email",True);
|
||||
$phpgw->common->read_preferences($phpgw_info["user"]["userid"],"calendar",True);
|
||||
|
||||
if ($phpgw_info["user"]["apps"]["admin"]) {
|
||||
if ($phpgw_info["server"]["version"] > $phpgw_info["server"]["phpgroupware_api_version"]) {
|
||||
echo "<p><b>" . lang("Your are running a newer version of phpGroupWare then your database is setup for")
|
||||
. "<br>" . lang("It is recommend that you run setup to upgrade your tables to the current version")
|
||||
. "</b>";
|
||||
|
||||
}
|
||||
if ($phpgw_info["server"]["version"] > $phpgw_info["server"]["phpgroupware_api_version"]) {
|
||||
echo "<p><b>" . lang("Your are running a newer version of phpGroupWare then your database is setup for")
|
||||
. "<br>" . lang("It is recommend that you run setup to upgrade your tables to the current version")
|
||||
. "</b>";
|
||||
}
|
||||
|
||||
if ($phpgw_info["user"]["apps"]["admin"] && $phpgw_info["server"]["checkfornewversion"]) {
|
||||
|
@ -110,6 +110,7 @@
|
||||
$db->query("insert into applications (app_name, app_title, app_enabled, app_order, app_tables, app_version) values ('nntp', 'NNTP', 1, 11, 'newsgroups', '".$phpgw_info["server"]["version"]."')");
|
||||
$db->query("insert into applications (app_name, app_title, app_enabled, app_order, app_tables, app_version) values ('cron_apps', 'cron_apps', 0, 0, NULL, '".$phpgw_info["server"]["version"]."')");
|
||||
$db->query("insert into applications (app_name, app_title, app_enabled, app_order, app_tables, app_version) values ('weather', 'Weather', 1, 12, NULL, '".$phpgw_info["server"]["version"]."')");
|
||||
$db->query("insert into applications (app_name, app_title, app_enabled, app_order, app_tables, app_version) values ('transy', 'Translation Management', 0, 13, NULL, '".$phpgw_info["server"]["version"]."')");
|
||||
|
||||
$db->query("insert into accounts (account_lid,account_pwd,account_firstname,account_lastname,account_permissions,account_groups,account_status) values ('demo','81dc9bdb52d04dc20036dbd8313ed055','Demo','Account',':admin:email:todo:addressbook:calendar:',',1,','A')");
|
||||
|
||||
|
@ -317,6 +317,7 @@
|
||||
|
||||
if ($currentver == "0.9.3pre6") {
|
||||
$db->query("alter table addressbook add ab_url varchar(255)");
|
||||
$db->query("insert into applications (app_name, app_title, app_enabled, app_order, app_tables, app_version) values ('transy', 'Translation Management', 0, 13, NULL, '".$phpgw_info["server"]["version"]."')");
|
||||
$currentver = "0.9.3pre7";
|
||||
update_version_table();
|
||||
}
|
||||
|
@ -305,6 +305,7 @@
|
||||
|
||||
if ($currentver == "0.9.3pre6") {
|
||||
$db->query("alter table addressbook add ab_url varchar(255)");
|
||||
$db->query("insert into applications (app_name, app_title, app_enabled, app_order, app_tables, app_version) values ('transy', 'Translation Management', 0, 13, NULL, '".$phpgw_info["server"]["version"]."')");
|
||||
$currentver = "0.9.3pre7";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user