From 3a004a26720373e98d8d715b4239344d2e5f6d45 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 14 Apr 2014 17:08:43 +0000 Subject: [PATCH] Add link to list of placeholders into app menu --- addressbook/inc/class.addressbook_hooks.inc.php | 1 + calendar/inc/class.calendar_ui.inc.php | 1 + filemanager/inc/class.filemanager_hooks.inc.php | 1 + infolog/inc/class.infolog_hooks.inc.php | 1 + timesheet/inc/class.timesheet_hooks.inc.php | 1 + 5 files changed, 5 insertions(+) diff --git a/addressbook/inc/class.addressbook_hooks.inc.php b/addressbook/inc/class.addressbook_hooks.inc.php index ca29411c7c..bf8b2b021f 100644 --- a/addressbook/inc/class.addressbook_hooks.inc.php +++ b/addressbook/inc/class.addressbook_hooks.inc.php @@ -50,6 +50,7 @@ class addressbook_hooks 'Advanced search' => "javascript:egw_openWindowCentered2('". egw::link('/index.php',array('menuaction' => 'addressbook.addressbook_ui.search'),false). "','_blank',870,480,'yes')", + 'Placeholders' => egw::link('/index.php','menuaction=addressbook.addressbook_merge.show_replacements') ); display_sidebox($appname,lang('Addressbook menu'),$file); } diff --git a/calendar/inc/class.calendar_ui.inc.php b/calendar/inc/class.calendar_ui.inc.php index 5b44478314..2db4c06ed4 100644 --- a/calendar/inc/class.calendar_ui.inc.php +++ b/calendar/inc/class.calendar_ui.inc.php @@ -858,6 +858,7 @@ class calendar_ui 'icon' => false, ); } + $file['Placeholders'] = egw::link('/index.php','menuaction=calendar.calendar_merge.show_replacements'); } $appname = 'calendar'; diff --git a/filemanager/inc/class.filemanager_hooks.inc.php b/filemanager/inc/class.filemanager_hooks.inc.php index 4b87167ac3..efe9c5cf1c 100644 --- a/filemanager/inc/class.filemanager_hooks.inc.php +++ b/filemanager/inc/class.filemanager_hooks.inc.php @@ -98,6 +98,7 @@ class filemanager_hooks )); } } + $file['Placeholders'] = egw::link('/index.php','menuaction=filemanager.filemanager_merge.show_replacements'); display_sidebox(self::$appname,$title,$file); } if ($GLOBALS['egw_info']['user']['apps']['admin']) self::admin(self::$appname); diff --git a/infolog/inc/class.infolog_hooks.inc.php b/infolog/inc/class.infolog_hooks.inc.php index 548c8d573a..afab23d467 100644 --- a/infolog/inc/class.infolog_hooks.inc.php +++ b/infolog/inc/class.infolog_hooks.inc.php @@ -100,6 +100,7 @@ class infolog_hooks 'menuaction' => 'infolog.infolog_ui.index', 'ajax' => 'true')), 'Add' => "javascript:app.infolog.add_link_sidemenu();", + 'Placeholders' => egw::link('/index.php','menuaction=infolog.infolog_merge.show_replacements') ); display_sidebox($appname,$GLOBALS['egw_info']['apps']['infolog']['title'].' '.lang('Menu'),$file); } diff --git a/timesheet/inc/class.timesheet_hooks.inc.php b/timesheet/inc/class.timesheet_hooks.inc.php index f4f2840fcb..e62d79929d 100644 --- a/timesheet/inc/class.timesheet_hooks.inc.php +++ b/timesheet/inc/class.timesheet_hooks.inc.php @@ -108,6 +108,7 @@ class timesheet_hooks $file = array( ); + $file['Placeholders'] = egw::link('/index.php','menuaction=timesheet.timesheet_merge.show_replacements'); display_sidebox($appname,$GLOBALS['egw_info']['apps'][$appname]['title'].' '.lang('Menu'),$file); }