diff --git a/htdocs/bookmarks/bookmarks.lib.php b/htdocs/bookmarks/bookmarks.lib.php index 7783a2daf1f..4bc203592ac 100644 --- a/htdocs/bookmarks/bookmarks.lib.php +++ b/htdocs/bookmarks/bookmarks.lib.php @@ -196,15 +196,13 @@ function printDropdownBookmarksList($aDb, $aLangs) } $searchForm = ''."\n"; - $searchForm.= '
'; - $searchForm.= ''; + $searchForm.= ''; + $searchForm.= ''; $searchForm.= '
'; // Url to list bookmark - $listbtn = ''; - $listbtn = ''; - $listbtn.= ' '.$langs->trans('Bookmarks').'...'; + $listbtn.= ' '.$langs->trans('Bookmarks').''; // Url to go on create new bookmark page $newbtn = ''; @@ -213,7 +211,7 @@ function printDropdownBookmarksList($aDb, $aLangs) //$urltoadd=DOL_URL_ROOT.'/bookmarks/card.php?action=create&urlsource='.urlencode($url).'&url='.urlencode($url); $urltoadd=DOL_URL_ROOT.'/bookmarks/card.php?action=create&url='.urlencode($url); $newbtn.= ''; - $newbtn.= ' '.dol_escape_htmltag($langs->trans('AddThisPageToBookmarks').'...').''; + $newbtn.= ' '.dol_escape_htmltag($langs->trans('AddThisPageToBookmarks')).''; } @@ -246,8 +244,8 @@ function printDropdownBookmarksList($aDb, $aLangs) $html= ''; if (! empty($conf->global->BOOKMARKS_SHOW_IN_MENU)) { $html.= ' - -
+ + '; @@ -255,7 +253,7 @@ function printDropdownBookmarksList($aDb, $aLangs) $html.= ' -
+ '; @@ -288,88 +286,4 @@ function printDropdownBookmarksList($aDb, $aLangs) } return $html; - - - - if (! empty($conf->use_javascript_ajax)) { // Bookmark autosubmit can't work when javascript is off. - - - - - - // Menu bookmark - $ret = ''."\n"; - - $ret.= ''."\n"; - $ret.= '
'; - $ret.= ''; - $ret.= '
'; - - $ret.=ajax_combobox('boxbookmark'); - - $ret.=''; - } - - $ret.= ''."\n"; - - return $ret; } \ No newline at end of file diff --git a/htdocs/langs/en_US/bookmarks.lang b/htdocs/langs/en_US/bookmarks.lang index 5330ab6e87c..87466cadcfa 100644 --- a/htdocs/langs/en_US/bookmarks.lang +++ b/htdocs/langs/en_US/bookmarks.lang @@ -18,3 +18,4 @@ SetHereATitleForLink=Set a name for the bookmark UseAnExternalHttpLinkOrRelativeDolibarrLink=Use an external/absolute link (https://URL) or an internal/relative link (/DOLIBARR_ROOT/htdocs/...) ChooseIfANewWindowMustBeOpenedOnClickOnBookmark=Choose if the linked page should open in the current tab or a new tab BookmarksManagement=Bookmarks management +BookmarksMenuShortCut=Ctrl + shift + m diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index bba6c05a7af..8940bc4641b 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1607,8 +1607,6 @@ function top_menu($head, $title = '', $target = '', $disablejs = 0, $disablehead print '