SOURCES: phpMyAdmin-ServerSelectDisplayName-config.patch (NEW), phpMyAdmin-...

jezik jezik at pld-linux.org
Tue Aug 19 01:12:37 CEST 2008


Author: jezik                        Date: Mon Aug 18 23:12:37 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- ServerSelectDisplayName

---- Files affected:
SOURCES:
   phpMyAdmin-ServerSelectDisplayName-config.patch (NONE -> 1.1)  (NEW), phpMyAdmin-ServerSelectDisplayName.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/phpMyAdmin-ServerSelectDisplayName-config.patch
diff -u /dev/null SOURCES/phpMyAdmin-ServerSelectDisplayName-config.patch:1.1
--- /dev/null	Tue Aug 19 01:12:38 2008
+++ SOURCES/phpMyAdmin-ServerSelectDisplayName-config.patch	Tue Aug 19 01:12:31 2008
@@ -0,0 +1,18 @@
+*** libraries/config.default.php.orig	Tue Aug 19 00:56:44 2008
+--- libraries/config.default.php	Tue Aug 19 00:56:08 2008
+***************
+*** 80,85 ****
+--- 80,92 ----
+  $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']

================================================================
Index: SOURCES/phpMyAdmin-ServerSelectDisplayName.patch
diff -u /dev/null SOURCES/phpMyAdmin-ServerSelectDisplayName.patch:1.1
--- /dev/null	Tue Aug 19 01:12:39 2008
+++ SOURCES/phpMyAdmin-ServerSelectDisplayName.patch	Tue Aug 19 01:12:32 2008
@@ -0,0 +1,19 @@
+*** libraries/select_server.lib.php.org	Tue Aug 19 00:41:59 2008
+--- libraries/select_server.lib.php	Tue Aug 19 00:42:35 2008
+***************
+*** 62,68 ****
+          if (!empty($server['verbose'])) {
+              $label = $server['verbose'];
+          } else {
+!             $label = $server['host'];
+              if (!empty($server['port'])) {
+                  $label .= ':' . $server['port'];
+              }
+--- 62,68 ----
+          if (!empty($server['verbose'])) {
+              $label = $server['verbose'];
+          } else {
+!             $label = isset($server['display']) ? $server['display'] : $server['host'];
+              if (!empty($server['port'])) {
+                  $label .= ':' . $server['port'];
+              }
================================================================


More information about the pld-cvs-commit mailing list