added version to [phpgw_info][apps] array

This commit is contained in:
ceb 2002-01-28 01:52:36 +00:00
parent 1d5c3853f9
commit 03e18e60cd

View File

@ -119,7 +119,8 @@
'name' => $app[0],
'enabled' => True,
'status' => $GLOBALS['phpgw_info']['apps'][$app[0]]['status'],
'id' => $GLOBALS['phpgw_info']['apps'][$app[0]]['id']
'id' => $GLOBALS['phpgw_info']['apps'][$app[0]]['id'],
'version' => $GLOBALS['phpgw_info']['apps'][$app[0]]['version']
);
}
}
@ -158,7 +159,8 @@
'name' => $app[1],
'enabled' => True,
'status' => $GLOBALS['phpgw_info']['apps'][$app[1]]['status'],
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id']
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id'],
'version' => $GLOBALS['phpgw_info']['apps'][$app[1]]['version']
);
}
}
@ -169,7 +171,8 @@
'name' => $apps,
'enabled' => True,
'status' => $GLOBALS['phpgw_info']['apps'][$apps]['status'],
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id']
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id'],
'version' => $GLOBALS['phpgw_info']['apps'][$app[1]]['version']
);
}
reset($this->data);
@ -265,7 +268,8 @@
'name' => $app[1],
'enabled' => True,
'status' => $GLOBALS['phpgw_info']['apps'][$app[1]]['status'],
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id']
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id'],
'version' => $GLOBALS['phpgw_info']['apps'][$app[1]]['version']
);
}
}
@ -294,7 +298,8 @@
'enabled' => True,
'status' => $this->db->f('app_enabled'),
'id' => intval($this->db->f('app_id')),
'order' => intval($this->db->f('app_order'))
'order' => intval($this->db->f('app_order')),
'version' => $this->db->f('app_version')
);
}
}