diff --git a/addressbook/inc/hook_admin.inc.php b/addressbook/inc/hook_admin.inc.php index b9a7fdce96..d13b4665a9 100644 --- a/addressbook/inc/hook_admin.inc.php +++ b/addressbook/inc/hook_admin.inc.php @@ -1,18 +1,18 @@ * - * -------------------------------------------- * - * This program is free software; you can redistribute it and/or modify it * - * under the terms of the GNU General Public License as published by the * - * Free Software Foundation; either version 2 of the License, or (at your * - * option) any later version. * - \**************************************************************************/ - /* $Id$ */ + /**************************************************************************\ + * phpGroupWare * + * http://www.phpgroupware.org * + * Written by coreteam * + * ----------------------------------------------------- * + * This program is free software; you can redistribute it and/or modify it * + * under the terms of the GNU General Public License as published by the * + * Free Software Foundation; either version 2 of the License, or (at your * + * option) any later version. * + \**************************************************************************/ + /* $Id$ */ { -// Only Modify the $file and $title variables..... +// Only Modify the $file variable..... $file = Array ( 'Site Configuration' => $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiconfig.index&appname=' . $appname), @@ -20,6 +20,6 @@ 'Global Categories' => $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname=' . $appname . '&global_cats=True') ); //Do not modify below this line - display_section($appname,$file); + $GLOBALS['phpgw']->common->display_mainscreen($appname,$file); } ?> diff --git a/calendar/inc/hook_admin.inc.php b/calendar/inc/hook_admin.inc.php index 63d8ae5c00..cae489ddd8 100755 --- a/calendar/inc/hook_admin.inc.php +++ b/calendar/inc/hook_admin.inc.php @@ -21,6 +21,6 @@ 'Global categories' => $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname=' . $appname . '&global_cats=True') ); //Do not modify below this line - display_section($appname,$file); + $GLOBALS['phpgw']->common->display_mainscreen($appname,$file); } ?>