diff --git a/filemanager/inc/hook_preferences.inc.php b/filemanager/inc/hook_preferences.inc.php index 9a777e4fd9..523aad700e 100644 --- a/filemanager/inc/hook_preferences.inc.php +++ b/filemanager/inc/hook_preferences.inc.php @@ -12,29 +12,12 @@ /* $Id$ */ { - echo "

\n"; - $imgfile = $phpgw->common->get_image_dir ($appname) . '/' . $appname . '.gif'; - if (file_exists ($imgfile)) - { - $imgpath = $phpgw->common->get_image_path ($appname) . '/' . $appname . '.gif'; - } - else - { - $imgfile = $phpgw->common->get_image_dir ($appname) . '/navbar.gif'; - if (file_exists ($imgfile)) - { - $imgpath = $phpgw->common->get_image_path ($appname) . '/navbar.gif'; - } - else - { - $imgpath = ''; - } - } - - section_start (ucfirst ($appname), $imgpath); - - echo '' . lang ('PHPWebHosting preferences') . ''; - - section_end (); +// Only Modify the $file and $title variables..... + $title = $appname; + $file = Array( + 'PHPWebHosting preferences' => $phpgw->link('/phpwebhosting/preferences.php') + ); +//Do not modify below this line + display_section($appname,$title,$file); } ?>