posibility to pass arguments to the links of the icons in the navbar: used atm. to set a specific manual page, if the automatic generation of the page-name is not sufficent, eg.

$GLOBALS[phpgw_info][flags][params][manual] = array('page' => 'ManualInfologAdd');
This commit is contained in:
Ralf Becker 2004-04-13 15:53:25 +00:00
parent 24d59a50b4
commit 7aae6434e5

View File

@ -1099,7 +1099,7 @@
if ($app == 'preferences' || $GLOBALS['phpgw_info']['apps'][$app]['status'] != 2 && $GLOBALS['phpgw_info']['apps'][$app]['status'] != 3)
{
$GLOBALS['phpgw_info']['navbar'][$app]['title'] = $GLOBALS['phpgw_info']['apps'][$app]['title'];
$GLOBALS['phpgw_info']['navbar'][$app]['url'] = $GLOBALS['phpgw']->link('/' . $app . '/index.php');
$GLOBALS['phpgw_info']['navbar'][$app]['url'] = $GLOBALS['phpgw']->link('/' . $app . '/index.php',$GLOBALS['phpgw_info']['flags']['params'][$app]);
$GLOBALS['phpgw_info']['navbar'][$app]['name'] = $app;
// create popup target