Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_5-19901-gefa9eeb
by Marc Delisle
The branch, master has been updated
via efa9eeb5583d95972af3fe195e903ac843103de8 (commit)
via 5b2befc1716bfca6b21305a0cb5df6d965eb4c9a (commit)
from 3cbc022058c384cdc0327405ef4ebac8df94fbe4 (commit)
- Log -----------------------------------------------------------------
commit efa9eeb5583d95972af3fe195e903ac843103de8
Merge: 3cbc022 5b2befc
Author: Marc Delisle <marc(a)infomarc.info>
Date: Sat Sep 24 06:03:54 2011 -0400
Merge branch 'QA_3_4'
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 1 +
main.php | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 99e2dc6..cd028c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -59,6 +59,7 @@ phpMyAdmin - ChangeLog
- bug #3383572 [interface] Cannot execute saved query
- bug #3411535 [display] Full text button unchecks results display options
- bug #3411224 [display] Broken binary column when 'Show binary contents' is not set
+- bug #3411633 [core] Call to undefined function PMA_isSuperuser()
3.4.5.0 (2011-09-14)
- bug #3375325 [interface] Page list in navigation frame looks odd
diff --git a/main.php b/main.php
index f85f1c0..051b5ef 100644
--- a/main.php
+++ b/main.php
@@ -139,10 +139,12 @@ echo '</ul>';
// User preferences
-echo '<ul>';
-echo PMA_printListItem(__('More settings'), 'li_user_preferences',
+if ($server > 0) {
+ echo '<ul>';
+ echo PMA_printListItem(__('More settings'), 'li_user_preferences',
'./prefs_manage.php?' . $common_url_query);
-echo '</ul>';
+ echo '</ul>';
+}
echo '</div>';
hooks/post-receive
--
phpMyAdmin
[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_4, updated. RELEASE_3_4_5-20-g5b2befc
by Marc Delisle
The branch, QA_3_4 has been updated
via 5b2befc1716bfca6b21305a0cb5df6d965eb4c9a (commit)
from a211b8ba0ee947a0aacdf23b7ec72fb038a0c83c (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 1 +
main.php | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6ba0b67..e46b9df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,7 @@ phpMyAdmin - ChangeLog
- bug #3383572 [interface] Cannot execute saved query
- bug #3411535 [display] Full text button unchecks results display options
- bug #3411224 [display] Broken binary column when 'Show binary contents' is not set
+- bug #3411633 [core] Call to undefined function PMA_isSuperuser()
3.4.5.0 (2011-09-14)
- bug #3375325 [interface] Page list in navigation frame looks odd
diff --git a/main.php b/main.php
index 836a250..0b0de1a 100644
--- a/main.php
+++ b/main.php
@@ -142,10 +142,12 @@ echo '</ul>';
// User preferences
-echo '<ul>';
-echo PMA_printListItem(__('More settings'), 'li_user_preferences',
+if ($server > 0) {
+ echo '<ul>';
+ echo PMA_printListItem(__('More settings'), 'li_user_preferences',
'./prefs_manage.php?' . $common_url_query);
-echo '</ul>';
+ echo '</ul>';
+}
echo '</div>';
hooks/post-receive
--
phpMyAdmin
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_5-19899-g3cbc022
by Rouslan Placella
The branch, master has been updated
via 3cbc022058c384cdc0327405ef4ebac8df94fbe4 (commit)
from a827abba17758d10b3d8216baf5bb23dc8dbdfbf (commit)
- Log -----------------------------------------------------------------
commit 3cbc022058c384cdc0327405ef4ebac8df94fbe4
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Fri Sep 23 19:15:17 2011 +0100
Use the fallback in PMA_toggleButton(), if the theme is missing the graphics for it
-----------------------------------------------------------------------
Summary of changes:
libraries/common.lib.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index b648ccf..1236667 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -2637,7 +2637,7 @@ function PMA_toggleButton($action, $select_name, $options, $callback)
}
// Generate output
$retval = "<!-- TOGGLE START -->\n";
- if ($GLOBALS['cfg']['AjaxEnable']) {
+ if ($GLOBALS['cfg']['AjaxEnable'] && is_readable($_SESSION['PMA_Theme']->getImgPath() . 'toggle-ltr.png')) {
$retval .= "<noscript>\n";
}
$retval .= "<div class='wrapper'>\n";
@@ -2653,7 +2653,7 @@ function PMA_toggleButton($action, $select_name, $options, $callback)
$retval .= " <input type='submit' value='" . __('Change') . "'/>\n";
$retval .= " </form>\n";
$retval .= "</div>\n";
- if ($GLOBALS['cfg']['AjaxEnable']) {
+ if ($GLOBALS['cfg']['AjaxEnable'] && is_readable($_SESSION['PMA_Theme']->getImgPath() . 'toggle-ltr.png')) {
$retval .= "</noscript>\n";
$retval .= "<div class='wrapper toggleAjax hide'>\n";
$retval .= " <div class='toggleButton'>\n";
hooks/post-receive
--
phpMyAdmin
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_5-19898-ga827abb
by Michal Čihař
The branch, master has been updated
via a827abba17758d10b3d8216baf5bb23dc8dbdfbf (commit)
via e656eb98002268a82ca510dbf224a27268bb95ef (commit)
via 97c0255294f80f39867535621ebefa7b1103d958 (commit)
via 1a23e054b7adca107b6a980a2181adb751264001 (commit)
via a6fcf17238fd9b8e6e5224acb3c558d34efbab49 (commit)
via 7bc7ebba2b8497099341b78f90c53b01eb59ad2e (commit)
via b1dce61b9bcb51dd758df71118b951cb3e13b7a0 (commit)
via 631729ca0074103a717849c835cdd7737f4025ac (commit)
via dd6803bbfc9910b5402bb8d3ce59ea6d58ca833f (commit)
via 8a8f300c68bff9ca9626a827bef1ed59d62b1893 (commit)
via 0f110e75d01dfa17d9aab7d788cf9623615c35d1 (commit)
via 5cb926a29cddf0562f271cfda4762384d1ac9897 (commit)
via 4a1b8a15d4174ef314b81b4cb3ca3a2a0f8af2be (commit)
via 2bef82398676f886ca5f5e3090d430bc4c0fedaa (commit)
via d1ebe40d81dfede472680ee447a00505fc3a82f8 (commit)
via da112fc0c301eda3f523cb8fe2978ac9ce669ac6 (commit)
via 4d447bcd4d88b3ee74b71f60ef5574eef90389b1 (commit)
via c3a83283646681526dba98fe3a8d9d88ad9724f6 (commit)
via 618e292f821e32d1da9ff37b99fa735491e00479 (commit)
via 53e059075b97b158f51d436df6caefd45a2e682a (commit)
via b911aaf71f866237adf6025b7977d47ae639e5fb (commit)
via ae7399bb9cdf790cd3b8a97a4d475f48f3ccd978 (commit)
via fb04a57ee5eed3a8291bbd5f62f02ed87ffd04d7 (commit)
via d6d20b9d0a6f8f86619f670ff5ad482bc7b8e3d9 (commit)
via 1c4e823a9640c7569e55df54ae91f0400f1b90eb (commit)
via 108b17b0d3a5d9e1e766d82ffec4572ac0e7acba (commit)
via 0b3109ff6b4e1fb6604558701e65e1d9c3d55b38 (commit)
via 53eb96d0cf4aa6e3016d6c4f04976a305c8fc39b (commit)
via fe21d96fd4672508d54dbfacf26594c0a19d85e9 (commit)
via fd44356160b31b5ce843d2634ff2660b74a6d7f5 (commit)
via 97766a8078a4d21bd792b9e5e60ac57cd2c2131e (commit)
via 6a4fe79d824f8d0a2ef9e0199f7e54091eb221f0 (commit)
via f9e46d50854799ab3cef0c8bbf067d1ee966a2ef (commit)
via 0aefc67decece306780aec791b04beb967e4eec4 (commit)
via 7e075c90ccc3e36201d851091c1137ca77a90711 (commit)
via 8f59e53aad29276518445e7952a7215c72a7f4bd (commit)
via 4bb87a6cdeb40c302fe969a40201e0fdbe475e0a (commit)
via a9bbc2309debe7d271c6d8bd4d2b88d7ca74b440 (commit)
via 7e5880b19788d1b7973542b2ff3de5c88f5bac79 (commit)
via a40a605d9ee91333ac0bd3ab32ac8d8f9cdccf9f (commit)
via 98ac25de7fea9cfb3d813a33220fe98260657482 (commit)
via c487e8b6f9b86fdd5b9f98b20ae27d3eabc24934 (commit)
via f57585fa2f310d1d7bc439b13e2b1ef02cdfcfdb (commit)
via e2eaf82a71d178416e4bdf914254f9ac3d1c560b (commit)
via c6b2e07d2e8e9629dcfb72af21281725772296e7 (commit)
via a7a265b292fc6feb722d8028b20597a7c45ac70e (commit)
via 16b39f84681dbb28f6547bf996b8b5a56d1cab27 (commit)
via c4be0eb551133f1cf71559be38f097b13c099202 (commit)
via 0ab0d62562275536c0e6d2af378772c47c267cb9 (commit)
via 9dda1fd11d2b3be232a69eb2247c79103426a2e0 (commit)
via 18b02d534c21b6aa0d8a1a5e518770b661b33348 (commit)
via 249266443f1be7e248f1b72d02f8daccbdb4889f (commit)
via 252e870ffc447c62f376f5db68cc525495aacbc5 (commit)
via 54fb8f60bb768041a58d73cd555523d577edd220 (commit)
via 5e9140e264569f588d6f92674fac2b6b27c76d89 (commit)
via 028bcab80a3014383484a7ef8c55f457e2a7bede (commit)
via 8eed488a7186ad68d95361a7e2fdb01cb301d54d (commit)
via 3f811380f5a2aec5ec047ee06265580ff8b71a3b (commit)
via 3704676a2a04c7e1567c98a2d682dcae51a665b5 (commit)
via 85479485690204969701bd483fbc739db35b14fa (commit)
via a43f04e31eff05b22f00e98056911ee38cbd1315 (commit)
via 8fe5d0c38650760f6a63b7c58cd2bf59fe964142 (commit)
via 6dcb74d9376b5c261e54fc3662d0ec6909ae00cf (commit)
via f775972af88e41513d3d77678cf8a5efce910688 (commit)
via c5a317a17735ed1f212bd7654e1055df1ce38b74 (commit)
via f009992ab6900ff53cadd2820c27787d3a8a23b7 (commit)
via 0db1bfddd2f3fbb848a918da879e10d504e78288 (commit)
via 8e9821bb239f71e673dbf2889297af28264d0b1a (commit)
via 5cad2c2f766bcf96ee41f570dde335ae11544e53 (commit)
via 6cab1a6e73f7e7a2d48dae2b6b5969461cc8ee88 (commit)
via c6ef591583f920ce7ef6303d68b760406bb4e892 (commit)
via 20d7479fce814ea6cc6e62d064147cae39a41a19 (commit)
via 52e021bed2408aca8c37feea6add40127160f24f (commit)
via ec030459b19514efee97f71cce60772635d9d94a (commit)
via 18321f1b04b679adc1c8116e34c9a834cfece766 (commit)
via 22c95d4f6cd7edb6329190b598c1e892b628ed19 (commit)
via 546c9bef3a37da72bbc6574bc25a17b7565a4cb8 (commit)
via 3cfbbb21d08b95c82d8c1e215618cda2f73792a6 (commit)
from 4c56367ecd239689852afc0509ef7db4a10c1ca8 (commit)
- Log -----------------------------------------------------------------
commit a827abba17758d10b3d8216baf5bb23dc8dbdfbf
Merge: 4c56367 e656eb9
Author: Michal Čihař <michal(a)cihar.com>
Date: Fri Sep 23 15:31:54 2011 +0200
Merge remote-tracking branch 'pootle/master'
commit e656eb98002268a82ca510dbf224a27268bb95ef
Merge: 97c0255 299da6d
Author: Pootle server <pootle(a)cihar.com>
Date: Fri Sep 23 08:40:05 2011 +0200
Merge remote-tracking branch 'origin/master'
commit 97c0255294f80f39867535621ebefa7b1103d958
Merge: 1a23e05 e67a0a2
Author: Pootle server <pootle(a)cihar.com>
Date: Fri Sep 23 06:40:09 2011 +0200
Merge remote-tracking branch 'origin/master'
commit 1a23e054b7adca107b6a980a2181adb751264001
Merge: a6fcf17 ac088aa
Author: Pootle server <pootle(a)cihar.com>
Date: Fri Sep 23 02:40:17 2011 +0200
Merge remote-tracking branch 'origin/master'
commit a6fcf17238fd9b8e6e5224acb3c558d34efbab49
Merge: 7bc7ebb ff56cbf
Author: Pootle server <pootle(a)cihar.com>
Date: Thu Sep 22 18:40:06 2011 +0200
Merge remote-tracking branch 'origin/master'
commit 7bc7ebba2b8497099341b78f90c53b01eb59ad2e
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:50:17 2011 +0200
Translation update done using Pootle.
commit b1dce61b9bcb51dd758df71118b951cb3e13b7a0
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:49:55 2011 +0200
Translation update done using Pootle.
commit 631729ca0074103a717849c835cdd7737f4025ac
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:45:57 2011 +0200
Translation update done using Pootle.
commit dd6803bbfc9910b5402bb8d3ce59ea6d58ca833f
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:45:50 2011 +0200
Translation update done using Pootle.
commit 8a8f300c68bff9ca9626a827bef1ed59d62b1893
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:45:26 2011 +0200
Translation update done using Pootle.
commit 0f110e75d01dfa17d9aab7d788cf9623615c35d1
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:45:16 2011 +0200
Translation update done using Pootle.
commit 5cb926a29cddf0562f271cfda4762384d1ac9897
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:45:09 2011 +0200
Translation update done using Pootle.
commit 4a1b8a15d4174ef314b81b4cb3ca3a2a0f8af2be
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:44:59 2011 +0200
Translation update done using Pootle.
commit 2bef82398676f886ca5f5e3090d430bc4c0fedaa
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:42:28 2011 +0200
Translation update done using Pootle.
commit d1ebe40d81dfede472680ee447a00505fc3a82f8
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:35:49 2011 +0200
Translation update done using Pootle.
commit da112fc0c301eda3f523cb8fe2978ac9ce669ac6
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:35:33 2011 +0200
Translation update done using Pootle.
commit 4d447bcd4d88b3ee74b71f60ef5574eef90389b1
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:35:17 2011 +0200
Translation update done using Pootle.
commit c3a83283646681526dba98fe3a8d9d88ad9724f6
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:35:08 2011 +0200
Translation update done using Pootle.
commit 618e292f821e32d1da9ff37b99fa735491e00479
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:33:52 2011 +0200
Translation update done using Pootle.
commit 53e059075b97b158f51d436df6caefd45a2e682a
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:33:41 2011 +0200
Translation update done using Pootle.
commit b911aaf71f866237adf6025b7977d47ae639e5fb
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:31:28 2011 +0200
Translation update done using Pootle.
commit ae7399bb9cdf790cd3b8a97a4d475f48f3ccd978
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:26:13 2011 +0200
Translation update done using Pootle.
commit fb04a57ee5eed3a8291bbd5f62f02ed87ffd04d7
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:24:25 2011 +0200
Translation update done using Pootle.
commit d6d20b9d0a6f8f86619f670ff5ad482bc7b8e3d9
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:22:38 2011 +0200
Translation update done using Pootle.
commit 1c4e823a9640c7569e55df54ae91f0400f1b90eb
Author: Yuichiro <yuichiro(a)pop07.odn.ne.jp>
Date: Thu Sep 22 12:19:16 2011 +0200
Translation update done using Pootle.
commit 108b17b0d3a5d9e1e766d82ffec4572ac0e7acba
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Sep 22 11:54:31 2011 +0200
Translation update done using Pootle.
commit 0b3109ff6b4e1fb6604558701e65e1d9c3d55b38
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Sep 22 11:53:45 2011 +0200
Translation update done using Pootle.
commit 53eb96d0cf4aa6e3016d6c4f04976a305c8fc39b
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Sep 22 11:52:26 2011 +0200
Translation update done using Pootle.
commit fe21d96fd4672508d54dbfacf26594c0a19d85e9
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Sep 22 11:51:44 2011 +0200
Translation update done using Pootle.
commit fd44356160b31b5ce843d2634ff2660b74a6d7f5
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Sep 22 11:51:29 2011 +0200
Translation update done using Pootle.
commit 97766a8078a4d21bd792b9e5e60ac57cd2c2131e
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Sep 22 11:50:22 2011 +0200
Translation update done using Pootle.
commit 6a4fe79d824f8d0a2ef9e0199f7e54091eb221f0
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Sep 22 11:50:00 2011 +0200
Translation update done using Pootle.
commit f9e46d50854799ab3cef0c8bbf067d1ee966a2ef
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Sep 22 11:49:09 2011 +0200
Translation update done using Pootle.
commit 0aefc67decece306780aec791b04beb967e4eec4
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Sep 22 11:48:35 2011 +0200
Translation update done using Pootle.
commit 7e075c90ccc3e36201d851091c1137ca77a90711
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:28:47 2011 +0200
Translation update done using Pootle.
commit 8f59e53aad29276518445e7952a7215c72a7f4bd
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:28:35 2011 +0200
Translation update done using Pootle.
commit 4bb87a6cdeb40c302fe969a40201e0fdbe475e0a
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:28:14 2011 +0200
Translation update done using Pootle.
commit a9bbc2309debe7d271c6d8bd4d2b88d7ca74b440
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:28:04 2011 +0200
Translation update done using Pootle.
commit 7e5880b19788d1b7973542b2ff3de5c88f5bac79
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:27:33 2011 +0200
Translation update done using Pootle.
commit a40a605d9ee91333ac0bd3ab32ac8d8f9cdccf9f
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:27:20 2011 +0200
Translation update done using Pootle.
commit 98ac25de7fea9cfb3d813a33220fe98260657482
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:27:10 2011 +0200
Translation update done using Pootle.
commit c487e8b6f9b86fdd5b9f98b20ae27d3eabc24934
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:25:56 2011 +0200
Translation update done using Pootle.
commit f57585fa2f310d1d7bc439b13e2b1ef02cdfcfdb
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:25:09 2011 +0200
Translation update done using Pootle.
commit e2eaf82a71d178416e4bdf914254f9ac3d1c560b
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:24:46 2011 +0200
Translation update done using Pootle.
commit c6b2e07d2e8e9629dcfb72af21281725772296e7
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:24:24 2011 +0200
Translation update done using Pootle.
commit a7a265b292fc6feb722d8028b20597a7c45ac70e
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:24:19 2011 +0200
Translation update done using Pootle.
commit 16b39f84681dbb28f6547bf996b8b5a56d1cab27
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:24:04 2011 +0200
Translation update done using Pootle.
commit c4be0eb551133f1cf71559be38f097b13c099202
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:23:51 2011 +0200
Translation update done using Pootle.
commit 0ab0d62562275536c0e6d2af378772c47c267cb9
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:23:20 2011 +0200
Translation update done using Pootle.
commit 9dda1fd11d2b3be232a69eb2247c79103426a2e0
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:23:09 2011 +0200
Translation update done using Pootle.
commit 18b02d534c21b6aa0d8a1a5e518770b661b33348
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:22:56 2011 +0200
Translation update done using Pootle.
commit 249266443f1be7e248f1b72d02f8daccbdb4889f
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:22:48 2011 +0200
Translation update done using Pootle.
commit 252e870ffc447c62f376f5db68cc525495aacbc5
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:22:37 2011 +0200
Translation update done using Pootle.
commit 54fb8f60bb768041a58d73cd555523d577edd220
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:22:02 2011 +0200
Translation update done using Pootle.
commit 5e9140e264569f588d6f92674fac2b6b27c76d89
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:21:47 2011 +0200
Translation update done using Pootle.
commit 028bcab80a3014383484a7ef8c55f457e2a7bede
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:21:22 2011 +0200
Translation update done using Pootle.
commit 8eed488a7186ad68d95361a7e2fdb01cb301d54d
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:21:03 2011 +0200
Translation update done using Pootle.
commit 3f811380f5a2aec5ec047ee06265580ff8b71a3b
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:20:07 2011 +0200
Translation update done using Pootle.
commit 3704676a2a04c7e1567c98a2d682dcae51a665b5
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:19:52 2011 +0200
Translation update done using Pootle.
commit 85479485690204969701bd483fbc739db35b14fa
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:19:31 2011 +0200
Translation update done using Pootle.
commit a43f04e31eff05b22f00e98056911ee38cbd1315
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:18:59 2011 +0200
Translation update done using Pootle.
commit 8fe5d0c38650760f6a63b7c58cd2bf59fe964142
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:15:59 2011 +0200
Translation update done using Pootle.
commit 6dcb74d9376b5c261e54fc3662d0ec6909ae00cf
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:15:31 2011 +0200
Translation update done using Pootle.
commit f775972af88e41513d3d77678cf8a5efce910688
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:11:21 2011 +0200
Translation update done using Pootle.
commit c5a317a17735ed1f212bd7654e1055df1ce38b74
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:11:04 2011 +0200
Translation update done using Pootle.
commit f009992ab6900ff53cadd2820c27787d3a8a23b7
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:10:42 2011 +0200
Translation update done using Pootle.
commit 0db1bfddd2f3fbb848a918da879e10d504e78288
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:10:28 2011 +0200
Translation update done using Pootle.
commit 8e9821bb239f71e673dbf2889297af28264d0b1a
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:10:05 2011 +0200
Translation update done using Pootle.
commit 5cad2c2f766bcf96ee41f570dde335ae11544e53
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:09:57 2011 +0200
Translation update done using Pootle.
commit 6cab1a6e73f7e7a2d48dae2b6b5969461cc8ee88
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:09:39 2011 +0200
Translation update done using Pootle.
commit c6ef591583f920ce7ef6303d68b760406bb4e892
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:09:01 2011 +0200
Translation update done using Pootle.
commit 20d7479fce814ea6cc6e62d064147cae39a41a19
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:08:58 2011 +0200
Translation update done using Pootle.
commit 52e021bed2408aca8c37feea6add40127160f24f
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:06:19 2011 +0200
Translation update done using Pootle.
commit ec030459b19514efee97f71cce60772635d9d94a
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:06:01 2011 +0200
Translation update done using Pootle.
commit 18321f1b04b679adc1c8116e34c9a834cfece766
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:05:46 2011 +0200
Translation update done using Pootle.
commit 22c95d4f6cd7edb6329190b598c1e892b628ed19
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:04:09 2011 +0200
Translation update done using Pootle.
commit 546c9bef3a37da72bbc6574bc25a17b7565a4cb8
Author: deminoth <deminoth(a)naver.com>
Date: Thu Sep 22 11:02:47 2011 +0200
Translation update done using Pootle.
commit 3cfbbb21d08b95c82d8c1e215618cda2f73792a6
Author: Matías Bellone <matiasbellone(a)gmail.com>
Date: Wed Sep 21 15:24:27 2011 +0200
Translation update done using Pootle.
-----------------------------------------------------------------------
Summary of changes:
po/es.po | 6 ++--
po/fr.po | 21 ++++++++-----
po/ja.po | 42 ++++++++++++-------------
po/ko.po | 105 ++++++++++++++++++++++++++-----------------------------------
4 files changed, 81 insertions(+), 93 deletions(-)
diff --git a/po/es.po b/po/es.po
index a22f89d..62762e2 100644
--- a/po/es.po
+++ b/po/es.po
@@ -4,13 +4,13 @@ msgstr ""
"Project-Id-Version: phpMyAdmin 3.5.0-dev\n"
"Report-Msgid-Bugs-To: phpmyadmin-devel(a)lists.sourceforge.net\n"
"POT-Creation-Date: 2011-09-19 08:41-0400\n"
-"PO-Revision-Date: 2011-09-19 15:13+0200\n"
+"PO-Revision-Date: 2011-09-21 15:24+0200\n"
"Last-Translator: Matías Bellone <matiasbellone(a)gmail.com>\n"
"Language-Team: spanish <es(a)li.org>\n"
+"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Pootle 2.0.5\n"
@@ -11953,7 +11953,7 @@ msgstr "Criterios de búsqueda adicionales"
#: tbl_zoom_select.php:276
msgid "Use this column to label each point"
-msgstr ""
+msgstr "Utilice esta columna para etiquetar cada punto"
#: tbl_zoom_select.php:296
msgid "Maximum rows to plot"
diff --git a/po/fr.po b/po/fr.po
index b6e49f7..603df4c 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -4,7 +4,7 @@ msgstr ""
"Project-Id-Version: phpMyAdmin 3.5.0-dev\n"
"Report-Msgid-Bugs-To: phpmyadmin-devel(a)lists.sourceforge.net\n"
"POT-Creation-Date: 2011-09-19 08:41-0400\n"
-"PO-Revision-Date: 2011-09-20 18:58+0200\n"
+"PO-Revision-Date: 2011-09-22 11:54+0200\n"
"Last-Translator: Marc Delisle <marc(a)infomarc.info>\n"
"Language-Team: french <fr(a)li.org>\n"
"Language: fr\n"
@@ -12232,39 +12232,45 @@ msgid ""
"The query cache is enabled and the server receives %d queries per second. "
"This rule fires if there is more than 100 queries per second."
msgstr ""
+"La cache de requêtes est activée et le serveur traite %d requêtes par "
+"seconde. Cette règle intervient s'il y a plus de 100 requêtes par seconde."
#: po/advisory_rules.php:80
msgid "Query cache efficiency (%)"
-msgstr ""
+msgstr "Efficacité de la cache de requêtes (%)"
#: po/advisory_rules.php:81
msgid "Query cache not running efficiently, it has a low hit rate."
msgstr ""
+"La cache de requêtes ne fonctionne pas efficacement, son taux de réussite "
+"est bas."
#: po/advisory_rules.php:82
msgid "Consider increasing {query_cache_limit}."
-msgstr ""
+msgstr "Il est suggéré d'augmenter {query_cache_limit}."
#: po/advisory_rules.php:83
#, php-format
msgid "The current query cache hit rate of %s%% is below 20%%"
msgstr ""
+"Le taux actuel de réussite de la cache de requêtes (%s%%) est sous les 20%%"
#: po/advisory_rules.php:85
-#, fuzzy
msgid "Query Cache usage"
-msgstr "Cache des requêtes"
+msgstr "Utilisation de la cache des requêtes"
#: po/advisory_rules.php:86
#, php-format
msgid "Less than 80%% of the query cache is being utilized."
-msgstr ""
+msgstr "Moins de 80%% de la cache des requêtes est utilisé."
#: po/advisory_rules.php:87
msgid ""
"This might be caused by {query_cache_limit} being too low. Flushing the "
"query cache might help as well."
msgstr ""
+"Ceci peut être causé par une trop faible valeur de {query_cache_limit}. "
+"Initialiser la cache des requêtes pourrait également aider."
#: po/advisory_rules.php:88
#, php-format
@@ -12274,10 +12280,9 @@ msgid ""
msgstr ""
#: po/advisory_rules.php:90
-#, fuzzy
#| msgid "Query cache"
msgid "Query cache fragmentation"
-msgstr "Cache des requêtes"
+msgstr "Fragmentation de la cache des requêtes"
#: po/advisory_rules.php:91
msgid "The query cache is considerably fragmented."
diff --git a/po/ja.po b/po/ja.po
index 6b32713..f59ccc6 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -4,7 +4,7 @@ msgstr ""
"Project-Id-Version: phpMyAdmin 3.5.0-dev\n"
"Report-Msgid-Bugs-To: phpmyadmin-devel(a)lists.sourceforge.net\n"
"POT-Creation-Date: 2011-09-19 08:41-0400\n"
-"PO-Revision-Date: 2011-09-20 12:28+0200\n"
+"PO-Revision-Date: 2011-09-22 12:50+0200\n"
"Last-Translator: Yuichiro <yuichiro(a)pop07.odn.ne.jp>\n"
"Language-Team: japanese <jp(a)li.org>\n"
"Language: ja\n"
@@ -6748,23 +6748,23 @@ msgstr "金額は単位を取り除く<i>(例:$5.00 を 5.00)</i>"
#: libraries/import/shp.php:14
msgid "ESRI Shape File"
-msgstr ""
+msgstr "ESRI シェープファイル"
#: libraries/import/shp.php:275
#, php-format
msgid "There was an error importing the ESRI shape file: \"%s\"."
-msgstr ""
+msgstr "ESRI シェープファイルをインポート中にエラーがありました: \"%s\""
#: libraries/import/shp.php:331
msgid ""
"You tried to import an invalid file or the imported file contains invalid "
"data"
-msgstr ""
+msgstr "無効なファイルもしくは無効なデータが含まれているファイルをインポートしようとしました。"
#: libraries/import/shp.php:333
#, php-format
msgid "MySQL Spatial Extension does not support ESRI type \"%s\"."
-msgstr ""
+msgstr "MySQL の空間拡張が ESRI タイプをサポートしていません: \"%s\""
#: libraries/import/shp.php:371
msgid "The imported file does not contain any data"
@@ -11828,7 +11828,7 @@ msgstr "遅いクエリの割合が高いので、サーバの稼働時間と比
msgid ""
"You have a slow query rate of %s per hour, you should have less than 1%% per "
"hour."
-msgstr "現在の遅いクエリの割合は 1 時間当たり %s です。1 時間当たり 1%% 未満がいいと言われています。"
+msgstr "現在の遅いクエリの割合は 1 時間当たり %s です。この値は、1 時間当たり 1%% 未満がいいと言われています。"
#: po/advisory_rules.php:25
msgid "Long query time"
@@ -12257,13 +12257,13 @@ msgid ""
"This means that joins are doing full table scans. Adding indexes for the "
"fields being used in the join conditions will greatly speed up table joins"
msgstr ""
-"これは、テーブルをフルスキャンしていることを意味しています。結合条件にあったカラムにインデックスを追加することで、テーブル結合のスピードは大幅に上がるで"
-"しょう。"
+"これは、テーブルをフルスキャンしていることを示しています。結合条件にあったカラムにインデックスを追加することで、テーブル結合のスピードは大幅に上がるでし"
+"ょう。"
#: po/advisory_rules.php:128
#, php-format
msgid "Table joins average: %s, this value should be less than 1 per hour"
-msgstr "テーブル結合の平均:%s。1 時間当たり 1 未満がいいと言われています。"
+msgstr "テーブル結合の平均:%s。この値は、1 時間当たり 1 未満がいいと言われています。"
#: po/advisory_rules.php:130
msgid "Rate of reading first index entry"
@@ -12286,7 +12286,7 @@ msgstr ""
#: po/advisory_rules.php:133
#, php-format
msgid "Index scans average: %s, this value should be less than 1 per hour"
-msgstr "インデックススキャンの平均:%s。1 時間当たり 1 未満がいいと言われています。"
+msgstr "インデックススキャンの平均:%s。この値は、1 時間当たり 1 未満がいいと言われています。"
#: po/advisory_rules.php:135
msgid "Rate of reading fixed position"
@@ -12311,7 +12311,7 @@ msgstr ""
msgid ""
"Rate of reading fixed position average: %s, this value should be less than 1 "
"per hour"
-msgstr "決まった位置を読み込む割合の平均:%s。1 時間当たり 1 未満がいいと言われています。"
+msgstr "決まった位置を読み込む割合の平均:%s。この値は、1 時間当たり 1 未満がいいと言われています。"
#: po/advisory_rules.php:140
msgid "Rate of reading next table row"
@@ -12333,7 +12333,7 @@ msgstr ""
#, php-format
msgid ""
"Rate of reading next table row: %s, this value should be less than 1 per hour"
-msgstr "テーブルの次行を読み込む割合:%s。1 時間当たり 1 未満がいいと言われています。"
+msgstr "テーブルの次行を読み込む割合:%s。この値は、1 時間当たり 1 未満がいいと言われています。"
#: po/advisory_rules.php:145
msgid "tmp_table_size vs. max_heap_table_size"
@@ -12500,7 +12500,7 @@ msgstr ""
#: po/advisory_rules.php:183
#, php-format
msgid "Opened table rate: %s, this value should be less than 10 per hour"
-msgstr "テーブルを開く割合:%s。1 時間当たり 10 未満がいいと言われています。"
+msgstr "テーブルを開く割合:%s。この値は、1 時間当たり 10 未満がいいと言われています。"
#: po/advisory_rules.php:185
#, fuzzy
@@ -12539,7 +12539,7 @@ msgstr "ファイルを開く割合が高いです。"
#: po/advisory_rules.php:193
#, php-format
msgid "Opened files rate: %s, this value should be less than 5 per hour"
-msgstr "ファイルを開く割合:%s。1 時間当たり 5 未満がいいと言われています。"
+msgstr "ファイルを開く割合:%s。この値は、1 時間当たり 5 未満がいいと言われています。"
#: po/advisory_rules.php:195
#, fuzzy, php-format
@@ -12677,14 +12677,13 @@ msgid ""
msgstr ""
#: po/advisory_rules.php:230
-#, fuzzy
#| msgid "Persistent connections"
msgid "Percentage of aborted connections"
-msgstr "永続的な接続"
+msgstr "中断された接続の割合"
#: po/advisory_rules.php:231
msgid "Too many connections are aborted."
-msgstr ""
+msgstr "中断された接続が多いです。"
#: po/advisory_rules.php:232 po/advisory_rules.php:237
msgid ""
@@ -12697,23 +12696,22 @@ msgstr ""
#: po/advisory_rules.php:233
#, php-format
msgid "%s%% of all connections are aborted. This value should be below 1%%"
-msgstr ""
+msgstr "全接続のうち %s%% が中断されています。この値は、1%% 未満がいいと言われています。"
#: po/advisory_rules.php:235
-#, fuzzy
#| msgid "Persistent connections"
msgid "Rate of aborted connections"
-msgstr "永続的な接続"
+msgstr "中断された接続の割合"
#: po/advisory_rules.php:236
msgid "Too many connections are aborted"
-msgstr ""
+msgstr "中断された接続が多いです。"
#: po/advisory_rules.php:238
#, php-format
msgid ""
"Aborted connections rate is at %s, this value should be less than 1 per hour"
-msgstr ""
+msgstr "中断された接続の割合は %s です。この値は、1 時間当たり 1 未満がいいと言われています。"
#: po/advisory_rules.php:240
#, fuzzy
diff --git a/po/ko.po b/po/ko.po
index ed0a5f0..d68d4b9 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -4,13 +4,13 @@ msgstr ""
"Project-Id-Version: phpMyAdmin 3.5.0-dev\n"
"Report-Msgid-Bugs-To: phpmyadmin-devel(a)lists.sourceforge.net\n"
"POT-Creation-Date: 2011-09-19 08:41-0400\n"
-"PO-Revision-Date: 2011-09-18 19:35+0200\n"
-"Last-Translator: <joungkyun(a)yahoo.com>\n"
+"PO-Revision-Date: 2011-09-22 11:28+0200\n"
+"Last-Translator: <deminoth(a)naver.com>\n"
"Language-Team: korean <ko(a)li.org>\n"
+"Language: ko\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Language: ko\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Pootle 2.0.5\n"
@@ -110,16 +110,14 @@ msgstr "디스크 쓰기에 실패했습니다."
#: bs_disp_as_mime_type.php:41
msgid "Failed to open remote URL"
-msgstr "원격 URL 열기 실패했습니다"
+msgstr "원격 URL 열기에 실패했습니다"
#: changelog.php:32 license.php:28
#, php-format
msgid ""
"The %s file is not available on this system, please visit www.phpmyadmin.net "
"for more information."
-msgstr ""
-"%s 파일은 사용할 수 없습니다. www.phpmyadmin.net에 방문하여 정보를 확인하세"
-"요."
+msgstr "%s 파일이 이 시스템에서 사용 가능하지 않습니다. www.phpmyadmin.net에 방문하여 정보를 확인하세요."
#: db_create.php:60
#, php-format
@@ -345,20 +343,18 @@ msgid "Collation"
msgstr "데이터정렬방식"
#: db_operations.php:555
-#, fuzzy, php-format
+#, php-format
#| msgid ""
#| "The additional features for working with linked tables have been "
#| "deactivated. To find out why click %shere%s."
msgid ""
"The phpMyAdmin configuration storage has been deactivated. To find out why "
"click %shere%s."
-msgstr ""
-"링크 테이블을 처리하는 추가 기능이 비활성화되어 있습니다. 원인을 확인하려면 %"
-"s여기를 클릭%s하십시오."
+msgstr "phpMyAdmin 설정 스토리지가 비활성화 되어 있습니다. 원인을 확인하려면 %s여기를 클릭%s하십시오."
#: db_operations.php:589
msgid "Edit or export relational schema"
-msgstr ""
+msgstr "관계 스키마를 수정 또는 내보내기"
#: db_printview.php:101 db_tracking.php:85 db_tracking.php:186
#: libraries/config/messages.inc.php:504 libraries/db_structure.lib.php:32
@@ -419,10 +415,10 @@ msgid "You have to choose at least one column to display"
msgstr "출력하려면 적어도 1개 이상의 열(칼럼)을 선택해야 합니다."
#: db_qbe.php:186
-#, fuzzy, php-format
+#, php-format
#| msgid "Switch to copied table"
msgid "Switch to %svisual builder%s"
-msgstr "복사한 테이블로 옮겨감"
+msgstr "%s비주얼 쿼리 빌더%s로 전환"
#: db_qbe.php:222 libraries/db_structure.lib.php:90
#: libraries/display_tbl.lib.php:957
@@ -528,11 +524,11 @@ msgid "Search results for \"<i>%s</i>\" %s:"
msgstr "\"<i>%s</i>\"의 검색 결과 %s:"
#: db_search.php:226
-#, fuzzy, php-format
+#, php-format
#| msgid "%s match(es) inside table <i>%s</i>"
msgid "%s match inside table <i>%s</i>"
msgid_plural "%s matches inside table <i>%s</i>"
-msgstr[0] "%s 건 일치 (테이블 <i>%s</i>)"
+msgstr[0] "테이블 <i>%s</i>에서 %s 건 일치"
#: db_search.php:233 libraries/common.lib.php:3038
#: libraries/common.lib.php:3245 libraries/common.lib.php:3246
@@ -541,10 +537,10 @@ msgid "Browse"
msgstr "보기"
#: db_search.php:238
-#, fuzzy, php-format
+#, php-format
#| msgid "Dumping data for table"
msgid "Delete the matches for the %s table?"
-msgstr "테이블의 덤프 데이터"
+msgstr "테이블 %s에 대하여 일치하는 것들을 삭제 하겠습니까?"
#: db_search.php:238 libraries/display_tbl.lib.php:1364
#: libraries/display_tbl.lib.php:2354
@@ -559,7 +555,7 @@ msgid "Delete"
msgstr "삭제"
#: db_search.php:251
-#, fuzzy, php-format
+#, php-format
#| msgid "<b>Total:</b> <i>%s</i> match(es)"
msgid "<b>Total:</b> <i>%s</i> match"
msgid_plural "<b>Total:</b> <i>%s</i> matches"
@@ -570,7 +566,6 @@ msgid "Search in database"
msgstr "데이터베이스 검색"
#: db_search.php:276
-#, fuzzy
#| msgid "Word(s) or value(s) to search for (wildcard: \"%\"):"
msgid "Words or values to search for (wildcard: \"%\"):"
msgstr "찾을 단어, 값 (와일드카드: \"%\"):"
@@ -584,17 +579,15 @@ msgid "Words are separated by a space character (\" \")."
msgstr "단어는 스페이스(\" \")로 구분됩니다."
#: db_search.php:299
-#, fuzzy
#| msgid "Inside table(s):"
msgid "Inside tables:"
-msgstr "찾을 테이블:"
+msgstr "검색할 테이블:"
#: db_search.php:329
msgid "Inside column:"
msgstr "검색할 컬럼:"
#: db_structure.php:67
-#, fuzzy
#| msgid "No tables found in database."
msgid "No tables found in database"
msgstr "데이터베이스에 테이블이 없습니다."
@@ -627,7 +620,7 @@ msgstr "트래킹이 활성화되어 있지 않습니다."
msgid ""
"This view has at least this number of rows. Please refer to %sdocumentation%"
"s."
-msgstr ""
+msgstr "이 뷰는 최소 이 숫자 이상의 열을 가지고 있습니다. %s문서%s를 참조해 주십시오."
#: db_structure.php:438 db_structure.php:452 libraries/header.inc.php:158
#: libraries/tbl_info.inc.php:60 tbl_structure.php:209
@@ -671,7 +664,7 @@ msgstr "모두 체크안함"
#: db_structure.php:544
msgid "Check tables having overhead"
-msgstr ""
+msgstr "오버헤드를 가진 테이블들을 체크"
#: db_structure.php:552 libraries/common.lib.php:3258
#: libraries/common.lib.php:3259 libraries/config/messages.inc.php:164
@@ -718,19 +711,17 @@ msgstr "테이블 분석"
#: db_structure.php:572
msgid "Add prefix to table"
-msgstr ""
+msgstr "테이블에 접두사 추가"
#: db_structure.php:574 libraries/mult_submits.inc.php:251
-#, fuzzy
#| msgid "Replace table data with file"
msgid "Replace table prefix"
-msgstr "파일로 테이블 대치하기"
+msgstr "테이블의 접두사를 교체"
#: db_structure.php:576 libraries/mult_submits.inc.php:251
-#, fuzzy
#| msgid "Replace table data with file"
msgid "Copy table with prefix"
-msgstr "파일로 테이블 대치하기"
+msgstr "테이블에 접두사를 추가하여 복제"
#: db_structure.php:619 libraries/schema/User_Schema.class.php:420
msgid "Data Dictionary"
@@ -738,7 +729,7 @@ msgstr "데이터 사전 (전체 구조보기)"
#: db_tracking.php:79
msgid "Tracked tables"
-msgstr ""
+msgstr "추적된 테이블"
#: db_tracking.php:84 libraries/config/messages.inc.php:498
#: libraries/export/htmlword.php:78 libraries/export/latex.php:151
@@ -755,16 +746,15 @@ msgstr "데이터베이스"
#: db_tracking.php:86
msgid "Last version"
-msgstr ""
+msgstr "최근 버전"
#: db_tracking.php:87 tbl_tracking.php:636
-#, fuzzy
msgid "Created"
-msgstr "만들기 "
+msgstr "생성됨"
#: db_tracking.php:88 tbl_tracking.php:637
msgid "Updated"
-msgstr ""
+msgstr "수정됨"
#: db_tracking.php:89 libraries/rte/rte_events.lib.php:380
#: libraries/rte/rte_list.lib.php:67 libraries/server_links.inc.php:51
@@ -782,52 +772,49 @@ msgstr "실행"
#: db_tracking.php:101 js/messages.php:36
msgid "Delete tracking data for this table"
-msgstr ""
+msgstr "이 테이블에 대한 추적 데이터를 제거"
#: db_tracking.php:119 tbl_tracking.php:590 tbl_tracking.php:648
msgid "active"
-msgstr ""
+msgstr "활성"
#: db_tracking.php:121 tbl_tracking.php:592 tbl_tracking.php:650
msgid "not active"
-msgstr ""
+msgstr "비활성"
#: db_tracking.php:134
-#, fuzzy
msgid "Versions"
-msgstr "테이블 작업"
+msgstr "버전"
#: db_tracking.php:135 tbl_tracking.php:400 tbl_tracking.php:668
msgid "Tracking report"
-msgstr ""
+msgstr "추적 보고서"
#: db_tracking.php:136 tbl_tracking.php:235 tbl_tracking.php:670
-#, fuzzy
msgid "Structure snapshot"
-msgstr "구조만"
+msgstr "구조 요약"
#: db_tracking.php:181
msgid "Untracked tables"
-msgstr ""
+msgstr "추적되지 않은 테이블"
#: db_tracking.php:201 db_tracking.php:203 tbl_structure.php:638
-#, fuzzy
msgid "Track table"
-msgstr "테이블 검사"
+msgstr "테이블 추적"
#: db_tracking.php:229
-#, fuzzy
msgid "Database Log"
-msgstr "데이터베이스"
+msgstr "데이터베이스 로그"
#: enum_editor.php:21 libraries/tbl_properties.inc.php:754
#, php-format
msgid "Values for the column \"%s\""
-msgstr ""
+msgstr "\"%s\" 열의 값"
#: enum_editor.php:22 libraries/tbl_properties.inc.php:755
+#, fuzzy
msgid "Enter each value in a separate field."
-msgstr ""
+msgstr "각각의 필드에 값을 입력하세요"
#: enum_editor.php:57
msgid "+ Restart insertion and add a new value"
@@ -835,40 +822,38 @@ msgstr ""
#: enum_editor.php:67 gis_data_editor.php:317
msgid "Output"
-msgstr ""
+msgstr "출력"
#: enum_editor.php:68
+#, fuzzy
msgid "Copy and paste the joined values into the \"Length/Values\" field"
-msgstr ""
+msgstr "\"길이/값\" 필드로 결합된 값을 복사하여 붙여넣으세요"
#: export.php:29
#, fuzzy
#| msgid "Bar type"
msgid "Bad type!"
-msgstr "질의 종류"
+msgstr "잘못된 타입!"
#: export.php:77
msgid "Selected export type has to be saved in file!"
-msgstr ""
+msgstr "선택한 내보내기가 파일에 저장되었습니다!"
#: export.php:106
-#, fuzzy
#| msgid "Rename database to"
msgid "Bad parameters!"
-msgstr "데이터베이스 이름 변경"
+msgstr "잘못된 인자!"
#: export.php:166 export.php:191 export.php:652
#, php-format
msgid "Insufficient space to save the file %s."
-msgstr ""
+msgstr "파일 %s를 저장하기에 공간이 부족합니다."
#: export.php:307
#, php-format
msgid ""
"File %s already exists on server, change filename or check overwrite option."
-msgstr ""
-"%s 라는 이름의 파일이 이미 서버에 존재합니다. 파일명을 변경하거나 덮어쓰기 옵"
-"션을 설정해주세요."
+msgstr "%s 라는 이름의 파일이 이미 서버에 존재합니다. 파일명을 변경하거나 덮어쓰기 옵션을 설정해주세요."
#: export.php:311 export.php:315
#, php-format
hooks/post-receive
--
phpMyAdmin
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_5-19820-g4c56367
by Marc Delisle
The branch, master has been updated
via 4c56367ecd239689852afc0509ef7db4a10c1ca8 (commit)
via 3fc3194bce70c44e17a2758cb52b01ec5d50825c (commit)
from 299da6d047de5374ea8964c17f9c6bff059391e8 (commit)
- Log -----------------------------------------------------------------
commit 4c56367ecd239689852afc0509ef7db4a10c1ca8
Author: Marc Delisle <marc(a)infomarc.info>
Date: Fri Sep 23 08:43:10 2011 -0400
Incorrect messages were shown
commit 3fc3194bce70c44e17a2758cb52b01ec5d50825c
Author: Marc Delisle <marc(a)infomarc.info>
Date: Fri Sep 23 08:14:42 2011 -0400
- Bug #3383572 Cannot execute saved query
- Remove bookmark from the list after deletion (Ajax)
-----------------------------------------------------------------------
Summary of changes:
js/sql.js | 32 +++++++++++++++++++++++++++++++-
libraries/sql_query_form.lib.php | 2 +-
2 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/js/sql.js b/js/sql.js
index 813bf68..c6f2f0c 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -130,6 +130,22 @@ $(document).ready(function() {
});
}
+
+ /**
+ * Event handler for sqlqueryform.ajax button_submit_query
+ *
+ * @memberOf jQuery
+ */
+ $("#button_submit_query").live('click', function(event) {
+ var $form = $(this).closest("form");
+ // the Go button related to query submission was clicked,
+ // instead of the one related to Bookmarks, so empty the
+ // id_bookmark selector to avoid misinterpretation in
+ // import.php about what needs to be done
+ $form.find("select[name=id_bookmark]").attr("value","");
+ // let normal event propagation happen
+ });
+
/**
* Ajax Event handler for 'SQL Query Submit'
*
@@ -156,11 +172,25 @@ $(document).ready(function() {
$.post($form.attr('action'), $form.serialize() , function(data) {
if (data.success == true) {
+ // success happens if the query returns rows or not
+ //
// fade out previous messages, if any
$('.success').fadeOut();
$('.sqlquery_message').fadeOut();
// show a message that stays on screen
- if (typeof data.sql_query != 'undefined') {
+ if (typeof data.action_bookmark != 'undefined') {
+ // view only
+ if ('1' == data.action_bookmark) {
+ $('#sqlquery').text(data.sql_query);
+ // send to codemirror if possible
+ setQuery(data.sql_query);
+ }
+ // delete
+ if ('2' == data.action_bookmark) {
+ $("#id_bookmark option[value='" + data.id_bookmark + "']").remove();
+ }
+ $('#sqlqueryform').before(data.message);
+ } elseif (typeof data.sql_query != 'undefined') {
$('<div class="sqlquery_message"></div>')
.html(data.sql_query)
.insertBefore('#sqlqueryform');
diff --git a/libraries/sql_query_form.lib.php b/libraries/sql_query_form.lib.php
index 44b2321..0e4f47c 100644
--- a/libraries/sql_query_form.lib.php
+++ b/libraries/sql_query_form.lib.php
@@ -367,7 +367,7 @@ function PMA_sqlQueryFormBookmark()
echo '<legend>';
echo __('Bookmarked SQL query') . '</legend>' . "\n";
echo '<div class="formelement">';
- echo '<select name="id_bookmark">' . "\n";
+ echo '<select name="id_bookmark" id="id_bookmark">' . "\n";
echo '<option value=""> </option>' . "\n";
foreach ($bookmark_list as $key => $value) {
echo '<option value="' . htmlspecialchars($key) . '">'
hooks/post-receive
--
phpMyAdmin
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_5-19818-g299da6d
by Madhura Jayaratne
The branch, master has been updated
via 299da6d047de5374ea8964c17f9c6bff059391e8 (commit)
via 21c5148d1701fa249379b523b49cdf9cf46c3ead (commit)
via 13adb5adf7e2b429819a85131edd998b34726ad7 (commit)
via 9bcb83af03d9f988a2e2c754e6b9b3cf2c468555 (commit)
from e67a0a2531fff325477c5babcfffbf205ca755b3 (commit)
- Log -----------------------------------------------------------------
commit 299da6d047de5374ea8964c17f9c6bff059391e8
Author: Madhura Jayaratne <madhura.cj(a)gmail.com>
Date: Fri Sep 23 11:36:14 2011 +0530
More style errors fixed
commit 21c5148d1701fa249379b523b49cdf9cf46c3ead
Author: Madhura Jayaratne <madhura.cj(a)gmail.com>
Date: Fri Sep 23 11:24:06 2011 +0530
Style errors with class declarations
commit 13adb5adf7e2b429819a85131edd998b34726ad7
Author: Madhura Jayaratne <madhura.cj(a)gmail.com>
Date: Fri Sep 23 11:11:41 2011 +0530
Use lower case for true, false and null
commit 9bcb83af03d9f988a2e2c754e6b9b3cf2c468555
Author: Madhura Jayaratne <madhura.cj(a)gmail.com>
Date: Fri Sep 23 10:56:30 2011 +0530
File is being conditionally included; use "include" instead
-----------------------------------------------------------------------
Summary of changes:
bs_play_media.php | 4 +-
db_create.php | 6 ++--
db_operations.php | 4 +-
import.php | 2 +-
libraries/List_Database.class.php | 2 +-
libraries/database_interface.lib.php | 4 +-
libraries/db_info.inc.php | 2 +-
libraries/db_table_exists.lib.php | 2 +-
libraries/dbi/mysql.dbi.lib.php | 8 ++--
libraries/display_create_database.lib.php | 2 +-
libraries/display_export.lib.php | 2 +-
libraries/display_import.lib.php | 2 +-
libraries/engines/innobase.lib.php | 5 ++-
libraries/export/excel.php | 2 +-
libraries/export/latex.php | 4 +-
libraries/export/ods.php | 2 +-
libraries/export/odt.php | 2 +-
libraries/export/pdf.php | 2 +-
libraries/export/sql.php | 4 +-
libraries/footer.inc.php | 2 +-
libraries/import/shp.php | 4 +-
libraries/opendocument.lib.php | 12 ++++----
libraries/pmd_common.php | 6 ++--
libraries/relation.lib.php | 4 +-
libraries/rte/rte_events.lib.php | 2 +-
libraries/rte/rte_routines.lib.php | 4 +-
libraries/rte/rte_triggers.lib.php | 2 +-
libraries/sqlparser.lib.php | 6 ++--
libraries/sqlvalidator.class.php | 4 +-
libraries/sqlvalidator.lib.php | 2 +-
libraries/svg_plot/pma_svg_data_element.php | 8 ++--
libraries/tbl_properties.inc.php | 4 +-
.../transformations/image_jpeg__inline.inc.php | 2 +-
libraries/transformations/image_jpeg__link.inc.php | 2 +-
.../transformations/image_png__inline.inc.php | 2 +-
.../transformations/text_plain__imagelink.inc.php | 2 +-
libraries/transformations/text_plain__link.inc.php | 2 +-
pmd_relation_upd.php | 31 +++++++++++---------
prefs_manage.php | 6 ++--
querywindow.php | 6 ++--
server_databases.php | 6 ++--
server_replication.php | 6 ++--
server_status.php | 2 +-
server_synchronize.php | 8 +++--
setup/config.php | 2 +-
sql.php | 10 +++---
tbl_addfield.php | 2 +-
tbl_alter.php | 2 +-
tbl_indexes.php | 10 +++---
tbl_move_copy.php | 6 ++--
tbl_operations.php | 2 +-
tbl_printview.php | 4 +-
tbl_replace.php | 4 +-
tbl_tracking.php | 2 +-
test/classes/PMA_Config_test.php | 2 +-
test/libraries/common/PMA_getDbLink_test.php | 4 +-
.../common/PMA_showMessage_test_disabled.php | 2 +-
test/libraries/core/PMA_array_test.php | 2 +-
.../core/PMA_headerLocation_test_disabled.php | 8 ++--
.../rte/PMA_RTN_getDataFromRequest_test.php | 2 +-
test/libraries/rte/PMA_RTN_getEditorForm_test.php | 2 +-
test/libraries/rte/PMA_RTN_getExecuteForm_test.php | 2 +-
.../rte/PMA_RTN_getQueryFromRequest_test.php | 2 +-
test/selenium/PmaSeleniumLoginTest.php | 4 +-
test/selenium/PmaSeleniumPrivilegesTest.php | 4 +-
test/selenium/PmaSeleniumTestCase.php | 2 +-
test/selenium/PmaSeleniumXssTest.php | 4 +-
transformation_overview.php | 2 +-
view_create.php | 2 +-
69 files changed, 145 insertions(+), 139 deletions(-)
diff --git a/bs_play_media.php b/bs_play_media.php
index fe6f574..d9ba62a 100644
--- a/bs_play_media.php
+++ b/bs_play_media.php
@@ -12,7 +12,7 @@
/*
* @var string contains media type of BLOB reference
*/
- $mediaType = isset($_REQUEST['media_type']) ? $_REQUEST['media_type'] : NULL;
+ $mediaType = isset($_REQUEST['media_type']) ? $_REQUEST['media_type'] : null;
/*
* @var string indicates whether media type is of custom type
@@ -22,7 +22,7 @@
/*
* @var string contains BLOB reference
*/
- $bsReference = isset($_REQUEST['bs_reference']) ? $_REQUEST['bs_reference'] : NULL;
+ $bsReference = isset($_REQUEST['bs_reference']) ? $_REQUEST['bs_reference'] : null;
// if media type and BS reference are specified
if (isset($mediaType) && isset($bsReference)) {
diff --git a/db_create.php b/db_create.php
index 27bf279..3548f8f 100644
--- a/db_create.php
+++ b/db_create.php
@@ -69,16 +69,16 @@ if (! $result) {
/**
* String containing the SQL Query formatted in pretty HTML
* @global array $GLOBALS['extra_data']
- * @name $extra_data
+ * @name $extra_data
*/
- $extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query, 'success');
+ $extra_data['sql_query'] = PMA_showMessage(null, $sql_query, 'success');
//Construct the html for the new database, so that it can be appended to the list of databases on server_databases.php
/**
* Build the array to be passed to {@link PMA_generate_common_url} to generate the links
* @global array $GLOBALS['db_url_params']
- * @name $db_url_params
+ * @name $db_url_params
*/
$db_url_params['db'] = $new_db;
diff --git a/db_operations.php b/db_operations.php
index b364d81..0bfedb0 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -304,7 +304,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
*/
if ( $GLOBALS['is_ajax_request'] == true) {
$extra_data['newname'] = $newname;
- $extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query);
+ $extra_data['sql_query'] = PMA_showMessage(null, $sql_query);
PMA_ajaxResponse($message, $message->isSuccess(), $extra_data);
};
}
@@ -442,7 +442,7 @@ echo __('Remove database');
'reload' => '1',
'purge' => '1',
'message_to_show' => sprintf(__('Database %s has been dropped.'), htmlspecialchars(PMA_backquote($db))),
- 'db' => NULL,
+ 'db' => null,
);
?>
<li><a href="sql.php<?php echo PMA_generate_common_url($this_url_params); ?>" <?php echo ($GLOBALS['cfg']['AjaxEnable'] ? 'id="drop_db_anchor"' : ''); ?>>
diff --git a/import.php b/import.php
index d3c4b79..fab1d3f 100644
--- a/import.php
+++ b/import.php
@@ -395,7 +395,7 @@ if (!$error) {
}
}
-if (! $error && false !== $import_handle && NULL !== $import_handle) {
+if (! $error && false !== $import_handle && null !== $import_handle) {
fclose($import_handle);
}
diff --git a/libraries/List_Database.class.php b/libraries/List_Database.class.php
index 760d19d..dd5593a 100644
--- a/libraries/List_Database.class.php
+++ b/libraries/List_Database.class.php
@@ -453,7 +453,7 @@ require_once './libraries/List.class.php';
// TODO: db names may contain characters
// that are regexp instructions
$re = '(^|(\\\\\\\\)+|[^\])';
- $tmp_regex = preg_replace('/' . addcslashes($re, '/') . '%/', '\\1.*', preg_replace('/' . addcslashes($re,'/') . '_/', '\\1.{1}', $tmp_matchpattern));
+ $tmp_regex = preg_replace('/' . addcslashes($re, '/') . '%/', '\\1.*', preg_replace('/' . addcslashes($re, '/') . '_/', '\\1.{1}', $tmp_matchpattern));
// Fixed db name matching
// 2000-08-28 -- Benjamin Gandon
if (preg_match('/^' . addcslashes($tmp_regex, '/') . '$/', $tmp_db)) {
diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php
index f0520a7..921ba90 100644
--- a/libraries/database_interface.lib.php
+++ b/libraries/database_interface.lib.php
@@ -203,7 +203,7 @@ function PMA_DBI_convert_message($message)
if (! empty($server_language) && isset($encodings[$server_language])) {
if (function_exists('iconv')) {
if ((@stristr(PHP_OS, 'AIX')) && (@strcasecmp(ICONV_IMPL, 'unknown') == 0) && (@strcasecmp(ICONV_VERSION, 'unknown') == 0)) {
- require_once './libraries/iconv_wrapper.lib.php';
+ include_once './libraries/iconv_wrapper.lib.php';
$message = PMA_aix_iconv_wrapper($encodings[$server_language],
'utf-8' . $GLOBALS['cfg']['IconvExtraParams'], $message);
} else {
@@ -730,7 +730,7 @@ function PMA_DBI_get_databases_full($database = null, $force_stats = false,
$databases[$database_name]['SCHEMA_NAME'] = $database_name;
if ($force_stats) {
- require_once './libraries/mysql_charsets.lib.php';
+ include_once './libraries/mysql_charsets.lib.php';
$databases[$database_name]['DEFAULT_COLLATION_NAME']
= PMA_getDbCollation($database_name);
diff --git a/libraries/db_info.inc.php b/libraries/db_info.inc.php
index 80b8c51..3e5f342 100644
--- a/libraries/db_info.inc.php
+++ b/libraries/db_info.inc.php
@@ -257,6 +257,6 @@ unset($each_table, $tbl_group_sql, $db_info_result);
* If in an Ajax request, we do not need to show this
*/
if ($GLOBALS['is_ajax_request'] != true) {
- require './libraries/db_links.inc.php';
+ include './libraries/db_links.inc.php';
}
?>
diff --git a/libraries/db_table_exists.lib.php b/libraries/db_table_exists.lib.php
index 97b7ec8..cd74d78 100644
--- a/libraries/db_table_exists.lib.php
+++ b/libraries/db_table_exists.lib.php
@@ -73,7 +73,7 @@ if (empty($is_table) && !defined('PMA_SUBMIT_MULT') && ! defined('TABLE_MAY_BE_A
}
if (! $is_table) {
- require './db_sql.php';
+ include './db_sql.php';
exit;
}
}
diff --git a/libraries/dbi/mysql.dbi.lib.php b/libraries/dbi/mysql.dbi.lib.php
index d745f1b..57cb7ff 100644
--- a/libraries/dbi/mysql.dbi.lib.php
+++ b/libraries/dbi/mysql.dbi.lib.php
@@ -99,17 +99,17 @@ function PMA_DBI_connect($user, $password, $is_controluser = false, $server = nu
}
if (!$server) {
- $link = PMA_DBI_real_connect($cfg['Server']['host'] . $server_port . $server_socket, $user, $password, empty($client_flags) ? NULL : $client_flags);
+ $link = PMA_DBI_real_connect($cfg['Server']['host'] . $server_port . $server_socket, $user, $password, empty($client_flags) ? null : $client_flags);
// Retry with empty password if we're allowed to
if (empty($link) && $cfg['Server']['nopassword'] && !$is_controluser) {
- $link = PMA_DBI_real_connect($cfg['Server']['host'] . $server_port . $server_socket, $user, '', empty($client_flags) ? NULL : $client_flags);
+ $link = PMA_DBI_real_connect($cfg['Server']['host'] . $server_port . $server_socket, $user, '', empty($client_flags) ? null : $client_flags);
}
} else {
if (!isset($server['host'])) {
- $link = PMA_DBI_real_connect($server_socket, $user, $password, NULL);
+ $link = PMA_DBI_real_connect($server_socket, $user, $password, null);
} else {
- $link = PMA_DBI_real_connect($server['host'] . $server_port . $server_socket, $user, $password, NULL);
+ $link = PMA_DBI_real_connect($server['host'] . $server_port . $server_socket, $user, $password, null);
}
}
if (empty($link)) {
diff --git a/libraries/display_create_database.lib.php b/libraries/display_create_database.lib.php
index 1ec7931..eac2c1d 100644
--- a/libraries/display_create_database.lib.php
+++ b/libraries/display_create_database.lib.php
@@ -23,7 +23,7 @@ if ($is_create_db_priv) {
<input type="hidden" name="reload" value="1" />
<input type="text" name="new_db" value="<?php echo $db_to_create; ?>" maxlength="64" class="textfield" id="text_create_db"/>
<?php
- require_once './libraries/mysql_charsets.lib.php';
+ include_once './libraries/mysql_charsets.lib.php';
echo PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION, 'db_collation', null, null, true, 5);
if (! empty($dbstats)) {
diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php
index a37c571..b855191 100644
--- a/libraries/display_export.lib.php
+++ b/libraries/display_export.lib.php
@@ -35,7 +35,7 @@ $export_list = PMA_getPlugins('./libraries/export/', array('export_type' => $exp
/* Fail if we didn't find any plugin */
if (empty($export_list)) {
PMA_Message::error( __('Could not load export plugins, please check your installation!'))->display();
- require './libraries/footer.inc.php';
+ include './libraries/footer.inc.php';
}
?>
diff --git a/libraries/display_import.lib.php b/libraries/display_import.lib.php
index d709631..8e17e5a 100644
--- a/libraries/display_import.lib.php
+++ b/libraries/display_import.lib.php
@@ -21,7 +21,7 @@ $import_list = PMA_getPlugins('./libraries/import/', $import_type);
/* Fail if we didn't find any plugin */
if (empty($import_list)) {
PMA_Message::error(__('Could not load import plugins, please check your installation!'))->display();
- require './libraries/footer.inc.php';
+ include './libraries/footer.inc.php';
}
?>
diff --git a/libraries/engines/innobase.lib.php b/libraries/engines/innobase.lib.php
index f626975..818e9e1 100644
--- a/libraries/engines/innobase.lib.php
+++ b/libraries/engines/innobase.lib.php
@@ -14,6 +14,7 @@ require_once './libraries/engines/innodb.lib.php';
*
* @package phpMyAdmin-Engines
*/
-class PMA_StorageEngine_innobase extends PMA_StorageEngine_innodb {}
-
+class PMA_StorageEngine_innobase extends PMA_StorageEngine_innodb
+{
+}
?>
diff --git a/libraries/export/excel.php b/libraries/export/excel.php
index df329de..44bbc44 100644
--- a/libraries/export/excel.php
+++ b/libraries/export/excel.php
@@ -38,6 +38,6 @@ if (isset($plugin_list)) {
);
} else {
/* Everything rest is coded in csv plugin */
- require './libraries/export/csv.php';
+ include './libraries/export/csv.php';
}
?>
diff --git a/libraries/export/latex.php b/libraries/export/latex.php
index 1e84820..ad10478 100644
--- a/libraries/export/latex.php
+++ b/libraries/export/latex.php
@@ -209,7 +209,7 @@ if (isset($plugin_list)) {
$buffer .= ' \\hline \\endhead \\hline \\endfoot \\hline ' . $crlf;
if (isset($GLOBALS['latex_caption'])) {
$buffer .= ' \\caption{' . PMA_expandUserString($GLOBALS['latex_data_caption'], 'PMA_texEscape', array('table' => $table, 'database' => $db))
- . '} \\label{' . PMA_expandUserString($GLOBALS['latex_data_label'], NULL, array('table' => $table, 'database' => $db)) . '} \\\\';
+ . '} \\label{' . PMA_expandUserString($GLOBALS['latex_data_label'], null, array('table' => $table, 'database' => $db)) . '} \\\\';
}
if (!PMA_exportOutputHandler($buffer)) {
return false;
@@ -372,7 +372,7 @@ if (isset($plugin_list)) {
// Table caption for first page and label
if (isset($GLOBALS['latex_caption'])) {
$buffer .= ' \\caption{'. PMA_expandUserString($GLOBALS['latex_structure_caption'], 'PMA_texEscape', array('table' => $table, 'database' => $db))
- . '} \\label{' . PMA_expandUserString($GLOBALS['latex_structure_label'], NULL, array('table' => $table, 'database' => $db))
+ . '} \\label{' . PMA_expandUserString($GLOBALS['latex_structure_label'], null, array('table' => $table, 'database' => $db))
. '} \\\\' . $crlf;
}
$buffer .= $header . ' \\\\ \\hline \\hline' . $crlf . '\\endfirsthead' . $crlf;
diff --git a/libraries/export/ods.php b/libraries/export/ods.php
index 0c62878..a13360f 100644
--- a/libraries/export/ods.php
+++ b/libraries/export/ods.php
@@ -31,7 +31,7 @@ if (isset($plugin_list)) {
} else {
$GLOBALS['ods_buffer'] = '';
- require_once './libraries/opendocument.lib.php';
+ include_once './libraries/opendocument.lib.php';
/**
* Outputs export footer
diff --git a/libraries/export/odt.php b/libraries/export/odt.php
index fc2b536..b2c88eb 100644
--- a/libraries/export/odt.php
+++ b/libraries/export/odt.php
@@ -63,7 +63,7 @@ if (isset($plugin_list)) {
} else {
$GLOBALS['odt_buffer'] = '';
- require_once './libraries/opendocument.lib.php';
+ include_once './libraries/opendocument.lib.php';
/**
* Outputs export footer
diff --git a/libraries/export/pdf.php b/libraries/export/pdf.php
index 61c8dce..903df74 100644
--- a/libraries/export/pdf.php
+++ b/libraries/export/pdf.php
@@ -30,7 +30,7 @@ if (isset($plugin_list)) {
);
} else {
- require_once './libraries/PDF.class.php';
+ include_once './libraries/PDF.class.php';
/**
* Adapted from a LGPL script by Philip Clarke
diff --git a/libraries/export/sql.php b/libraries/export/sql.php
index 988ec46..dff5a94 100644
--- a/libraries/export/sql.php
+++ b/libraries/export/sql.php
@@ -627,7 +627,7 @@ if (isset($plugin_list)) {
$delimiter = '$$';
if (PMA_MYSQL_INT_VERSION > 50100) {
- $event_names = PMA_DBI_fetch_result('SELECT EVENT_NAME FROM information_schema.EVENTS WHERE EVENT_SCHEMA= \'' . PMA_sqlAddSlashes($db,true) . '\';');
+ $event_names = PMA_DBI_fetch_result('SELECT EVENT_NAME FROM information_schema.EVENTS WHERE EVENT_SCHEMA= \'' . PMA_sqlAddSlashes($db, true) . '\';');
} else {
$event_names = array();
}
@@ -759,7 +759,7 @@ if (isset($plugin_list)) {
$schema_create .= $new_crlf;
// no need to generate a DROP VIEW here, it was done earlier
- if (! empty($sql_drop_table) && ! PMA_Table::isView($db,$table)) {
+ if (! empty($sql_drop_table) && ! PMA_Table::isView($db, $table)) {
$schema_create .= 'DROP TABLE IF EXISTS ' . PMA_backquote($table, $sql_backquotes) . ';' . $crlf;
}
diff --git a/libraries/footer.inc.php b/libraries/footer.inc.php
index dbb1f1a..9d6259d 100644
--- a/libraries/footer.inc.php
+++ b/libraries/footer.inc.php
@@ -174,7 +174,7 @@ setURLHash("<?php echo PMA_generate_common_url($url_params, 'text', ''); ?>");
// Include possible custom footers
if (! $GLOBALS['is_ajax_request'] && file_exists(CUSTOM_FOOTER_FILE)) {
- require CUSTOM_FOOTER_FILE;
+ include CUSTOM_FOOTER_FILE;
}
/**
diff --git a/libraries/import/shp.php b/libraries/import/shp.php
index 977d117..948b87c 100644
--- a/libraries/import/shp.php
+++ b/libraries/import/shp.php
@@ -63,8 +63,8 @@ if (isset($plugin_list)) {
* reading directly from a file. Using readFromBuffer() in place of fread().
* This makes it possible to use compressions.
*/
- class PMA_ShapeFile extends ShapeFile {
-
+ class PMA_ShapeFile extends ShapeFile
+ {
function _isDbaseLoaded()
{
return extension_loaded('dbase');
diff --git a/libraries/opendocument.lib.php b/libraries/opendocument.lib.php
index c161f22..85ad3f3 100644
--- a/libraries/opendocument.lib.php
+++ b/libraries/opendocument.lib.php
@@ -45,8 +45,8 @@ function PMA_createOpenDocument($mime, $data)
. '<meta:initial-creator>phpMyAdmin ' . PMA_VERSION . '</meta:initial-creator>'
. '<meta:creation-date>' . strftime('%Y-%m-%dT%H:%M:%S') . '</meta:creation-date>'
. '</office:meta>'
- . '</office:document-meta>'
- , 'meta.xml');
+ . '</office:document-meta>',
+ 'meta.xml');
$zipfile -> addFile('<?xml version="1.0" encoding="UTF-8"?' . '>'
. '<office:document-styles '. $GLOBALS['OpenDocumentNS'] . 'office:version="1.0">'
. '<office:font-face-decls>'
@@ -89,16 +89,16 @@ function PMA_createOpenDocument($mime, $data)
. '<office:master-styles>'
. '<style:master-page style:name="Standard" style:page-layout-name="pm1"/>'
. '</office:master-styles>'
- . '</office:document-styles>'
- , 'styles.xml');
+ . '</office:document-styles>',
+ 'styles.xml');
$zipfile -> addFile('<?xml version="1.0" encoding="UTF-8"?' . '>'
. '<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">'
. '<manifest:file-entry manifest:media-type="' . $mime . '" manifest:full-path="/"/>'
. '<manifest:file-entry manifest:media-type="text/xml" manifest:full-path="content.xml"/>'
. '<manifest:file-entry manifest:media-type="text/xml" manifest:full-path="meta.xml"/>'
. '<manifest:file-entry manifest:media-type="text/xml" manifest:full-path="styles.xml"/>'
- . '</manifest:manifest>'
- , 'META-INF/manifest.xml');
+ . '</manifest:manifest>',
+ 'META-INF/manifest.xml');
return $zipfile -> file();
}
?>
diff --git a/libraries/pmd_common.php b/libraries/pmd_common.php
index 7d14191..4c42c57 100644
--- a/libraries/pmd_common.php
+++ b/libraries/pmd_common.php
@@ -75,7 +75,7 @@ function get_tab_info()
PMA_DBI_select_db($GLOBALS['db']);
$tab_column = array();
for ($i = 0, $cnt = count($GLOBALS['PMD']["TABLE_NAME"]); $i < $cnt; $i++) {
- $fields_rs = PMA_DBI_query(PMA_DBI_get_columns_sql($GLOBALS['db'], $GLOBALS['PMD']["TABLE_NAME_SMALL"][$i], null, true), NULL, PMA_DBI_QUERY_STORE);
+ $fields_rs = PMA_DBI_query(PMA_DBI_get_columns_sql($GLOBALS['db'], $GLOBALS['PMD']["TABLE_NAME_SMALL"][$i], null, true), null, PMA_DBI_QUERY_STORE);
$j = 0;
while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
$tab_column[$GLOBALS['PMD']['TABLE_NAME'][$i]]['COLUMN_ID'][$j] = $j;
@@ -98,7 +98,7 @@ function get_script_contr()
PMA_DBI_select_db($GLOBALS['db']);
$con["C_NAME"] = array();
$i = 0;
- $alltab_rs = PMA_DBI_query('SHOW TABLES FROM ' . PMA_backquote($GLOBALS['db']), NULL, PMA_DBI_QUERY_STORE);
+ $alltab_rs = PMA_DBI_query('SHOW TABLES FROM ' . PMA_backquote($GLOBALS['db']), null, PMA_DBI_QUERY_STORE);
while ($val = @PMA_DBI_fetch_row($alltab_rs)) {
$row = PMA_getForeigners($GLOBALS['db'], $val[0], '', 'internal');
//echo "<br> internal ".$GLOBALS['db']." - ".$val[0]." - ";
@@ -172,7 +172,7 @@ function get_pk_or_unique_keys()
*/
function get_all_keys($unique_only = false)
{
- require_once './libraries/Index.class.php';
+ include_once './libraries/Index.class.php';
$keys = array();
diff --git a/libraries/relation.lib.php b/libraries/relation.lib.php
index d0ff706..b7ea862 100644
--- a/libraries/relation.lib.php
+++ b/libraries/relation.lib.php
@@ -440,10 +440,10 @@ function PMA_getForeigners($db, $table, $column = '', $source = 'both')
if (($is_information_schema || $is_data_dictionary) && ($source == 'internal' || $source == 'both')) {
if ($is_information_schema) {
$relations_key = 'information_schema_relations';
- require_once './libraries/information_schema_relations.lib.php';
+ include_once './libraries/information_schema_relations.lib.php';
} else {
$relations_key = 'data_dictionary_relations';
- require_once './libraries/data_dictionary_relations.lib.php';
+ include_once './libraries/data_dictionary_relations.lib.php';
}
if (isset($GLOBALS[$relations_key][$table])) {
foreach ($GLOBALS[$relations_key][$table] as $field => $relations) {
diff --git a/libraries/rte/rte_events.lib.php b/libraries/rte/rte_events.lib.php
index a35d436..c4b6a1f 100644
--- a/libraries/rte/rte_events.lib.php
+++ b/libraries/rte/rte_events.lib.php
@@ -205,7 +205,7 @@ function PMA_EVN_handleEditor()
} else {
echo "\n\n<h2>$title</h2>\n\n$editor";
unset($_POST);
- require './libraries/footer.inc.php';
+ include './libraries/footer.inc.php';
}
// exit;
} else {
diff --git a/libraries/rte/rte_routines.lib.php b/libraries/rte/rte_routines.lib.php
index 8cd0529..a6557d7 100644
--- a/libraries/rte/rte_routines.lib.php
+++ b/libraries/rte/rte_routines.lib.php
@@ -366,7 +366,7 @@ function PMA_RTN_handleEditor()
PMA_ajaxResponse($editor, true, $extra_data);
}
echo "\n\n<h2>$title</h2>\n\n$editor";
- require './libraries/footer.inc.php';
+ include './libraries/footer.inc.php';
// exit;
} else {
$message = __('Error in processing request') . ' : ';
@@ -1297,7 +1297,7 @@ function PMA_RTN_handleExecute()
} else {
echo "\n\n<h2>" . __("Execute routine") . "</h2>\n\n";
echo $form;
- require './libraries/footer.inc.php';
+ include './libraries/footer.inc.php';
// exit;
}
} else if (($GLOBALS['is_ajax_request'] == true)) {
diff --git a/libraries/rte/rte_triggers.lib.php b/libraries/rte/rte_triggers.lib.php
index b4e5d40..29cc60f 100644
--- a/libraries/rte/rte_triggers.lib.php
+++ b/libraries/rte/rte_triggers.lib.php
@@ -180,7 +180,7 @@ function PMA_TRI_handleEditor()
} else {
echo "\n\n<h2>$title</h2>\n\n$editor";
unset($_POST);
- require './libraries/footer.inc.php';
+ include './libraries/footer.inc.php';
}
// exit;
} else {
diff --git a/libraries/sqlparser.lib.php b/libraries/sqlparser.lib.php
index 703d08a..6b1a315 100644
--- a/libraries/sqlparser.lib.php
+++ b/libraries/sqlparser.lib.php
@@ -37,14 +37,14 @@ if (! defined('PMA_MINIMUM_COMMON')) {
/**
* Include the string library as we use it heavily
*/
- require_once './libraries/string.lib.php';
+ include_once './libraries/string.lib.php';
/**
* Include data for the SQL Parser
*/
- require_once './libraries/sqlparser.data.php';
+ include_once './libraries/sqlparser.data.php';
if (!defined('TESTSUITE')) {
- require_once './libraries/mysql_charsets.lib.php';
+ include_once './libraries/mysql_charsets.lib.php';
}
if (! isset($mysql_charsets)) {
$mysql_charsets = array();
diff --git a/libraries/sqlvalidator.class.php b/libraries/sqlvalidator.class.php
index abbe6e9..654a9c8 100644
--- a/libraries/sqlvalidator.class.php
+++ b/libraries/sqlvalidator.class.php
@@ -45,8 +45,8 @@ if (!$GLOBALS['sqlvalidator_error']) {
/**
* @package phpMyAdmin
*/
- class PMA_SQLValidator {
-
+ class PMA_SQLValidator
+ {
var $url;
var $service_name;
var $wsdl;
diff --git a/libraries/sqlvalidator.lib.php b/libraries/sqlvalidator.lib.php
index 68934dd..5309890 100644
--- a/libraries/sqlvalidator.lib.php
+++ b/libraries/sqlvalidator.lib.php
@@ -39,7 +39,7 @@ if (! defined('PHPMYADMIN')) {
* For now we actually use a configuration flag
*/
if ($cfg['SQLValidator']['use'] == true) {
- require_once './libraries/sqlvalidator.class.php';
+ include_once './libraries/sqlvalidator.class.php';
} // if ($cfg['SQLValidator']['use'] == true)
diff --git a/libraries/svg_plot/pma_svg_data_element.php b/libraries/svg_plot/pma_svg_data_element.php
index 97f7734..15a3ddc 100644
--- a/libraries/svg_plot/pma_svg_data_element.php
+++ b/libraries/svg_plot/pma_svg_data_element.php
@@ -4,8 +4,8 @@
*
* @package phpMyAdmin
*/
-abstract class PMA_SVG_Data_Element{
-
+abstract class PMA_SVG_Data_Element
+{
protected $label = '';
protected $dataRow = array();
@@ -26,7 +26,7 @@ abstract class PMA_SVG_Data_Element{
* @return the code related to a row in the GIS dataset
*/
public abstract function prepareRowAsSVG($options);
-
+
public function getLabel()
{
return $this->label;
@@ -36,7 +36,7 @@ abstract class PMA_SVG_Data_Element{
{
$this->label = $label;
}
-
+
public function getDataRow()
{
return $this->dataRow;
diff --git a/libraries/tbl_properties.inc.php b/libraries/tbl_properties.inc.php
index 8b42189..e5342d3 100644
--- a/libraries/tbl_properties.inc.php
+++ b/libraries/tbl_properties.inc.php
@@ -29,9 +29,9 @@ require_once './libraries/Partition.class.php';
// load additional configuration variables
if (PMA_DRIZZLE) {
- require_once './libraries/data_drizzle.inc.php';
+ include_once './libraries/data_drizzle.inc.php';
} else {
- require_once './libraries/data_mysql.inc.php';
+ include_once './libraries/data_mysql.inc.php';
}
if (is_int($cfg['DefaultPropDisplay'])) {
diff --git a/libraries/transformations/image_jpeg__inline.inc.php b/libraries/transformations/image_jpeg__inline.inc.php
index 4ff1e72..97e4baf 100644
--- a/libraries/transformations/image_jpeg__inline.inc.php
+++ b/libraries/transformations/image_jpeg__inline.inc.php
@@ -16,7 +16,7 @@ function PMA_transformation_image_jpeg__inline_info()
*/
function PMA_transformation_image_jpeg__inline($buffer, $options = array(), $meta = '')
{
- require_once './libraries/transformations/global.inc.php';
+ include_once './libraries/transformations/global.inc.php';
if (PMA_IS_GD2) {
$transform_options = array ('string' => '<a href="transformation_wrapper.php' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php' . $options['wrapper_link'] . '&resize=jpeg&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0" /></a>');
diff --git a/libraries/transformations/image_jpeg__link.inc.php b/libraries/transformations/image_jpeg__link.inc.php
index 8988dd7..82800c1 100644
--- a/libraries/transformations/image_jpeg__link.inc.php
+++ b/libraries/transformations/image_jpeg__link.inc.php
@@ -16,7 +16,7 @@ function PMA_transformation_image_jpeg__link_info()
*/
function PMA_transformation_image_jpeg__link($buffer, $options = array(), $meta = '')
{
- require_once './libraries/transformations/global.inc.php';
+ include_once './libraries/transformations/global.inc.php';
$transform_options = array ('string' => '<a href="transformation_wrapper.php' . $options['wrapper_link'] . '" alt="[__BUFFER__]">[BLOB]</a>');
$buffer = PMA_transformation_global_html_replace($buffer, $transform_options);
diff --git a/libraries/transformations/image_png__inline.inc.php b/libraries/transformations/image_png__inline.inc.php
index 5c9fc4b..481af25 100644
--- a/libraries/transformations/image_png__inline.inc.php
+++ b/libraries/transformations/image_png__inline.inc.php
@@ -16,7 +16,7 @@ function PMA_transformation_image_png__inline_info()
*/
function PMA_transformation_image_png__inline($buffer, $options = array(), $meta = '')
{
- require_once './libraries/transformations/global.inc.php';
+ include_once './libraries/transformations/global.inc.php';
if (PMA_IS_GD2) {
$transform_options = array ('string' => '<a href="transformation_wrapper.php' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php' . $options['wrapper_link'] . '&resize=png&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0" /></a>');
diff --git a/libraries/transformations/text_plain__imagelink.inc.php b/libraries/transformations/text_plain__imagelink.inc.php
index 4148c1f..06fd97f 100644
--- a/libraries/transformations/text_plain__imagelink.inc.php
+++ b/libraries/transformations/text_plain__imagelink.inc.php
@@ -16,7 +16,7 @@ function PMA_transformation_text_plain__imagelink_info()
*/
function PMA_transformation_text_plain__imagelink($buffer, $options = array(), $meta = '')
{
- require_once './libraries/transformations/global.inc.php';
+ include_once './libraries/transformations/global.inc.php';
$transform_options = array ('string' => '<a href="' . (isset($options[0]) ? $options[0] : '') . $buffer . '" target="_blank"><img src="' . (isset($options[0]) ? $options[0] : '') . $buffer . '" border="0" width="' . (isset($options[1]) ? $options[1] : 100) . '" height="' . (isset($options[2]) ? $options[2] : 50) . '" />' . $buffer . '</a>');
$buffer = PMA_transformation_global_html_replace($buffer, $transform_options);
diff --git a/libraries/transformations/text_plain__link.inc.php b/libraries/transformations/text_plain__link.inc.php
index 4a807da..4daa565 100644
--- a/libraries/transformations/text_plain__link.inc.php
+++ b/libraries/transformations/text_plain__link.inc.php
@@ -16,7 +16,7 @@ function PMA_transformation_text_plain__link_info()
*/
function PMA_transformation_text_plain__link($buffer, $options = array(), $meta = '')
{
- require_once './libraries/transformations/global.inc.php';
+ include_once './libraries/transformations/global.inc.php';
// $transform_options = array ('string' => '<a href="' . (isset($options[0]) ? $options[0] : '') . '%1$s" title="' . (isset($options[1]) ? $options[1] : '%1$s') . '">' . (isset($options[1]) ? $options[1] : '%1$s') . '</a>');
diff --git a/pmd_relation_upd.php b/pmd_relation_upd.php
index 7fd78e4..d61d9d2 100644
--- a/pmd_relation_upd.php
+++ b/pmd_relation_upd.php
@@ -41,24 +41,27 @@ if (PMA_foreignkey_supported($type_T1) && PMA_foreignkey_supported($type_T2) &&
}
if ($try_to_delete_internal_relation) {
// internal relations
- PMA_query_as_controluser('DELETE FROM '
- . PMA_backquote($GLOBALS['cfgRelation']['db']) . '.'
- . $cfg['Server']['relation'].' WHERE '
- . 'master_db = \'' . PMA_sqlAddSlashes($DB2) . '\''
- . ' AND master_table = \'' . PMA_sqlAddSlashes($T2) . '\''
- . ' AND master_field = \'' . PMA_sqlAddSlashes($F2) . '\''
- . ' AND foreign_db = \'' . PMA_sqlAddSlashes($DB1) . '\''
- . ' AND foreign_table = \'' . PMA_sqlAddSlashes($T1) . '\''
- . ' AND foreign_field = \'' . PMA_sqlAddSlashes($F1) . '\''
- , false, PMA_DBI_QUERY_STORE);
+ PMA_query_as_controluser(
+ 'DELETE FROM '
+ . PMA_backquote($GLOBALS['cfgRelation']['db']) . '.'
+ . $cfg['Server']['relation'].' WHERE '
+ . 'master_db = \'' . PMA_sqlAddSlashes($DB2) . '\''
+ . ' AND master_table = \'' . PMA_sqlAddSlashes($T2) . '\''
+ . ' AND master_field = \'' . PMA_sqlAddSlashes($F2) . '\''
+ . ' AND foreign_db = \'' . PMA_sqlAddSlashes($DB1) . '\''
+ . ' AND foreign_table = \'' . PMA_sqlAddSlashes($T1) . '\''
+ . ' AND foreign_field = \'' . PMA_sqlAddSlashes($F1) . '\'',
+ false,
+ PMA_DBI_QUERY_STORE
+ );
}
PMD_return_upd(1, __('Relation deleted'));
function PMD_return_upd($b, $ret)
{
- global $K;
- header("Content-Type: text/xml; charset=utf-8");
- header("Cache-Control: no-cache");
- die('<root act="relation_upd" return="'.$ret.'" b="'.$b.'" K="'.$K.'"></root>');
+ global $K;
+ header("Content-Type: text/xml; charset=utf-8");
+ header("Cache-Control: no-cache");
+ die('<root act="relation_upd" return="'.$ret.'" b="'.$b.'" K="'.$K.'"></root>');
}
?>
diff --git a/prefs_manage.php b/prefs_manage.php
index 7c5d3f8..267eb43 100644
--- a/prefs_manage.php
+++ b/prefs_manage.php
@@ -105,8 +105,8 @@ if (isset($_POST['submit_export']) && filter_input(INPUT_POST, 'export_type') ==
}
if (!$all_ok) {
// mimic original form and post json in a hidden field
- require './libraries/header.inc.php';
- require './libraries/user_preferences.inc.php';
+ include './libraries/header.inc.php';
+ include './libraries/user_preferences.inc.php';
$msg = PMA_Message::error(__('Configuration contains incorrect data for some fields.'));
$msg->display();
echo '<div class="config-form">';
@@ -128,7 +128,7 @@ if (isset($_POST['submit_export']) && filter_input(INPUT_POST, 'export_type') ==
<input type="submit" name="submit_ignore" value="<?php echo __('No') ?>" />
</form>
<?php
- require './libraries/footer.inc.php';
+ include './libraries/footer.inc.php';
return;
}
diff --git a/querywindow.php b/querywindow.php
index 5641d1c..7a9f83d 100644
--- a/querywindow.php
+++ b/querywindow.php
@@ -95,11 +95,11 @@ if ($no_js) {
// ... we redirect to appropriate query sql page
// works only full if $db and $table is also stored/grabbed from $_COOKIE
if (strlen($table)) {
- require './tbl_sql.php';
+ include './tbl_sql.php';
} elseif (strlen($db)) {
- require './db_sql.php';
+ include './db_sql.php';
} else {
- require './server_sql.php';
+ include './server_sql.php';
}
exit;
}
diff --git a/server_databases.php b/server_databases.php
index c709f83..8ae3422 100644
--- a/server_databases.php
+++ b/server_databases.php
@@ -12,7 +12,7 @@ require_once './libraries/common.inc.php';
require './libraries/server_common.inc.php';
if (!PMA_DRIZZLE) {
- require './libraries/replication.inc.php';
+ include './libraries/replication.inc.php';
} else {
$replication_types = array();
$replication_info = null;
@@ -74,7 +74,7 @@ if ((isset($_REQUEST['drop_selected_dbs']) || isset($_REQUEST['query_type']))
if (isset($_REQUEST['selected_dbs'])) {
$selected_db = $_REQUEST['selected_dbs'];
}
- require './libraries/mult_submits.inc.php';
+ include './libraries/mult_submits.inc.php';
unset($action, $submit_mult, $err_url, $selected_db, $GLOBALS['db']);
if (empty($message)) {
$message = PMA_Message::success(__('%s databases have been dropped successfully.'));
@@ -109,7 +109,7 @@ echo '<h2>' . "\n"
*/
if ($cfg['ShowCreateDb']) {
echo '<ul><li id="li_create_database">' . "\n";
- require './libraries/display_create_database.lib.php';
+ include './libraries/display_create_database.lib.php';
echo ' </li>' . "\n";
echo '</ul>' . "\n";
}
diff --git a/server_replication.php b/server_replication.php
index 59d72f7..68db315 100644
--- a/server_replication.php
+++ b/server_replication.php
@@ -25,13 +25,13 @@ require_once './libraries/server_synchronize.lib.php';
* Checks if the user is allowed to do what he tries to...
*/
if (! $is_superuser) {
- require './libraries/server_links.inc.php';
+ include './libraries/server_links.inc.php';
echo '<h2>' . "\n"
. PMA_getIcon('s_replication.png')
. __('Replication') . "\n"
. '</h2>' . "\n";
PMA_Message::error(__('No Privileges'))->display();
- require './libraries/footer.inc.php';
+ include './libraries/footer.inc.php';
}
/**
@@ -234,7 +234,7 @@ if (isset($GLOBALS['mr_configure'])) {
echo ' </form>';
echo '</fieldset>';
- require './libraries/footer.inc.php';
+ include './libraries/footer.inc.php';
exit;
}
diff --git a/server_status.php b/server_status.php
index bbac0c3..4a8a37f 100644
--- a/server_status.php
+++ b/server_status.php
@@ -1486,7 +1486,7 @@ function printVariablesTable()
}
if ('%' === substr($name, -1, 1)) {
echo htmlspecialchars(PMA_formatNumber($value, 0, 2)) . ' %';
- } elseif (strpos($name, 'Uptime')!==FALSE) {
+ } elseif (strpos($name, 'Uptime') !== false) {
echo htmlspecialchars(PMA_timespanFormat($value));
} elseif (is_numeric($value) && $value == (int) $value && $value > 1000) {
echo htmlspecialchars(PMA_formatNumber($value, 3, 1));
diff --git a/server_synchronize.php b/server_synchronize.php
index d4627cf..3b8ff59 100644
--- a/server_synchronize.php
+++ b/server_synchronize.php
@@ -1109,13 +1109,15 @@ if (isset($_REQUEST['synchronize_db'])) {
PMA_updateTargetTables($matching_tables, $update_array, $src_db, $trg_db,
$trg_link, $p, $matching_tables_keys, true);
- PMA_insertIntoTargetTable($matching_tables, $src_db, $trg_db, $src_link,
- $trg_link , $matching_tables_fields, $insert_array, $p,
+ PMA_insertIntoTargetTable(
+ $matching_tables, $src_db, $trg_db, $src_link,
+ $trg_link, $matching_tables_fields, $insert_array, $p,
$matching_tables_keys, $matching_tables_keys, $source_columns,
$add_column_array, $criteria, $target_tables_keys, $uncommon_tables,
$uncommon_tables_fields, $uncommon_cols, $alter_str_array, $source_indexes,
$target_indexes, $add_indexes_array,
- $alter_indexes_array, $delete_array, $update_array, true);
+ $alter_indexes_array, $delete_array, $update_array, true
+ );
}
/**
diff --git a/setup/config.php b/setup/config.php
index b90d24c..89bcdc9 100644
--- a/setup/config.php
+++ b/setup/config.php
@@ -54,7 +54,7 @@ if (PMA_ifSetOr($_POST['submit_clear'], '')) {
// Load config file from the server
//
$cfg = array();
- require_once $config_file_path;
+ include_once $config_file_path;
ConfigFile::getInstance()->setConfigData($cfg);
header('HTTP/1.1 303 See Other');
header('Location: index.php');
diff --git a/sql.php b/sql.php
index 53d9759..42a9ac1 100644
--- a/sql.php
+++ b/sql.php
@@ -104,7 +104,7 @@ if (isset($_REQUEST['get_relational_values']) && $_REQUEST['get_relational_value
}
$extra_data['dropdown'] = $dropdown;
- PMA_ajaxResponse(NULL, true, $extra_data);
+ PMA_ajaxResponse(null, true, $extra_data);
}
/**
@@ -133,7 +133,7 @@ if (isset($_REQUEST['get_enum_values']) && $_REQUEST['get_enum_values'] == true)
$dropdown = '<select>' . $dropdown . '</select>';
$extra_data['dropdown'] = $dropdown;
- PMA_ajaxResponse(NULL, true, $extra_data);
+ PMA_ajaxResponse(null, true, $extra_data);
}
/**
@@ -162,7 +162,7 @@ if (isset($_REQUEST['get_set_values']) && $_REQUEST['get_set_values'] == true) {
$select = '<select multiple="multiple" size="' . $select_size . '">' . $select . '</select>';
$extra_data['select'] = $select;
- PMA_ajaxResponse(NULL, true, $extra_data);
+ PMA_ajaxResponse(null, true, $extra_data);
}
/**
@@ -191,7 +191,7 @@ if (isset($_REQUEST['set_col_prefs']) && $_REQUEST['set_col_prefs'] == true) {
}
}
- PMA_ajaxResponse(NULL, ($retval == true));
+ PMA_ajaxResponse(null, ($retval == true));
}
// Default to browse if no query set and we have table
@@ -766,7 +766,7 @@ else {
$row = PMA_DBI_fetch_row($result);
$extra_data = array();
$extra_data['value'] = $row[0];
- PMA_ajaxResponse(NULL, true, $extra_data);
+ PMA_ajaxResponse(null, true, $extra_data);
}
if (isset($_REQUEST['ajax_request']) && isset($_REQUEST['table_maintenance'])) {
diff --git a/tbl_addfield.php b/tbl_addfield.php
index f9324fe..c2a2e96 100644
--- a/tbl_addfield.php
+++ b/tbl_addfield.php
@@ -186,7 +186,7 @@ if (isset($_REQUEST['do_save_data'])) {
$message->addParam($table);
if( $GLOBALS['is_ajax_request'] == true) {
- $extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query);
+ $extra_data['sql_query'] = PMA_showMessage(null, $sql_query);
PMA_ajaxResponse($message, $message->isSuccess(), $extra_data);
}
diff --git a/tbl_alter.php b/tbl_alter.php
index dcde601..a268866 100644
--- a/tbl_alter.php
+++ b/tbl_alter.php
@@ -131,7 +131,7 @@ if (isset($_REQUEST['do_save_data'])) {
}
if ( $_REQUEST['ajax_request'] == true) {
- $extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query);
+ $extra_data['sql_query'] = PMA_showMessage(null, $sql_query);
PMA_ajaxResponse($message, $message->isSuccess(), $extra_data);
}
diff --git a/tbl_indexes.php b/tbl_indexes.php
index 1bffbe7..1d678db 100644
--- a/tbl_indexes.php
+++ b/tbl_indexes.php
@@ -97,20 +97,20 @@ if (isset($_REQUEST['do_save_data'])) {
PMA_DBI_query($sql_query);
$message = PMA_Message::success(__('Table %1$s has been altered successfully'));
$message->addParam($table);
-
+
if ( $GLOBALS['is_ajax_request'] == true) {
$extra_data['index_table'] = PMA_Index::getView($table, $db);
- $extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query);
+ $extra_data['sql_query'] = PMA_showMessage(null, $sql_query);
PMA_ajaxResponse($message, $message->isSuccess(), $extra_data);
}
-
+
$active_page = 'tbl_structure.php';
- require './tbl_structure.php';
+ include './tbl_structure.php';
exit;
} else {
if ( $GLOBALS['is_ajax_request'] == true) {
$extra_data['error'] = $error;
- PMA_ajaxResponse($error,false);
+ PMA_ajaxResponse($error, false);
}
$error->display();
}
diff --git a/tbl_move_copy.php b/tbl_move_copy.php
index 58d90f3..e25cf69 100644
--- a/tbl_move_copy.php
+++ b/tbl_move_copy.php
@@ -65,13 +65,13 @@ if (PMA_isValid($_REQUEST['new_name'])) {
$db = $_REQUEST['target_db'];
$table = $_REQUEST['new_name'];
}
-
+
if ( $_REQUEST['ajax_request'] == true) {
- $extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query);
+ $extra_data['sql_query'] = PMA_showMessage(null, $sql_query);
$extra_data['db'] = $GLOBALS['db'];
PMA_ajaxResponse($message, $message->isSuccess(), $extra_data);
}
-
+
$reload = 1;
}
} else {
diff --git a/tbl_operations.php b/tbl_operations.php
index 95b602e..d859a52 100644
--- a/tbl_operations.php
+++ b/tbl_operations.php
@@ -230,7 +230,7 @@ if (isset($result) && empty($message_to_show)) {
// $result should exist, regardless of $_message
$_type = $result ? 'success' : 'error';
if ( $_REQUEST['ajax_request'] == true) {
- $extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query);
+ $extra_data['sql_query'] = PMA_showMessage(null, $sql_query);
PMA_ajaxResponse($_message, $_message->isSuccess(), $extra_data);
}
}
diff --git a/tbl_printview.php b/tbl_printview.php
index 76d4e73..3643d58 100644
--- a/tbl_printview.php
+++ b/tbl_printview.php
@@ -17,7 +17,7 @@ require './libraries/tbl_common.php';
*/
$print_view = true;
if (! isset($selected_tbl)) {
- require_once './libraries/header.inc.php';
+ include_once './libraries/header.inc.php';
}
// Check parameters
@@ -62,7 +62,7 @@ $multi_tables = (count($the_tables) > 1);
if ($multi_tables) {
if (empty($GLOBALS['is_header_sent'])) {
- require_once './libraries/header.inc.php';
+ include_once './libraries/header.inc.php';
}
$tbl_list = '';
foreach ($the_tables as $key => $table) {
diff --git a/tbl_replace.php b/tbl_replace.php
index b6da1ba..b5c43dc 100644
--- a/tbl_replace.php
+++ b/tbl_replace.php
@@ -231,8 +231,8 @@ foreach ($loop_array as $rownumber => $where_clause) {
// for blobstreaming
if ($blob_streaming_active) {
- $remove_blob_repo = isset($_REQUEST['remove_blob_repo_' . $key]) ? $_REQUEST['remove_blob_repo_' . $key] : NULL;
- $upload_blob_repo = isset($_REQUEST['upload_blob_repo_' . $key]) ? $_REQUEST['upload_blob_repo_' . $key] : NULL;
+ $remove_blob_repo = isset($_REQUEST['remove_blob_repo_' . $key]) ? $_REQUEST['remove_blob_repo_' . $key] : null;
+ $upload_blob_repo = isset($_REQUEST['upload_blob_repo_' . $key]) ? $_REQUEST['upload_blob_repo_' . $key] : null;
// checks if an existing blob repository reference should be removed
if (isset($remove_blob_repo) && ! isset($upload_blob_repo)) {
diff --git a/tbl_tracking.php b/tbl_tracking.php
index 847578c..496982a 100644
--- a/tbl_tracking.php
+++ b/tbl_tracking.php
@@ -219,7 +219,7 @@ if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'sqldump')
$table_temp = $table;
$db = $table = '';
- require_once './libraries/sql_query_form.lib.php';
+ include_once './libraries/sql_query_form.lib.php';
PMA_sqlQueryForm($new_query, 'sql');
diff --git a/test/classes/PMA_Config_test.php b/test/classes/PMA_Config_test.php
index 42fab56..edcc6aa 100644
--- a/test/classes/PMA_Config_test.php
+++ b/test/classes/PMA_Config_test.php
@@ -19,7 +19,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase
/**
* Turn off backup globals
*/
- protected $backupGlobals = FALSE;
+ protected $backupGlobals = false;
/**
* @var PMA_Config
diff --git a/test/libraries/common/PMA_getDbLink_test.php b/test/libraries/common/PMA_getDbLink_test.php
index 85a76e8..303ec38 100644
--- a/test/libraries/common/PMA_getDbLink_test.php
+++ b/test/libraries/common/PMA_getDbLink_test.php
@@ -21,8 +21,8 @@ class PMA_getDbLink_test extends PHPUnit_Framework_TestCase
function setUp()
{
global $cfg;
- require_once 'libraries/vendor_config.php';
- require 'libraries/config.default.php';
+ include_once 'libraries/vendor_config.php';
+ include 'libraries/config.default.php';
$_SESSION[' PMA_token '] = 'token';
$GLOBALS['lang'] = 'en';
$GLOBALS['server'] = 99;
diff --git a/test/libraries/common/PMA_showMessage_test_disabled.php b/test/libraries/common/PMA_showMessage_test_disabled.php
index d89aa10..daf855f 100644
--- a/test/libraries/common/PMA_showMessage_test_disabled.php
+++ b/test/libraries/common/PMA_showMessage_test_disabled.php
@@ -23,7 +23,7 @@ class PMA_showMessage_test extends PHPUnit_Extensions_OutputTestCase
function setUp()
{
global $cfg;
- require 'libraries/config.default.php';
+ include 'libraries/config.default.php';
}
function testShowMessageNotAjax()
diff --git a/test/libraries/core/PMA_array_test.php b/test/libraries/core/PMA_array_test.php
index 0eea363..8fc63fb 100644
--- a/test/libraries/core/PMA_array_test.php
+++ b/test/libraries/core/PMA_array_test.php
@@ -94,7 +94,7 @@ class PMA_array_test extends PHPUnit_Framework_TestCase
PMA_array_write('sarr/not_existing/1', $arr, 'some_val');
$this->assertEquals($arr['sarr']['not_existing'][1], 'some_val');
- PMA_array_write('sarr/0/2', $arr, NULL);
+ PMA_array_write('sarr/0/2', $arr, null);
$this->assertNull($arr['sarr'][0][2]);
}
diff --git a/test/libraries/core/PMA_headerLocation_test_disabled.php b/test/libraries/core/PMA_headerLocation_test_disabled.php
index a303d24..089064b 100644
--- a/test/libraries/core/PMA_headerLocation_test_disabled.php
+++ b/test/libraries/core/PMA_headerLocation_test_disabled.php
@@ -104,9 +104,9 @@ class PMA_headerLocation_test extends PHPUnit_Extensions_OutputTestCase
if (defined('PMA_IS_IIS')) {
$this->oldIISvalue = PMA_IS_IIS;
- runkit_constant_redefine('PMA_IS_IIS', NULL);
+ runkit_constant_redefine('PMA_IS_IIS', null);
} else {
- runkit_constant_add('PMA_IS_IIS', NULL);
+ runkit_constant_add('PMA_IS_IIS', null);
}
@@ -114,9 +114,9 @@ class PMA_headerLocation_test extends PHPUnit_Extensions_OutputTestCase
if (defined('SID')) {
$this->oldSIDvalue = SID;
- runkit_constant_redefine('SID', NULL);
+ runkit_constant_redefine('SID', null);
} else {
- runkit_constant_add('SID', NULL);
+ runkit_constant_add('SID', null);
}
}
diff --git a/test/libraries/rte/PMA_RTN_getDataFromRequest_test.php b/test/libraries/rte/PMA_RTN_getDataFromRequest_test.php
index db61325..112315d 100644
--- a/test/libraries/rte/PMA_RTN_getDataFromRequest_test.php
+++ b/test/libraries/rte/PMA_RTN_getDataFromRequest_test.php
@@ -21,7 +21,7 @@ class PMA_RTN_getDataFromRequest_test extends PHPUnit_Framework_TestCase
global $cfg;
$cfg['ShowFunctionFields'] = false;
- require 'libraries/data_mysql.inc.php';
+ include 'libraries/data_mysql.inc.php';
}
/**
diff --git a/test/libraries/rte/PMA_RTN_getEditorForm_test.php b/test/libraries/rte/PMA_RTN_getEditorForm_test.php
index 2fd0129..2230ca9 100644
--- a/test/libraries/rte/PMA_RTN_getEditorForm_test.php
+++ b/test/libraries/rte/PMA_RTN_getEditorForm_test.php
@@ -20,7 +20,7 @@ class PMA_RTN_getEditorForm_test extends PHPUnit_Framework_TestCase
global $cfg;
$cfg['ShowFunctionFields'] = false;
- require 'libraries/data_mysql.inc.php';
+ include 'libraries/data_mysql.inc.php';
if (! function_exists('PMA_generateCharsetDropdownBox')) {
function PMA_generateCharsetDropdownBox() {}
diff --git a/test/libraries/rte/PMA_RTN_getExecuteForm_test.php b/test/libraries/rte/PMA_RTN_getExecuteForm_test.php
index f8db88c..03fc82a 100644
--- a/test/libraries/rte/PMA_RTN_getExecuteForm_test.php
+++ b/test/libraries/rte/PMA_RTN_getExecuteForm_test.php
@@ -54,7 +54,7 @@ class PMA_RTN_getExecuteForm_test extends PHPUnit_Framework_TestCase
$cfg['DefaultFunctions']['FUNC_SPATIAL'] = 'GeomFromText';
$GLOBALS['tear_down']['default'] = true;
}
- require 'libraries/data_mysql.inc.php';
+ include 'libraries/data_mysql.inc.php';
}
public function tearDown()
diff --git a/test/libraries/rte/PMA_RTN_getQueryFromRequest_test.php b/test/libraries/rte/PMA_RTN_getQueryFromRequest_test.php
index db11ff4..95473e3 100644
--- a/test/libraries/rte/PMA_RTN_getQueryFromRequest_test.php
+++ b/test/libraries/rte/PMA_RTN_getQueryFromRequest_test.php
@@ -29,7 +29,7 @@ class PMA_RTN_getQueryFromRequest_test extends PHPUnit_Framework_TestCase
$cfg['ShowFunctionFields'] = false;
- require 'libraries/data_mysql.inc.php';
+ include 'libraries/data_mysql.inc.php';
$errors = array();
PMA_RTN_setGlobals();
diff --git a/test/selenium/PmaSeleniumLoginTest.php b/test/selenium/PmaSeleniumLoginTest.php
index 1a5d22d..bde93bf 100644
--- a/test/selenium/PmaSeleniumLoginTest.php
+++ b/test/selenium/PmaSeleniumLoginTest.php
@@ -10,9 +10,9 @@
require_once 'PmaSeleniumTestCase.php';
-class PmaSeleniumLoginTest extends PmaSeleniumTestCase
+class PmaSeleniumLoginTest extends PmaSeleniumTestCase
{
- protected $captureScreenshotOnFailure = TRUE;
+ protected $captureScreenshotOnFailure = true;
protected $screenshotPath = '/var/www/screenshots';
protected $screenshotUrl = 'http://localhost/screenshots';
diff --git a/test/selenium/PmaSeleniumPrivilegesTest.php b/test/selenium/PmaSeleniumPrivilegesTest.php
index 7eddf7a..0e3f4cf 100644
--- a/test/selenium/PmaSeleniumPrivilegesTest.php
+++ b/test/selenium/PmaSeleniumPrivilegesTest.php
@@ -10,9 +10,9 @@
require_once 'PmaSeleniumTestCase.php';
-class PmaSeleniumPrivilegesTest extends PmaSeleniumTestCase
+class PmaSeleniumPrivilegesTest extends PmaSeleniumTestCase
{
- public function testChangePassword()
+ public function testChangePassword()
{
$this->doLogin();
$this->selectFrame("frame_content");
diff --git a/test/selenium/PmaSeleniumTestCase.php b/test/selenium/PmaSeleniumTestCase.php
index 90da642..1b33ff0 100644
--- a/test/selenium/PmaSeleniumTestCase.php
+++ b/test/selenium/PmaSeleniumTestCase.php
@@ -21,7 +21,7 @@ class PmaSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase
protected $selenium;
protected $cfg;
- protected $captureScreenshotOnFailure = TRUE;
+ protected $captureScreenshotOnFailure = true;
protected $screenshotPath = '/var/www/screenshots';
protected $screenshotUrl = 'http://localhost/screenshots';
diff --git a/test/selenium/PmaSeleniumXssTest.php b/test/selenium/PmaSeleniumXssTest.php
index 06f960e..0cba510 100644
--- a/test/selenium/PmaSeleniumXssTest.php
+++ b/test/selenium/PmaSeleniumXssTest.php
@@ -9,9 +9,9 @@
require_once 'PmaSeleniumTestCase.php';
-class PmaSeleniumXSSTest extends PmaSeleniumTestCase
+class PmaSeleniumXSSTest extends PmaSeleniumTestCase
{
- public function testXssQueryTab()
+ public function testXssQueryTab()
{
$this->doLogin();
$this->selectFrame("frame_content");
diff --git a/transformation_overview.php b/transformation_overview.php
index 81211d5..35d41c0 100644
--- a/transformation_overview.php
+++ b/transformation_overview.php
@@ -52,7 +52,7 @@ foreach ($types['mimetype'] as $key => $mimetype) {
$odd_row = true;
foreach ($types['transformation'] as $key => $transform) {
$func = strtolower(str_ireplace('.inc.php', '', $types['transformation_file'][$key]));
- require './libraries/transformations/' . $types['transformation_file'][$key];
+ include './libraries/transformations/' . $types['transformation_file'][$key];
$funcname = 'PMA_transformation_' . $func . '_info';
$desc = '<i>' . sprintf(__('No description is available for this transformation.<br />Please ask the author what %s does.'), 'PMA_transformation_' . $func . '()') . '</i>';
if (function_exists($funcname)) {
diff --git a/view_create.php b/view_create.php
index c7d63ce..3571c82 100644
--- a/view_create.php
+++ b/view_create.php
@@ -72,7 +72,7 @@ if (isset($_REQUEST['createview'])) {
if (PMA_DBI_try_query($sql_query)) {
$message = PMA_Message::success();
- require './' . $cfg['DefaultTabDatabase'];
+ include './' . $cfg['DefaultTabDatabase'];
exit();
} else {
$message = PMA_Message::rawError(PMA_DBI_getError());
hooks/post-receive
--
phpMyAdmin
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_5-19814-ge67a0a2
by Madhura Jayaratne
The branch, master has been updated
via e67a0a2531fff325477c5babcfffbf205ca755b3 (commit)
from ac088aaee0194f28f435b63b978db96426cda642 (commit)
- Log -----------------------------------------------------------------
commit e67a0a2531fff325477c5babcfffbf205ca755b3
Author: Madhura Jayaratne <madhura.cj(a)gmail.com>
Date: Fri Sep 23 08:43:41 2011 +0530
Spaces between parameters in function calls
-----------------------------------------------------------------------
Summary of changes:
db_operations.php | 2 +-
export.php | 2 +-
libraries/List_Database.class.php | 4 +-
libraries/auth/swekey/swekey.php | 40 ++++++++++----------
libraries/header_scripts.inc.php | 2 +-
libraries/import.lib.php | 2 +-
libraries/mult_submits.inc.php | 4 +-
libraries/replication.inc.php | 2 +-
libraries/select_lang.lib.php | 4 +-
libraries/server_synchronize.lib.php | 8 ++--
libraries/svg_plot/pma_scatter_plot.php | 12 +++---
libraries/svg_plot/pma_svg_data_point.php | 8 ++--
libraries/sysinfo.lib.php | 4 +-
navigation.php | 2 +-
pmd_general.php | 18 ++++----
pmd_pdf.php | 4 +-
pmd_relation_new.php | 8 ++--
pmd_relation_upd.php | 6 +-
schema_export.php | 4 +-
server_synchronize.php | 8 ++--
server_variables.php | 14 +++---
sql.php | 6 +-
tbl_addfield.php | 2 +-
tbl_export.php | 2 +-
tbl_operations.php | 2 +-
tbl_replace.php | 2 +-
tbl_select.php | 4 +-
tbl_structure.php | 2 +-
tbl_tracking.php | 4 +-
test/Environment_test.php | 2 +-
test/classes/PMA_Config_test.php | 32 ++++++++--------
.../PMA_contains_nonprintable_ascii_test.php | 4 +-
.../common/PMA_display_html_checkbox_test.php | 8 ++--
.../common/PMA_display_html_radio_test.php | 16 ++++----
.../PMA_extractValueFromFormattedSize_test.php | 8 ++--
test/libraries/common/PMA_formatSql_test.php | 28 +++++++-------
.../common/PMA_generate_html_dropdown_test.php | 6 +-
.../common/PMA_generate_slider_effect_test.php | 6 +-
test/libraries/common/PMA_getDbLink_test.php | 6 +-
.../common/PMA_getTitleForTarget_test.php | 2 +-
test/libraries/core/PMA_array_test.php | 12 +++---
test/libraries/core/PMA_checkPageValidity_test.php | 10 ++--
test/libraries/core/PMA_getTableCount_test_dis.php | 2 +-
.../core/PMA_headerLocation_test_disabled.php | 8 ++--
.../core/PMA_warnMissingExtension_test.php | 10 ++--
45 files changed, 171 insertions(+), 171 deletions(-)
diff --git a/db_operations.php b/db_operations.php
index 512c894..b364d81 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -234,7 +234,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
// to avoid selecting alternatively the current and new db
// we would need to modify the CREATE definitions to qualify
// the db name
- $event_names = PMA_DBI_fetch_result('SELECT EVENT_NAME FROM information_schema.EVENTS WHERE EVENT_SCHEMA= \'' . PMA_sqlAddSlashes($db,true) . '\';');
+ $event_names = PMA_DBI_fetch_result('SELECT EVENT_NAME FROM information_schema.EVENTS WHERE EVENT_SCHEMA= \'' . PMA_sqlAddSlashes($db, true) . '\';');
if ($event_names) {
foreach ($event_names as $event_name) {
PMA_DBI_select_db($db);
diff --git a/export.php b/export.php
index b82ef99..0c8a644 100644
--- a/export.php
+++ b/export.php
@@ -342,7 +342,7 @@ if (!$save_on_server) {
// Download
// (avoid rewriting data containing HTML with anchors and forms;
// this was reported to happen under Plesk)
- @ini_set('url_rewriter.tags','');
+ @ini_set('url_rewriter.tags', '');
$filename = PMA_sanitize_filename($filename);
PMA_download_header($filename, $mime_type);
diff --git a/libraries/List_Database.class.php b/libraries/List_Database.class.php
index 1e1b31f..760d19d 100644
--- a/libraries/List_Database.class.php
+++ b/libraries/List_Database.class.php
@@ -453,10 +453,10 @@ require_once './libraries/List.class.php';
// TODO: db names may contain characters
// that are regexp instructions
$re = '(^|(\\\\\\\\)+|[^\])';
- $tmp_regex = preg_replace('/' . addcslashes($re,'/') . '%/', '\\1.*', preg_replace('/' . addcslashes($re,'/') . '_/', '\\1.{1}', $tmp_matchpattern));
+ $tmp_regex = preg_replace('/' . addcslashes($re, '/') . '%/', '\\1.*', preg_replace('/' . addcslashes($re,'/') . '_/', '\\1.{1}', $tmp_matchpattern));
// Fixed db name matching
// 2000-08-28 -- Benjamin Gandon
- if (preg_match('/^' . addcslashes($tmp_regex,'/') . '$/', $tmp_db)) {
+ if (preg_match('/^' . addcslashes($tmp_regex, '/') . '$/', $tmp_db)) {
$dblist[] = $tmp_db;
break;
}
diff --git a/libraries/auth/swekey/swekey.php b/libraries/auth/swekey/swekey.php
index 869d3d5..453437e 100644
--- a/libraries/auth/swekey/swekey.php
+++ b/libraries/auth/swekey/swekey.php
@@ -18,18 +18,18 @@
/**
* Errors codes
*/
-define ("SWEKEY_ERR_INVALID_DEV_STATUS",901); // The satus of the device is not SWEKEY_STATUS_OK
-define ("SWEKEY_ERR_INTERNAL",902); // Should never occurd
-define ("SWEKEY_ERR_OUTDATED_RND_TOKEN",910); // You random token is too old
-define ("SWEKEY_ERR_INVALID_OTP",911); // The otp was not correct
+define ("SWEKEY_ERR_INVALID_DEV_STATUS", 901); // The satus of the device is not SWEKEY_STATUS_OK
+define ("SWEKEY_ERR_INTERNAL", 902); // Should never occurd
+define ("SWEKEY_ERR_OUTDATED_RND_TOKEN", 910); // You random token is too old
+define ("SWEKEY_ERR_INVALID_OTP", 911); // The otp was not correct
/**
* Those errors are considered as an attack and your site will be blacklisted during one minute
* if you receive one of those errors
*/
-define ("SWEKEY_ERR_BADLY_ENCODED_REQUEST",920);
-define ("SWEKEY_ERR_INVALID_RND_TOKEN",921);
-define ("SWEKEY_ERR_DEV_NOT_FOUND",922);
+define ("SWEKEY_ERR_BADLY_ENCODED_REQUEST", 920);
+define ("SWEKEY_ERR_INVALID_RND_TOKEN", 921);
+define ("SWEKEY_ERR_DEV_NOT_FOUND", 922);
/**
* Default values for configuration.
@@ -252,7 +252,7 @@ function Swekey_HttpGet($url, &$response_code)
$r = new HttpRequest($url);
$options = array('timeout' => '3');
- if (substr($url,0, 6) == "https:")
+ if (substr($url, 0, 6) == "https:")
{
$sslOptions = array();
$sslOptions['verifypeer'] = true;
@@ -392,7 +392,7 @@ function Swekey_GetFastHalfRndToken()
{
// we unlink the file so no possible tempfile race attack
unlink($cachefile);
- $file = fopen($cachefile , "x");
+ $file = fopen($cachefile, "x");
if ($file != false)
{
@fwrite($file, $res);
@@ -442,22 +442,22 @@ function Swekey_CheckOtp($id, $rt, $otp)
* Values that are associated with a key.
* The following values can be returned by the Swekey_GetStatus() function
*/
-define ("SWEKEY_STATUS_OK",0);
-define ("SWEKEY_STATUS_NOT_FOUND",1); // The key does not exist in the db
-define ("SWEKEY_STATUS_INACTIVE",2); // The key has never been activated
-define ("SWEKEY_STATUS_LOST",3); // The user has lost his key
-define ("SWEKEY_STATUS_STOLEN",4); // The key was stolen
-define ("SWEKEY_STATUS_FEE_DUE",5); // The annual fee was not paid
-define ("SWEKEY_STATUS_OBSOLETE",6); // The hardware is no longer supported
-define ("SWEKEY_STATUS_UNKOWN",201); // We could not connect to the authentication server
+define ("SWEKEY_STATUS_OK", 0);
+define ("SWEKEY_STATUS_NOT_FOUND", 1); // The key does not exist in the db
+define ("SWEKEY_STATUS_INACTIVE", 2); // The key has never been activated
+define ("SWEKEY_STATUS_LOST", 3); // The user has lost his key
+define ("SWEKEY_STATUS_STOLEN", 4); // The key was stolen
+define ("SWEKEY_STATUS_FEE_DUE", 5); // The annual fee was not paid
+define ("SWEKEY_STATUS_OBSOLETE", 6); // The hardware is no longer supported
+define ("SWEKEY_STATUS_UNKOWN", 201); // We could not connect to the authentication server
/**
* Values that are associated with a key.
* The Javascript Api can also return the following values
*/
-define ("SWEKEY_STATUS_REPLACED",100); // This key has been replaced by a backup key
-define ("SWEKEY_STATUS_BACKUP_KEY",101); // This key is a backup key that is not activated yet
-define ("SWEKEY_STATUS_NOTPLUGGED",200); // This key is not plugged in the computer
+define ("SWEKEY_STATUS_REPLACED", 100); // This key has been replaced by a backup key
+define ("SWEKEY_STATUS_BACKUP_KEY", 101); // This key is a backup key that is not activated yet
+define ("SWEKEY_STATUS_NOTPLUGGED", 200); // This key is not plugged in the computer
/**
diff --git a/libraries/header_scripts.inc.php b/libraries/header_scripts.inc.php
index 0563868..21c5d9a 100644
--- a/libraries/header_scripts.inc.php
+++ b/libraries/header_scripts.inc.php
@@ -61,7 +61,7 @@ if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknow
}
<?php
if(count($GLOBALS['js_script']) > 0) {
- echo implode("\n",$GLOBALS['js_script'])."\n";
+ echo implode("\n", $GLOBALS['js_script'])."\n";
}
foreach ($GLOBALS['js_events'] as $js_event) {
diff --git a/libraries/import.lib.php b/libraries/import.lib.php
index c2de669..c44cb16 100644
--- a/libraries/import.lib.php
+++ b/libraries/import.lib.php
@@ -407,7 +407,7 @@ function PMA_getColumnNumberFromName($name)
// base26 to base10 conversion : multiply each number
// with corresponding value of the position, in this case
// $i=0 : 1; $i=1 : 26; $i=2 : 676; ...
- $column_number += $number * pow(26,$i);
+ $column_number += $number * pow(26, $i);
}
return $column_number;
} else {
diff --git a/libraries/mult_submits.inc.php b/libraries/mult_submits.inc.php
index 6a4c242..1c3713b 100644
--- a/libraries/mult_submits.inc.php
+++ b/libraries/mult_submits.inc.php
@@ -430,14 +430,14 @@ elseif ($mult_btn == __('Yes')) {
case 'replace_prefix_tbl':
$current = $selected[$i];
- $newtablename = preg_replace("/^" . $from_prefix . "/" , $to_prefix , $current);
+ $newtablename = preg_replace("/^" . $from_prefix . "/", $to_prefix, $current);
$a_query = 'ALTER TABLE ' . PMA_backquote($selected[$i]) . ' RENAME ' . PMA_backquote($newtablename) ; // CHANGE PREFIX PATTERN
$run_parts = true;
break;
case 'copy_tbl_change_prefix':
$current = $selected[$i];
- $newtablename = preg_replace("/^" . $from_prefix . "/" , $to_prefix , $current);
+ $newtablename = preg_replace("/^" . $from_prefix . "/", $to_prefix, $current);
$a_query = 'CREATE TABLE ' . PMA_backquote($newtablename) . ' SELECT * FROM ' . PMA_backquote($selected[$i]) ; // COPY TABLE AND CHANGE PREFIX PATTERN
$run_parts = true;
break;
diff --git a/libraries/replication.inc.php b/libraries/replication.inc.php
index 0871d32..b057680 100644
--- a/libraries/replication.inc.php
+++ b/libraries/replication.inc.php
@@ -369,7 +369,7 @@ function PMA_replication_synchronize_db($db, $src_link, $trg_link, $data = true)
$target_columns, $alter_str_array, $add_column_array, $uncommon_columns, $criteria, $target_tables_keys, $counter);
PMA_indexesDiffInTables($src_db, $trg_db, $src_link, $trg_link, $matching_tables, $source_indexes, $target_indexes,
- $add_indexes_array, $alter_indexes_array,$remove_indexes_array, $counter);
+ $add_indexes_array, $alter_indexes_array, $remove_indexes_array, $counter);
}
/**
diff --git a/libraries/select_lang.lib.php b/libraries/select_lang.lib.php
index 62b1ea7..a755511 100644
--- a/libraries/select_lang.lib.php
+++ b/libraries/select_lang.lib.php
@@ -149,8 +149,8 @@ function PMA_langDetect($str, $envType)
if (strpos($expr, '[-_]') === false) {
$expr = str_replace('|', '([-_][[:alpha:]]{2,3})?|', $expr);
}
- if (($envType == 1 && preg_match('/^(' . addcslashes($expr,'/') . ')(;q=[0-9]\\.[0-9])?$/i', $str))
- || ($envType == 2 && preg_match('/(\(|\[|;[[:space:]])(' . addcslashes($expr,'/') . ')(;|\]|\))/i', $str))) {
+ if (($envType == 1 && preg_match('/^(' . addcslashes($expr, '/') . ')(;q=[0-9]\\.[0-9])?$/i', $str))
+ || ($envType == 2 && preg_match('/(\(|\[|;[[:space:]])(' . addcslashes($expr, '/') . ')(;|\]|\))/i', $str))) {
if (PMA_langSet($lang)) {
return true;
}
diff --git a/libraries/server_synchronize.lib.php b/libraries/server_synchronize.lib.php
index 8947b00..0bc7ae5 100644
--- a/libraries/server_synchronize.lib.php
+++ b/libraries/server_synchronize.lib.php
@@ -467,7 +467,7 @@ function PMA_updateTargetTables($table, $update_array, $src_db, $trg_db, $trg_li
*/
function PMA_insertIntoTargetTable($matching_table, $src_db, $trg_db, $src_link, $trg_link, $table_fields, &$array_insert, $matching_table_index,
$matching_tables_keys, $source_columns, &$add_column_array, $criteria, $target_tables_keys, $uncommon_tables, &$uncommon_tables_fields, $uncommon_cols,
- &$alter_str_array,&$source_indexes, &$target_indexes, &$add_indexes_array, &$alter_indexes_array, &$delete_array, &$update_array, $display)
+ &$alter_str_array, &$source_indexes, &$target_indexes, &$add_indexes_array, &$alter_indexes_array, &$delete_array, &$update_array, $display)
{
if (isset($array_insert[$matching_table_index])) {
if (sizeof($array_insert[$matching_table_index])) {
@@ -519,7 +519,7 @@ function PMA_insertIntoTargetTable($matching_table, $src_db, $trg_db, $src_link,
unset($delete_array[$table_index[0]]);
}
PMA_addColumnsInTargetTable($src_db, $trg_db, $src_link, $trg_link, $matching_tables, $source_columns, $add_column_array,
- $matching_tables_fields, $criteria, $matching_tables_keys, $target_tables_keys, $uncommon_tables,$uncommon_tables_fields,
+ $matching_tables_fields, $criteria, $matching_tables_keys, $target_tables_keys, $uncommon_tables, $uncommon_tables_fields,
$table_index[0], $uncommon_cols, $display);
unset($add_column_array[$table_index[0]]);
}
@@ -1125,8 +1125,8 @@ function PMA_indexesDiffInTables($src_db, $trg_db, $src_link, $trg_link, $matchi
&$alter_indexes_array, &$remove_indexes_array, $table_counter)
{
//Gets indexes information for source and target table
- $source_indexes[$table_counter] = PMA_DBI_get_table_indexes($src_db, $matching_tables[$table_counter],$src_link);
- $target_indexes[$table_counter] = PMA_DBI_get_table_indexes($trg_db, $matching_tables[$table_counter],$trg_link);
+ $source_indexes[$table_counter] = PMA_DBI_get_table_indexes($src_db, $matching_tables[$table_counter], $src_link);
+ $target_indexes[$table_counter] = PMA_DBI_get_table_indexes($trg_db, $matching_tables[$table_counter], $trg_link);
for ($a = 0; $a < sizeof($source_indexes[$table_counter]); $a++) {
$found = false;
$z = 0;
diff --git a/libraries/svg_plot/pma_scatter_plot.php b/libraries/svg_plot/pma_scatter_plot.php
index c0be405..e7ef90e 100644
--- a/libraries/svg_plot/pma_scatter_plot.php
+++ b/libraries/svg_plot/pma_scatter_plot.php
@@ -119,7 +119,7 @@ class PMA_Scatter_Plot
$this->_dataPoints = array();
if (! is_null($this->_userSpecifiedSettings)) {
foreach (array_keys($this->_userSpecifiedSettings) as $key){
- $this->_settings[$key] = $this->_userSpecifiedSettings[$key];
+ $this->_settings[$key] = $this->_userSpecifiedSettings[$key];
}
}
if ($this->_settings['dataLabel'] == '') {
@@ -188,17 +188,17 @@ class PMA_Scatter_Plot
*
* @return an array containing the scale, x and y offsets
*/
- private function _scaleDataSet($data,$xField,$yField)
+ private function _scaleDataSet($data, $xField, $yField)
{
- // Currently assuming only numeric fields are selected
+ // Currently assuming only numeric fields are selected
$coordinates = array();
foreach ($data as $row) {
$coordinates[0][] = $row[$xField];
$coordinates[1][] = $row[$yField];
}
for ($i = 0 ; $i < 2 ; $i++) {
- $maxC = ($i == 0) ? 500 : 320;
+ $maxC = ($i == 0) ? 500 : 320;
if ( !is_numeric($coordinates[$i][0])) {
$uniqueC = array_unique($coordinates[$i]);
@@ -244,8 +244,8 @@ class PMA_Scatter_Plot
for ($i = 0 ; $i < count($data) ; $i++) {
$index = $color_number % sizeof($this->_settings['colors']);
-
- $data_element = new PMA_SVG_Data_Point($scale_data[0][$i],$scale_data[1][$i],$data[$i][$label],$data[$i]);
+
+ $data_element = new PMA_SVG_Data_Point($scale_data[0][$i], $scale_data[1][$i], $data[$i][$label], $data[$i]);
$options = array('color' => $this->_settings['colors'][$index], 'id' => $i);
$this->_dataPoints[] = $data_element;
diff --git a/libraries/svg_plot/pma_svg_data_point.php b/libraries/svg_plot/pma_svg_data_point.php
index ceaa8bc..cc07bff 100644
--- a/libraries/svg_plot/pma_svg_data_point.php
+++ b/libraries/svg_plot/pma_svg_data_point.php
@@ -13,7 +13,7 @@ class PMA_SVG_Data_Point extends PMA_SVG_Data_Element
* X-Coordinate of the point
*/
private $cx;
-
+
/*
* Y-Coordinate of the point
*/
@@ -24,7 +24,7 @@ class PMA_SVG_Data_Point extends PMA_SVG_Data_Element
*/
public function __construct($cx, $cy, $label, $dataRow)
{
- parent::__construct($label,$dataRow);
+ parent::__construct($label, $dataRow);
$this->cx = $cx;
$this->cy = $cy;
}
@@ -50,7 +50,7 @@ class PMA_SVG_Data_Point extends PMA_SVG_Data_Element
'stroke' => $options['color'],
'stroke-width'=> 2,
);
-
+
$row = '<circle cx="' . $this->cx . '" cy="' . $this->cy . '" r=".1"';
foreach ($point_options as $option => $val) {
$row .= ' ' . $option . '="' . trim($val) . '"';
@@ -59,7 +59,7 @@ class PMA_SVG_Data_Point extends PMA_SVG_Data_Element
return $row;
}
-
+
public function getCx()
{
return $this->cx;
diff --git a/libraries/sysinfo.lib.php b/libraries/sysinfo.lib.php
index 96ac0e2..e5f18b7 100644
--- a/libraries/sysinfo.lib.php
+++ b/libraries/sysinfo.lib.php
@@ -14,7 +14,7 @@
*/
function getSysInfo()
{
- $supported = array('Linux','WINNT');
+ $supported = array('Linux', 'WINNT');
$sysinfo = array();
@@ -110,7 +110,7 @@ class Linux
function loadavg() {
$buf = file_get_contents('/proc/stat');
- $nums=preg_split("/\s+/", substr($buf,0,strpos($buf,"\n")));
+ $nums=preg_split("/\s+/", substr($buf, 0, strpos($buf, "\n")));
return Array('busy' => $nums[1]+$nums[2]+$nums[3], 'idle' => intval($nums[4]));
}
diff --git a/navigation.php b/navigation.php
index 26716ac..1db459c 100644
--- a/navigation.php
+++ b/navigation.php
@@ -315,7 +315,7 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
echo '</div>' . "\n";
$common_url_query = PMA_generate_common_url();
- PMA_displayDbList($GLOBALS['pma']->databases->getGroupedDetails($_SESSION['tmp_user_values']['navi_limit_offset'],$GLOBALS['cfg']['MaxDbList']), $_SESSION['tmp_user_values']['navi_limit_offset'],$GLOBALS['cfg']['MaxDbList']);
+ PMA_displayDbList($GLOBALS['pma']->databases->getGroupedDetails($_SESSION['tmp_user_values']['navi_limit_offset'], $GLOBALS['cfg']['MaxDbList']), $_SESSION['tmp_user_values']['navi_limit_offset'], $GLOBALS['cfg']['MaxDbList']);
}
/**
diff --git a/pmd_general.php b/pmd_general.php
index 73c6543..3f59a4c 100644
--- a/pmd_general.php
+++ b/pmd_general.php
@@ -287,17 +287,17 @@ for ($i = 0; $i < count($GLOBALS['PMD']["TABLE_NAME"]); $i++) {
} else {
?>
<img src="<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>pmd/Field_small<?php
- if (strstr($tab_column[$t_n]["TYPE"][$j],'char')
- || strstr($tab_column[$t_n]["TYPE"][$j],'text')) {
+ if (strstr($tab_column[$t_n]["TYPE"][$j], 'char')
+ || strstr($tab_column[$t_n]["TYPE"][$j], 'text')) {
echo '_char';
- } elseif (strstr($tab_column[$t_n]["TYPE"][$j],'int')
- || strstr($tab_column[$t_n]["TYPE"][$j],'float')
- || strstr($tab_column[$t_n]["TYPE"][$j],'double')
- || strstr($tab_column[$t_n]["TYPE"][$j],'decimal')) {
+ } elseif (strstr($tab_column[$t_n]["TYPE"][$j], 'int')
+ || strstr($tab_column[$t_n]["TYPE"][$j], 'float')
+ || strstr($tab_column[$t_n]["TYPE"][$j], 'double')
+ || strstr($tab_column[$t_n]["TYPE"][$j], 'decimal')) {
echo '_int';
- } elseif (strstr($tab_column[$t_n]["TYPE"][$j],'date')
- || strstr($tab_column[$t_n]["TYPE"][$j],'time')
- || strstr($tab_column[$t_n]["TYPE"][$j],'year')) {
+ } elseif (strstr($tab_column[$t_n]["TYPE"][$j], 'date')
+ || strstr($tab_column[$t_n]["TYPE"][$j], 'time')
+ || strstr($tab_column[$t_n]["TYPE"][$j], 'year')) {
echo '_date';
}
?>.png" alt="*" />
diff --git a/pmd_pdf.php b/pmd_pdf.php
index f8102da..95a412b 100644
--- a/pmd_pdf.php
+++ b/pmd_pdf.php
@@ -39,7 +39,7 @@ if (isset($mode)) {
if ('export' == $mode) {
$sql = "REPLACE INTO " . $pma_table . " (db_name, table_name, pdf_page_number, x, y) SELECT db_name, table_name, " . $pdf_page_number_q . ", ROUND(x/" . $scale_q . ") , ROUND(y/" . $scale_q . ") y FROM " . $pmd_table . " WHERE db_name = '" . PMA_sqlAddSlashes($db) . "'";
- PMA_query_as_controluser($sql,true,PMA_DBI_QUERY_STORE);
+ PMA_query_as_controluser($sql, true, PMA_DBI_QUERY_STORE);
}
if ('import' == $mode) {
@@ -101,7 +101,7 @@ if (1 == count($choices)) {
echo $choices['create_export'];
echo '<input type="hidden" name="mode" value="create_export" />';
} else {
- PMA_display_html_radio('mode', $choices, $checked_choice = '', $line_break = true, $escape_label = false, $class='');
+ PMA_display_html_radio('mode', $choices, $checked_choice = '', $line_break = true, $escape_label = false, $class = '');
}
echo '<br />';
echo '<label for="newpage">' . __('New page name: ') . '</label>';
diff --git a/pmd_relation_new.php b/pmd_relation_new.php
index a171658..c0a6ad8 100644
--- a/pmd_relation_new.php
+++ b/pmd_relation_new.php
@@ -24,7 +24,7 @@ if (PMA_foreignkey_supported($type_T1) && PMA_foreignkey_supported($type_T2) &&
$existrel_foreign = PMA_getForeigners($db, $T2, '', 'foreign');
if (isset($existrel_foreign[$F2])
&& isset($existrel_foreign[$F2]['constraint'])) {
- PMD_return_new(0,__('Error: relation already exists.'));
+ PMD_return_new(0, __('Error: relation already exists.'));
}
// note: in InnoDB, the index does not requires to be on a PRIMARY
// or UNIQUE key
@@ -56,8 +56,8 @@ if (PMA_foreignkey_supported($type_T1) && PMA_foreignkey_supported($type_T2) &&
if ($on_update != 'nix') {
$upd_query .= ' ON UPDATE ' . $on_update;
}
- PMA_DBI_try_query($upd_query) or PMD_return_new(0,__('Error: Relation not added.'));
- PMD_return_new(1,__('FOREIGN KEY relation added'));
+ PMA_DBI_try_query($upd_query) or PMD_return_new(0, __('Error: Relation not added.'));
+ PMD_return_new(1, __('FOREIGN KEY relation added'));
}
// internal (pmadb) relation
@@ -78,7 +78,7 @@ if (PMA_foreignkey_supported($type_T1) && PMA_foreignkey_supported($type_T2) &&
. '\'' . PMA_sqlAddSlashes($T1) . '\','
. '\'' . PMA_sqlAddSlashes($F1) . '\')';
- if (PMA_query_as_controluser($q , false, PMA_DBI_QUERY_STORE)) {
+ if (PMA_query_as_controluser($q, false, PMA_DBI_QUERY_STORE)) {
PMD_return_new(1, __('Internal relation added'));
} else {
PMD_return_new(0, __('Error: Relation not added.'));
diff --git a/pmd_relation_upd.php b/pmd_relation_upd.php
index 29bc688..7fd78e4 100644
--- a/pmd_relation_upd.php
+++ b/pmd_relation_upd.php
@@ -13,8 +13,8 @@ extract($_POST, EXTR_SKIP);
extract($_GET, EXTR_SKIP);
$die_save_pos = 0;
require_once 'pmd_save_pos.php';
-list($DB1,$T1) = explode(".",$T1);
-list($DB2,$T2) = explode(".",$T2);
+list($DB1, $T1) = explode(".", $T1);
+list($DB2, $T2) = explode(".", $T2);
$tables = PMA_DBI_get_tables_full($db, $T1);
$type_T1 = strtoupper($tables[$T1]['ENGINE']);
@@ -54,7 +54,7 @@ if ($try_to_delete_internal_relation) {
}
PMD_return_upd(1, __('Relation deleted'));
-function PMD_return_upd($b,$ret)
+function PMD_return_upd($b, $ret)
{
global $K;
header("Content-Type: text/xml; charset=utf-8");
diff --git a/schema_export.php b/schema_export.php
index e566c7c..d67bc85 100644
--- a/schema_export.php
+++ b/schema_export.php
@@ -28,7 +28,7 @@ require_once "./libraries/schema/Export_Relation_Schema.class.php";
* call and include the appropriate Schema Class depending on $export_type
* default is PDF
*/
-global $db,$export_type;
+global $db, $export_type;
if (!isset($export_type) || !preg_match('/^[a-zA-Z]+$/', $export_type)) {
$export_type = 'pdf';
}
@@ -36,7 +36,7 @@ PMA_DBI_select_db($db);
$path = PMA_securePath(ucfirst($export_type));
if (!file_exists('./libraries/schema/' . $path . '_Relation_Schema.class.php')) {
- PMA_Export_Relation_Schema::dieSchema($_POST['chpage'],$export_type,__('File doesn\'t exist'));
+ PMA_Export_Relation_Schema::dieSchema($_POST['chpage'], $export_type, __('File doesn\'t exist'));
}
require "./libraries/schema/".$path."_Relation_Schema.class.php";
$obj_schema = eval("new PMA_".$path."_Relation_Schema();");
diff --git a/server_synchronize.php b/server_synchronize.php
index 8057f89..d4627cf 100644
--- a/server_synchronize.php
+++ b/server_synchronize.php
@@ -587,10 +587,10 @@ if (isset($_REQUEST['Table_ids'])) {
unset($delete_array[$matching_table_structure_diff[$q]]);
}
- PMA_addColumnsInTargetTable($src_db, $trg_db,$src_link, $trg_link,
+ PMA_addColumnsInTargetTable($src_db, $trg_db, $src_link, $trg_link,
$matching_tables, $source_columns, $add_column_array,
$matching_tables_fields, $criteria, $matching_tables_keys,
- $target_tables_keys, $uncommon_tables,$uncommon_tables_fields,
+ $target_tables_keys, $uncommon_tables, $uncommon_tables_fields,
$matching_table_structure_diff[$q], $uncommon_cols, false);
unset($add_column_array[$matching_table_structure_diff[$q]]);
@@ -653,7 +653,7 @@ if (isset($_REQUEST['Table_ids'])) {
unset($delete_array[$matching_table_data_diff[$p]]);
}
- PMA_addColumnsInTargetTable($src_db, $trg_db,$src_link, $trg_link,
+ PMA_addColumnsInTargetTable($src_db, $trg_db, $src_link, $trg_link,
$matching_tables, $source_columns, $add_column_array,
$matching_tables_fields, $criteria, $matching_tables_keys,
$target_tables_keys, $uncommon_tables, $uncommon_tables_fields,
@@ -1113,7 +1113,7 @@ if (isset($_REQUEST['synchronize_db'])) {
$trg_link , $matching_tables_fields, $insert_array, $p,
$matching_tables_keys, $matching_tables_keys, $source_columns,
$add_column_array, $criteria, $target_tables_keys, $uncommon_tables,
- $uncommon_tables_fields,$uncommon_cols, $alter_str_array,$source_indexes,
+ $uncommon_tables_fields, $uncommon_cols, $alter_str_array, $source_indexes,
$target_indexes, $add_indexes_array,
$alter_indexes_array, $delete_array, $update_array, true);
}
diff --git a/server_variables.php b/server_variables.php
index af47f1f..f09706a 100644
--- a/server_variables.php
+++ b/server_variables.php
@@ -45,7 +45,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
$varValue = PMA_DBI_fetch_single_row('SHOW GLOBAL VARIABLES WHERE Variable_name="' . PMA_sqlAddslashes($_REQUEST['varName']) . '";', 'NUM');
if (isset($VARIABLE_DOC_LINKS[$_REQUEST['varName']][3])
&& $VARIABLE_DOC_LINKS[$_REQUEST['varName']][3] == 'byte') {
- exit(implode(' ', PMA_formatByteDown($varValue[1],3,3)));
+ exit(implode(' ', PMA_formatByteDown($varValue[1], 3, 3)));
}
exit($varValue[1]);
break;
@@ -55,7 +55,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
if (isset($VARIABLE_DOC_LINKS[$_REQUEST['varName']][3])
&& $VARIABLE_DOC_LINKS[$_REQUEST['varName']][3] == 'byte'
- && preg_match('/^\s*(\d+(\.\d+)?)\s*(mb|kb|mib|kib|gb|gib)\s*$/i',$value,$matches)) {
+ && preg_match('/^\s*(\d+(\.\d+)?)\s*(mb|kb|mib|kib|gb|gib)\s*$/i', $value, $matches)) {
$exp = array('kb' => 1, 'kib' => 1, 'mb' => 2, 'mib' => 2, 'gb' => 3, 'gib' => 3);
$value = floatval($matches[1]) * pow(1024, $exp[strtolower($matches[3])]);
} else {
@@ -97,7 +97,7 @@ require './libraries/server_links.inc.php';
echo '<h2>' . "\n"
. ($cfg['MainPageIconic'] ? '<img class="icon ic_s_vars" src="themes/dot.gif" alt="" />' : '')
. '' . __('Server variables and settings') . "\n"
- . PMA_showMySQLDocu('server_system_variables','server_system_variables')
+ . PMA_showMySQLDocu('server_system_variables', 'server_system_variables')
. '</h2>' . "\n";
/**
@@ -138,7 +138,7 @@ foreach ($serverVars as $name => $value) {
?>
<tr class="<?php echo $row_class; ?>">
<th nowrap="nowrap"><?php echo htmlspecialchars(str_replace('_', ' ', $name)); ?></th>
- <td class="value"><?php echo formatVariable($name,$value); ?></td>
+ <td class="value"><?php echo formatVariable($name, $value); ?></td>
<td class="value"><?php
// To display variable documentation link
if (isset($VARIABLE_DOC_LINKS[$name]))
@@ -150,7 +150,7 @@ foreach ($serverVars as $name => $value) {
</tr>
<tr class="<?php echo $odd_row ? 'odd' : 'even'; ?> ">
<td>(<?php echo __('Session value'); ?>)</td>
- <td class="value"><?php echo formatVariable($name,$serverVarsSession[$name]); ?></td>
+ <td class="value"><?php echo formatVariable($name, $serverVarsSession[$name]); ?></td>
<td class="value"></td>
<?php } ?>
</tr>
@@ -162,13 +162,13 @@ foreach ($serverVars as $name => $value) {
</table>
<?php
-function formatVariable($name,$value)
+function formatVariable($name, $value)
{
global $VARIABLE_DOC_LINKS;
if (is_numeric($value)) {
if (isset($VARIABLE_DOC_LINKS[$name][3]) && $VARIABLE_DOC_LINKS[$name][3]=='byte')
- return '<abbr title="'.PMA_formatNumber($value, 0).'">'.implode(' ',PMA_formatByteDown($value,3,3)).'</abbr>';
+ return '<abbr title="'.PMA_formatNumber($value, 0).'">'.implode(' ', PMA_formatByteDown($value, 3, 3)).'</abbr>';
else return PMA_formatNumber($value, 0);
}
return htmlspecialchars($value);
di return htmlspecialchars($value); value, 0); r($value, 0).'">'.implode(' ', PMA_formatByteDown($value, 3, 3)).'</abbr>'; T['varName']) . '";', 'NUM'); . $scale_q . ") , ROUND(y/" . $scale_q . ") y FROM " . $pmd_table . " WHERE db_name = '" . PMA_sqlAddSlashes($db) . "'"; � �! �! pz�� �z�� x���* �p�� ���* �0��* pz�� `��* �z�� ��e��* u��* �e��* ��e��* ��e��* �:��* x���* �p�� �o�� k0��* �! �! pz�� �z�� H���* �q�� ���* �0��* pz�� `��* �z�� �z�� �z�� 8;��* �p� �z�� u��* �:��* �q�� �p�� k0��* G H I J K M N O P pz�� �z�� He���* Ps�� ���* �0��* pz�� 0�e��* u��* ���* �����* �e��* ��e��* ��e��* �:��* He���* Ps�� �q�� k0��* 8e���* Ps�� �q�� k0��* (e���* Ps�� �q�� k0��* e���* Ps�� r�� k0��* ��e��* u��* ��e��* �l�� �蕷�* e��* ��e��* �r�� y蕷�* e��* �e��* �r�� Z蕷�* e��* ؔ���* ���* �����* �e��* ����* ��e��* ��e��* �:��* 8;��* ]a��* �z�� p+���* �t�� ps�� k0��* 5 6 7 8 : <