mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
different calls to display_section to work in HEAD and 0.9.14
This commit is contained in:
parent
6df27ba200
commit
f1367446d0
@ -19,6 +19,10 @@
|
||||
);
|
||||
|
||||
//Do not modify below this line
|
||||
list($ver,$mayor,$minor,$ref) = explode('.',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
|
||||
if ($minor > 14)
|
||||
display_section($appname,$file);
|
||||
else
|
||||
display_section($appname,$appname,$file);
|
||||
}
|
||||
?>
|
@ -14,14 +14,17 @@
|
||||
|
||||
{
|
||||
// Only Modify the $file and $title variables.....
|
||||
$title = $appname;
|
||||
$file = array(
|
||||
'Preferences' => $GLOBALS['phpgw']->link('/index.php','menuaction=infolog.uiinfolog.preferences'),
|
||||
'Grant Access' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname),
|
||||
'Edit Categories' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app=' . $appname . '&cats_level=True&global_cats=True')
|
||||
);
|
||||
//Do not modify below this line
|
||||
display_section($appname,$title,$file);
|
||||
list($ver,$mayor,$minor,$ref) = explode('.',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
|
||||
if ($minor > 14)
|
||||
display_section($appname,$file);
|
||||
else
|
||||
display_section($appname,$appname,$file);
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user