X-Git-Url: https://git.tld-linux.org/?p=packages%2FphpMyAdmin.git;a=blobdiff_plain;f=phpMyAdmin-config.patch;h=ded76988fbd1e232414e8a1678fbd1504457e9f9;hp=110be5ae2c8c515be73bf507177629cebe3eca66;hb=cecc4de2aff12ca52c68e71882962c0878e6e3f3;hpb=9854e6226442bf919c2a9b2512a0185ded150dbf diff --git a/phpMyAdmin-config.patch b/phpMyAdmin-config.patch index 110be5a..ded7698 100644 --- a/phpMyAdmin-config.patch +++ b/phpMyAdmin-config.patch @@ -1,7 +1,40 @@ -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-4.5.3.1-all-languages.orig/libraries/config.default.php phpMyAdmin-4.5.3.1-all-languages/libraries/config.default.php +--- phpMyAdmin-4.5.3.1-all-languages.orig/libraries/config.default.php 2015-12-25 20:07:18.000000000 +0000 ++++ phpMyAdmin-4.5.3.1-all-languages/libraries/config.default.php 2016-01-19 12:55:24.778367491 +0000 +@@ -1,18 +1,6 @@ + +- * 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 + * +@@ -118,6 +106,13 @@ + $i = 1; + + /** ++ * Display name ++ * ++ * @global string $cfg['Servers'][$i]['display'] ++ */ ++$cfg['Servers'][$i]['display'] = 'localhost'; ++ ++/** + * MySQL hostname or IP address + * + * @global string $cfg['Servers'][$i]['host'] +@@ -257,7 +252,7 @@ * * @global string $cfg['Servers'][$i]['user'] */ @@ -10,3 +43,64 @@ diff -burNp phpMyAdmin-3.1.0-all-languages/libraries/config.default.php phpMyAdm /** * MySQL password (only needed with 'config' auth_type) +@@ -874,14 +869,14 @@ + * + * @global integer $cfg['MaxNavigationItems'] + */ +-$cfg['MaxNavigationItems'] = 50; ++$cfg['MaxNavigationItems'] = 250; + + /** + * turn the select-based light menu into a tree + * + * @global boolean $cfg['NavigationTreeEnableGrouping'] + */ +-$cfg['NavigationTreeEnableGrouping'] = true; ++$cfg['NavigationTreeEnableGrouping'] = false; + + /** + * the separator to sub-tree the select-based light menu tree +@@ -940,14 +935,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 +@@ -1186,7 +1181,7 @@ + * + * @global string $cfg['GridEditing'] + */ +-$cfg['GridEditing'] ='double-click'; ++$cfg['GridEditing'] ='disabled'; + + /** + * Options > Relational display +@@ -1333,7 +1328,7 @@ + * + * @global boolean $cfg['ActionLinksMode'] + */ +-$cfg['ActionLinksMode'] = 'both'; ++$cfg['ActionLinksMode'] = 'icons'; + + /** + * How many columns should be used for table display of a database? +@@ -1383,7 +1378,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