Add link to list of placeholders into app menu

This commit is contained in:
Nathan Gray 2014-04-14 17:08:43 +00:00
parent 925b7da66c
commit 3a004a2672
5 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,7 @@ class addressbook_hooks
'Advanced search' => "javascript:egw_openWindowCentered2('". 'Advanced search' => "javascript:egw_openWindowCentered2('".
egw::link('/index.php',array('menuaction' => 'addressbook.addressbook_ui.search'),false). egw::link('/index.php',array('menuaction' => 'addressbook.addressbook_ui.search'),false).
"','_blank',870,480,'yes')", "','_blank',870,480,'yes')",
'Placeholders' => egw::link('/index.php','menuaction=addressbook.addressbook_merge.show_replacements')
); );
display_sidebox($appname,lang('Addressbook menu'),$file); display_sidebox($appname,lang('Addressbook menu'),$file);
} }

View File

@ -858,6 +858,7 @@ class calendar_ui
'icon' => false, 'icon' => false,
); );
} }
$file['Placeholders'] = egw::link('/index.php','menuaction=calendar.calendar_merge.show_replacements');
} }
$appname = 'calendar'; $appname = 'calendar';

View File

@ -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); display_sidebox(self::$appname,$title,$file);
} }
if ($GLOBALS['egw_info']['user']['apps']['admin']) self::admin(self::$appname); if ($GLOBALS['egw_info']['user']['apps']['admin']) self::admin(self::$appname);

View File

@ -100,6 +100,7 @@ class infolog_hooks
'menuaction' => 'infolog.infolog_ui.index', 'menuaction' => 'infolog.infolog_ui.index',
'ajax' => 'true')), 'ajax' => 'true')),
'Add' => "javascript:app.infolog.add_link_sidemenu();", '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); display_sidebox($appname,$GLOBALS['egw_info']['apps']['infolog']['title'].' '.lang('Menu'),$file);
} }

View File

@ -108,6 +108,7 @@ class timesheet_hooks
$file = array( $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); display_sidebox($appname,$GLOBALS['egw_info']['apps'][$appname]['title'].' '.lang('Menu'),$file);
} }