Fix #11972 Missing documentation for $cfg['Servers'][$i]['favorite'] and $cfg['NumFavoriteTables']

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2016-02-17 11:22:21 +11:00
parent a7d67642a1
commit ac4143a8c9
2 changed files with 37 additions and 1 deletions

View File

@ -43,6 +43,7 @@ phpMyAdmin - ChangeLog
- issue #11914 Fix autoloading of phpseclib
- issue #11880 Fixed rendering of missing extension error
- issue #11923 Errors on Structure tab when user only has select access on certain columns
- issue #11972 Missing documentation for $cfg['Servers'][$i]['favorite'] and $cfg['NumFavoriteTables']
4.5.5.0 (not yet released)
- issue Undefined index: is_ajax_request

View File

@ -727,7 +727,6 @@ Server connection settings
of recent tables shown. When you select a table from the list, it will jump to
the page specified in :config:option:`$cfg['NavigationTreeDefaultTabTable']`.
Without configuring the storage, you can still access the recently used tables,
but it will disappear after you logout.
@ -739,6 +738,34 @@ Server connection settings
This feature can be disabled by setting the configuration to ``false``.
.. _favorite:
.. config:option:: $cfg['Servers'][$i]['favorite']
:type: string or false
:default: ``''``
Since release 4.2.0 you can show a list of selected tables in the
navigation panel. It helps you to jump to the table directly, without
the need to select the database, and then select the table. When you
select a table from the list, it will jump to the page specified in
:config:option:`$cfg['NavigationTreeDefaultTabTable']`.
You can add tables to this list or remove tables from it in database
structure page by clicking on the star icons next to table names. Using
:config:option:`$cfg['NumFavoriteTables']` you can configure the maximum
number of favorite tables shown.
Without configuring the storage, you can still access the favorite tables,
but it will disappear after you logout.
To allow the usage of this functionality persistently:
* set up :config:option:`$cfg['Servers'][$i]['pmadb']` and the phpMyAdmin configuration storage
* put the table name in :config:option:`$cfg['Servers'][$i]['favorite']` (e.g.
``pma__favorite``)
This feature can be disabled by setting the configuration to ``false``.
.. _table_uiprefs:
.. config:option:: $cfg['Servers'][$i]['table_uiprefs']
@ -1595,6 +1622,14 @@ Navigation panel setup
The maximum number of recently used tables shown in the navigation
panel. Set this to 0 (zero) to disable the listing of recent tables.
.. config:option:: $cfg['NumFavoriteTables']
:type: integer
:default: 10
The maximum number of favorite tables shown in the navigation
panel. Set this to 0 (zero) to disable the listing of favorite tables.
.. config:option:: $cfg['ZeroConf']
:type: boolean