diff --git a/infolog/doc/lang_de.sql b/infolog/doc/lang_de.sql index a97d5329cd..c8b133d2a9 100644 --- a/infolog/doc/lang_de.sql +++ b/infolog/doc/lang_de.sql @@ -1,4 +1,5 @@ INSERT INTO lang VALUES ('infolog','common','de','InfoLog'); +INSERT INTO lang VALUES ('csv-import','admin','de','CSV-Import'); INSERT INTO lang VALUES ('urgency','infolog','de','Priorität'); INSERT INTO lang VALUES ('sub','infolog','de','Teil-
projekte'); INSERT INTO lang VALUES ('add sub','infolog','de','neues Teilprojekt anlegen'); diff --git a/infolog/inc/hook_admin.inc.php b/infolog/inc/hook_admin.inc.php index b06d9b93e8..6291e22102 100644 --- a/infolog/inc/hook_admin.inc.php +++ b/infolog/inc/hook_admin.inc.php @@ -10,11 +10,13 @@ \**************************************************************************/ /* $Id$ */ - - $imgpath = $phpgw->common->image($appname,'navbar.gif'); - section_start($appname,$imgpath); - - section_item($phpgw->link('/infolog/csv_import.php'),lang('CSV-Import')); - - section_end(); +{ +// Only Modify the $file and $title variables..... + $title = $appname; + $file = Array( + 'CSV-Import' => $phpgw->link('/infolog/csv_import.php') + ); +//Do not modify below this line + display_section($appname,$title,$file); +} ?> \ No newline at end of file diff --git a/infolog/inc/hook_preferences.inc.php b/infolog/inc/hook_preferences.inc.php index 4e9e7d2bcc..3a0ec428b5 100644 --- a/infolog/inc/hook_preferences.inc.php +++ b/infolog/inc/hook_preferences.inc.php @@ -11,30 +11,17 @@ \**************************************************************************/ /* $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); - - section_item($phpgw->link('/preferences/acl_preferences.php','acl_app=infolog'), - lang('Grant InfoLog Access')); - - section_item($phpgw->link('/preferences/categories.php','cats_app=infolog'), - lang('InfoLog categories')); - - section_end(); +// Only Modify the $file and $title variables..... + $title = $appname; + $file = Array( + // 'Preferences' => $phpgw->link('/infolog/preferences.php'), + 'Grant Access' => $phpgw->link('/preferences/acl_preferences.php','acl_app='.$appname), + 'Edit Categories' => $phpgw->link('/preferences/categories.php','cats_app='.$appname), + ); +//Do not modify below this line + display_section($appname,$title,$file); } + ?>