X-Git-Url: https://git.tld-linux.org/?p=packages%2FphpMyAdmin.git;a=blobdiff_plain;f=phpMyAdmin-config.patch;h=10ac2dfc7e2950adab66cf88ecc86afe29fb9030;hp=110be5ae2c8c515be73bf507177629cebe3eca66;hb=HEAD;hpb=9854e6226442bf919c2a9b2512a0185ded150dbf diff --git a/phpMyAdmin-config.patch b/phpMyAdmin-config.patch index 110be5a..10ac2df 100644 --- a/phpMyAdmin-config.patch +++ b/phpMyAdmin-config.patch @@ -1,12 +1,83 @@ -diff -burNp phpMyAdmin-3.1.0-all-languages/libraries/config.default.php phpMyAdmin-3.1.0-all-languages-new/libraries/config.default.php ---- phpMyAdmin-3.1.0-all-languages/libraries/config.default.php 2008-11-28 14:21:00.000000000 +0100 -+++ phpMyAdmin-3.1.0-all-languages-new/libraries/config.default.php 2008-12-02 10:31:40.200149063 +0100 -@@ -180,7 +180,7 @@ $cfg['Servers'][$i]['auth_swekey_config' +diff -ur phpMyAdmin-5.1.1-all-languages.orig/libraries/config.default.php phpMyAdmin-5.1.1-all-languages/libraries/config.default.php +--- phpMyAdmin-5.1.1-all-languages.orig/libraries/config.default.php 2021-11-25 02:55:24.392642991 +0100 ++++ phpMyAdmin-5.1.1-all-languages/libraries/config.default.php 2021-11-25 02:56:22.546780860 +0100 +@@ -1,18 +1,5 @@ + +- * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !! +- * NN N O O !! D D O O NN N O O T E D D I T !! +- * N N N O O !! D D O O N N N O O T EEEE D D I T !! +- * N NN O O D D O O N NN O O T E D D I T +- * N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !! +- * +- * +- * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!! +- * +- * phpMyAdmin default configuration, you can copy values from here to your +- * config.inc.php +- * + * All directives are explained in the documentation + */ + +@@ -938,14 +925,14 @@ + * + * @global integer $cfg['MaxNavigationItems'] + */ +-$cfg['MaxNavigationItems'] = 50; ++$cfg['MaxNavigationItems'] = 250; + + /** + * turn the select-based light menu into a tree * - * @global string $cfg['Servers'][$i]['user'] + * @global boolean $cfg['NavigationTreeEnableGrouping'] */ --$cfg['Servers'][$i]['user'] = 'root'; -+$cfg['Servers'][$i]['user'] = 'mysql'; +-$cfg['NavigationTreeEnableGrouping'] = true; ++$cfg['NavigationTreeEnableGrouping'] = false; /** - * MySQL password (only needed with 'config' auth_type) + * the separator to sub-tree the select-based light menu tree +@@ -1004,14 +991,14 @@ + * + * @global integer $cfg['NumRecentTables'] + */ +-$cfg['NumRecentTables'] = 10; ++$cfg['NumRecentTables'] = 0; + + /** + * number of favorite tables displayed in the navigation panel + * + * @global integer $cfg['NumFavoriteTables'] + */ +-$cfg['NumFavoriteTables'] = 10; ++$cfg['NumFavoriteTables'] = 0; + + /** + * display a JavaScript table filter in the navigation panel +@@ -1277,7 +1264,7 @@ + * + * @global string $cfg['GridEditing'] + */ +-$cfg['GridEditing'] = 'double-click'; ++$cfg['GridEditing'] = 'disabled'; + + /** + * Options > Relational display +@@ -1426,7 +1413,7 @@ + * + * @global boolean $cfg['ActionLinksMode'] + */ +-$cfg['ActionLinksMode'] = 'both'; ++$cfg['ActionLinksMode'] = 'icons'; + + /** + * How many columns should be used for table display of a database? +@@ -1476,7 +1463,7 @@ + * Whether to display image or text or both image and text in table row + * action segment. Value can be either of ``image``, ``text`` or ``both``. + */ +-$cfg['RowActionType'] = 'both'; ++$cfg['RowActionType'] = 'image'; + + /******************************************************************************* + * Export defaults