mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
- Fixed default app not working
- Removed some uneeded crap
This commit is contained in:
parent
9ab0cfa5d5
commit
5865ab4694
17
home.php
17
home.php
@ -34,19 +34,14 @@
|
|||||||
'enable_nextmatchs_class' => True
|
'enable_nextmatchs_class' => True
|
||||||
);
|
);
|
||||||
include('header.inc.php');
|
include('header.inc.php');
|
||||||
// Note: I need to add checks to make sure these apps are installed.
|
|
||||||
|
|
||||||
if ($phpgw_forward)
|
if ($phpgw_forward)
|
||||||
{
|
{
|
||||||
// Why again?
|
while (list($name,$value) = each($HTTP_GET_VARS))
|
||||||
if ($phpgw_forward)
|
|
||||||
{
|
{
|
||||||
while (list($name,$value) = each($HTTP_GET_VARS))
|
if (ereg('phpgw_',$name))
|
||||||
{
|
{
|
||||||
if (ereg('phpgw_',$name))
|
$extra_vars .= '&' . $name . '=' . urlencode($value);
|
||||||
{
|
|
||||||
$extra_vars .= '&' . $name . '=' . urlencode($value);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$phpgw->redirect($phpgw->link($phpgw_forward,$extra_vars));
|
$phpgw->redirect($phpgw->link($phpgw_forward,$extra_vars));
|
||||||
@ -114,12 +109,6 @@
|
|||||||
echo parse_navbar();
|
echo parse_navbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
// $phpgw->hooks->proccess("location","mainscreen");
|
|
||||||
// $phpgw->preferences->read_preferences("addressbook");
|
|
||||||
// $phpgw->preferences->read_preferences("email");
|
|
||||||
// $phpgw->preferences->read_preferences("calendar");
|
|
||||||
// $phpgw->preferences->read_preferences("stocks");
|
|
||||||
|
|
||||||
$phpgw->db->query("select app_version from phpgw_applications where app_name='phpgwapi'",__LINE__,__FILE__);
|
$phpgw->db->query("select app_version from phpgw_applications where app_name='phpgwapi'",__LINE__,__FILE__);
|
||||||
if($phpgw->db->next_record())
|
if($phpgw->db->next_record())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user