diff --git a/config.sample.inc.php b/config.sample.inc.php index 048b42d2fd..035ebb80db 100644 --- a/config.sample.inc.php +++ b/config.sample.inc.php @@ -115,12 +115,6 @@ $cfg['SaveDir'] = ''; //$cfg['DefaultLang'] = 'en'; //$cfg['DefaultLang'] = 'de'; -/** - * default display direction (horizontal|vertical|horizontalflipped) - */ -//$cfg['DefaultDisplay'] = 'vertical'; - - /** * How many columns should be used for table display of a database? * (a value larger than 1 results in some information being hidden) diff --git a/doc/config.rst b/doc/config.rst index f5603e3b1b..4fc1c9511e 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -2252,18 +2252,6 @@ Design customization the left side, right side, both sides or nowhere). "left" and "right" are parsed as "top" and "bottom" with vertical display mode. -.. config:option:: $cfg['DefaultDisplay'] - - :type: string - :default: ``'horizontal'`` - - There are 3 display modes: horizontal, horizontalflipped and vertical. - Define which one is displayed by default. The first mode displays each - row on a horizontal line, the second rotates the headers by 90 - degrees, so you can use descriptive headers even though columns only - contain small values and still print them out. The vertical mode sorts - each row on a vertical lineup. - .. config:option:: $cfg['RememberSorting'] :type: boolean @@ -2280,19 +2268,6 @@ Design customization when there is no sort order defines externally. Acceptable values : ['NONE', 'ASC', 'DESC'] -.. config:option:: $cfg['HeaderFlipType'] - - :type: string - :default: ``'auto'`` - - The HeaderFlipType can be set to 'auto', 'css' or 'fake'. When using - 'css' the rotation of the header for horizontalflipped is done via - CSS. The CSS transformation currently works only in Internet - Explorer.If set to 'fake' PHP does the transformation for you, but of - course this does not look as good as CSS. The 'auto' option enables - CSS transformation when browser supports it and use PHP based one - otherwise. - .. config:option:: $cfg['ShowBrowseComments'] :type: boolean @@ -2516,14 +2491,6 @@ Web server upload/save/import directories Various display setting ----------------------- -.. config:option:: $cfg['ShowDisplayDirection'] - - :type: boolean - :default: false - - Defines whether or not type display direction option is shown when - browsing a table. - .. config:option:: $cfg['RepeatCells'] :type: integer diff --git a/js/functions.js b/js/functions.js index 8719627b44..9648fd74c3 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3587,70 +3587,13 @@ AJAX.registerOnload('functions.js', function () { * Unbind all event handlers before tearing down a page */ AJAX.registerTeardown('functions.js', function () { - $(document).off('mouseenter', '.vpointer'); - $(document).off('mouseleave', '.vpointer'); - $(document).off('click', '.vmarker'); $(document).off('change', 'select.pageselector'); $(document).off('click', 'a.formLinkSubmit'); $('#update_recent_tables').unbind('ready'); $('#sync_favorite_tables').unbind('ready'); }); -/** - * Vertical pointer - */ + AJAX.registerOnload('functions.js', function () { - $(document).on('mouseenter', '.vpointer', - //handlerIn - function (e) { - var $this_td = $(this); - var row_num = PMA_getRowNumber($this_td.attr('class')); - // for all td of the same vertical row, add hover - $('.vpointer').filter('.row_' + row_num).addClass('hover'); - } - ); - $(document).on('mouseleave', '.vpointer', - //handlerOut - function (e) { - var $this_td = $(this); - var row_num = PMA_getRowNumber($this_td.attr('class')); - // for all td of the same vertical row, remove hover - $('.vpointer').filter('.row_' + row_num).removeClass('hover'); - } - ); - - - /** - * Vertical marker - */ - $(document).on('click', '.vmarker', function (e) { - // do not trigger when clicked on anchor - if ($(e.target).is('a, img, a *')) { - return; - } - - var $this_td = $(this); - var row_num = PMA_getRowNumber($this_td.attr('class')); - - // XXX: FF fires two click events for