Git
Threads by month
- ----- 2026 -----
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- 9 participants
- 39110 discussions
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11390-gca92366
by Michal Čihař 21 Jul '11
by Michal Čihař 21 Jul '11
21 Jul '11
The branch, master has been updated
via ca92366d91e8f3336aee09285a806673ee3ae1a2 (commit)
via 1287fda3c036020f56a7745c46051058d0583875 (commit)
via 6c69c5d6122883c292d7877005e0b7099a3d0b70 (commit)
via 8458c4e5d6b965d1a4f19bd9e0f9364fbb417d7e (commit)
via eb915117075d94a473186c17fc4d9bd16c2befc2 (commit)
via b5f36ece64338060b9f937e518b9b90604a81bb9 (commit)
via 8aeee24a6fc67d3dcf63a18354bafecc4fbf1b56 (commit)
via 0eef13499f953e6b2bce9f131681f0625e7758ea (commit)
via 62481122fa213d5417b0923bdb6238a926b097bf (commit)
via f71f05d2ee44bbf756b6c462156e1b35a7078d88 (commit)
via aa42f9e157e3edb46bd2c7b3fd0ac290ba09bb36 (commit)
via 03cd1d3719141e7769559bc0607de21707ebdf9e (commit)
via 791cf6089371abe6acb8f96d6cb2c57b7f1bfff4 (commit)
via 07582eea42a62acfc5ef1425157336932529cb94 (commit)
via db4cac61e01c2c09cec4f3d284b4736bbd06007a (commit)
via fc8901f997609200de946445f4a0ee58eaedb8ef (commit)
via c9f47dbb1627d3a889966ddda4cbe0718ca4219a (commit)
via 7a376adfb9e272ddcba05b27a7ec4fec31d55485 (commit)
via 6774a7f4153a875ad59ed5aa77b243ca745e1ac2 (commit)
via d194e9e250589bc15cf53e01985cc0aa7b35114f (commit)
from 5187db73438c3795e9036ddb03ed9dbc18b8151d (commit)
- Log -----------------------------------------------------------------
commit ca92366d91e8f3336aee09285a806673ee3ae1a2
Merge: 5187db73438c3795e9036ddb03ed9dbc18b8151d 1287fda3c036020f56a7745c46051058d0583875
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:40:09 2011 +0200
Merge remote-tracking branch 'pootle/master'
commit 1287fda3c036020f56a7745c46051058d0583875
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:39:07 2011 +0200
Translation update done using Pootle.
commit 6c69c5d6122883c292d7877005e0b7099a3d0b70
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:38:49 2011 +0200
Translation update done using Pootle.
commit 8458c4e5d6b965d1a4f19bd9e0f9364fbb417d7e
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:37:56 2011 +0200
Translation update done using Pootle.
commit eb915117075d94a473186c17fc4d9bd16c2befc2
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:36:33 2011 +0200
Translation update done using Pootle.
commit b5f36ece64338060b9f937e518b9b90604a81bb9
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:36:27 2011 +0200
Translation update done using Pootle.
commit 8aeee24a6fc67d3dcf63a18354bafecc4fbf1b56
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:36:13 2011 +0200
Translation update done using Pootle.
commit 0eef13499f953e6b2bce9f131681f0625e7758ea
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:32:59 2011 +0200
Translation update done using Pootle.
commit 62481122fa213d5417b0923bdb6238a926b097bf
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:32:24 2011 +0200
Translation update done using Pootle.
commit f71f05d2ee44bbf756b6c462156e1b35a7078d88
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:32:18 2011 +0200
Translation update done using Pootle.
commit aa42f9e157e3edb46bd2c7b3fd0ac290ba09bb36
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:31:51 2011 +0200
Translation update done using Pootle.
commit 03cd1d3719141e7769559bc0607de21707ebdf9e
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:31:29 2011 +0200
Translation update done using Pootle.
commit 791cf6089371abe6acb8f96d6cb2c57b7f1bfff4
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:31:16 2011 +0200
Translation update done using Pootle.
commit 07582eea42a62acfc5ef1425157336932529cb94
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:30:56 2011 +0200
Translation update done using Pootle.
commit db4cac61e01c2c09cec4f3d284b4736bbd06007a
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:30:45 2011 +0200
Translation update done using Pootle.
commit fc8901f997609200de946445f4a0ee58eaedb8ef
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:29:14 2011 +0200
Translation update done using Pootle.
commit c9f47dbb1627d3a889966ddda4cbe0718ca4219a
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:28:42 2011 +0200
Translation update done using Pootle.
commit 7a376adfb9e272ddcba05b27a7ec4fec31d55485
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:28:36 2011 +0200
Translation update done using Pootle.
commit 6774a7f4153a875ad59ed5aa77b243ca745e1ac2
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:28:10 2011 +0200
Translation update done using Pootle.
commit d194e9e250589bc15cf53e01985cc0aa7b35114f
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:27:56 2011 +0200
Translation update done using Pootle.
-----------------------------------------------------------------------
Summary of changes:
po/it.po | 52 ++++++++++++++++++++++++++++------------------------
1 files changed, 28 insertions(+), 24 deletions(-)
diff --git a/po/it.po b/po/it.po
index 5b91285..99536a7 100644
--- a/po/it.po
+++ b/po/it.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-07-21 14:00+0200\n"
-"PO-Revision-Date: 2011-07-21 16:26+0200\n"
+"PO-Revision-Date: 2011-07-21 16:39+0200\n"
"Last-Translator: Rouslan Placella <rouslan(a)placella.com>\n"
"Language-Team: italian <it(a)li.org>\n"
"Language: it\n"
@@ -1268,97 +1268,102 @@ msgid ""
"Following settings will be applied globally and reset to default on server "
"restart:"
msgstr ""
+"Le seguenti impostazioni verranno applicate globalmente e reimpostate ai "
+"valori predefiniti durante il riavvio del server:"
#. l10n: %s is FILE or TABLE
#: js/messages.php:124
-#, fuzzy, php-format
+#, php-format
#| msgid "Save output to a file"
msgid "Set log_output to %s"
-msgstr "Salva l'output in un file"
+msgstr "Imposta log_output a %s"
#. l10n: Enable in this context means setting a status variable to ON
#: js/messages.php:126
-#, fuzzy, php-format
+#, php-format
#| msgid "Enabled"
msgid "Enable %s"
-msgstr "Abilitata"
+msgstr "Abilita %s"
#. l10n: Disable in this context means setting a status variable to OFF
#: js/messages.php:128
-#, fuzzy, php-format
+#, php-format
#| msgid "Disabled"
msgid "Disable %s"
-msgstr "Disabilitata"
+msgstr "Disabilita %s"
#. l10n: %d seconds
#: js/messages.php:130
#, php-format
msgid "Set long_query_time to %ds"
-msgstr ""
+msgstr "Imposta long_query_time a %ds"
#: js/messages.php:131
msgid ""
"You can't change these variables. Please log in as root or contact your "
"database administrator."
msgstr ""
+"Non puoi cambiare i valori di queste variabili. Prega effettua il login come "
+"root o contatta l'amministratore del database."
#: js/messages.php:132
-#, fuzzy
#| msgid "Manage your settings"
msgid "Change settings"
-msgstr "Gestisci le tue impostazioni"
+msgstr "Modifica impostazioni"
#: js/messages.php:133
-#, fuzzy
#| msgid "More settings"
msgid "Current settings"
-msgstr "Ulteriori impostazioni"
+msgstr "Impostazioni attuali"
#: js/messages.php:135 server_status.php:1358
-#, fuzzy
#| msgid "Report title:"
msgid "Chart Title"
-msgstr "Titolo del report:"
+msgstr "Titolo del diagramma"
#. l10n: As in differential values
#: js/messages.php:137
-#, fuzzy
#| msgid "Difference"
msgid "Differential"
-msgstr "Differenza"
+msgstr "Differenziali"
#: js/messages.php:138
#, php-format
msgid "Divided by %s:"
-msgstr ""
+msgstr "Diviso per %s:"
#: js/messages.php:140
-#, fuzzy
#| msgid "Select page"
msgid "Selected time range:"
-msgstr "Seleziona pagina"
+msgstr "Intervallo di tempo selezionato:"
#: js/messages.php:141
msgid "Group together INSERTs into same table"
msgstr ""
#: js/messages.php:142
+#, fuzzy
msgid ""
"<p>Choose from which log you want the statistics to be generated from.</p> "
"Results are grouped by query text."
msgstr ""
+"<p>Scegli il log dal quale generare le statistiche.</p> Results are grouped "
+"by query text."
#: js/messages.php:143
msgid "From slow log"
-msgstr ""
+msgstr "Dal slow log"
#: js/messages.php:144
msgid "From general log"
-msgstr ""
+msgstr "Dal general log"
#: js/messages.php:145
+#, fuzzy
msgid "Analysing & loading logs. This may take a while."
msgstr ""
+"L'analisi e il caricamento dei log in corso. Questa operazione potrebbe "
+"richiedere del tempo."
#: js/messages.php:146
msgid ""
@@ -1376,13 +1381,12 @@ msgstr ""
#: js/messages.php:148
msgid "Log data loaded. Queries executed in this time span:"
-msgstr ""
+msgstr "Dati di log caricati. Le query eseguite in questo intervallo di tempo:"
#: js/messages.php:150
-#, fuzzy
#| msgid "Jump to database"
msgid "Jump to Log table"
-msgstr "Vai al database"
+msgstr "Vai alla tabella di Log"
#: js/messages.php:151
msgid "Log analysed, but not data found in this time span."
hooks/post-receive
--
phpMyAdmin
1
0
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11370-g5187db7
by Michal Čihař 21 Jul '11
by Michal Čihař 21 Jul '11
21 Jul '11
The branch, master has been updated
via 5187db73438c3795e9036ddb03ed9dbc18b8151d (commit)
via 8a3aa86f36df4994c8193f74c019427200a2b873 (commit)
from 82453acc8f4200b66bd4b915cf2064a2f912c0de (commit)
- Log -----------------------------------------------------------------
commit 5187db73438c3795e9036ddb03ed9dbc18b8151d
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:37:32 2011 +0200
The themes path is no longer used here
commit 8a3aa86f36df4994c8193f74c019427200a2b873
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:37:06 2011 +0200
The themes path is no longer used here
-----------------------------------------------------------------------
Summary of changes:
test/libraries/common/PMA_getIcon_test.php | 17 ++++-------------
test/libraries/common/PMA_showDocu_test.php | 7 +------
test/libraries/common/PMA_showPHPDocu_test.php | 3 +--
3 files changed, 6 insertions(+), 21 deletions(-)
diff --git a/test/libraries/common/PMA_getIcon_test.php b/test/libraries/common/PMA_getIcon_test.php
index b64ef53..1feba0c 100644
--- a/test/libraries/common/PMA_getIcon_test.php
+++ b/test/libraries/common/PMA_getIcon_test.php
@@ -18,7 +18,6 @@ class PMA_getIcon_test extends PHPUnit_Framework_TestCase{
function testGetIconWithoutPropertiesIconic(){
$GLOBALS['cfg']['PropertiesIconic'] = false;
- $GLOBALS['pmaThemeImage'] = 'theme/';
$this->assertEquals('<span class="nowrap"></span>',
PMA_getIcon('b_comment.png') );
@@ -27,21 +26,17 @@ class PMA_getIcon_test extends PHPUnit_Framework_TestCase{
function testGetIconWithPropertiesIconic(){
$GLOBALS['cfg']['PropertiesIconic'] = true;
- $GLOBALS['pmaThemeImage'] = 'theme/';
- $this->assertEquals('<span class="nowrap"><img src="'.$GLOBALS['pmaThemeImage']
- . 'dot.gif" title="" alt="" class="icon ic_b_comment" /></span>',
+ $this->assertEquals('<span class="nowrap"><img src="themes/dot.gif" title="" alt="" class="icon ic_b_comment" /></span>',
PMA_getIcon('b_comment.png') );
}
function testGetIconAlternate(){
$GLOBALS['cfg']['PropertiesIconic'] = true;
- $GLOBALS['pmaThemeImage'] = 'theme/';
$alternate_text = 'alt_str';
- $this->assertEquals('<span class="nowrap"><img src="'.$GLOBALS['pmaThemeImage']
- .'dot.gif" title="' . $alternate_text . '" alt="' . $alternate_text
+ $this->assertEquals('<span class="nowrap"><img src="themes/dot.gif" title="' . $alternate_text . '" alt="' . $alternate_text
. '" class="icon ic_b_comment" /></span>',
PMA_getIcon('b_comment.png',$alternate_text) );
}
@@ -49,11 +44,9 @@ class PMA_getIcon_test extends PHPUnit_Framework_TestCase{
function testGetIconWithContainer(){
$GLOBALS['cfg']['PropertiesIconic'] = true;
- $GLOBALS['pmaThemeImage'] = 'theme/';
$alternate_text = 'alt_str';
- $this->assertEquals('<span class="nowrap"><img src="'.$GLOBALS['pmaThemeImage']
- .'dot.gif" title="' . $alternate_text . '" alt="' . $alternate_text
+ $this->assertEquals('<span class="nowrap"><img src="themes/dot.gif" title="' . $alternate_text . '" alt="' . $alternate_text
. '" class="icon ic_b_comment" /></span>',
PMA_getIcon('b_comment.png',$alternate_text, true) );
@@ -62,11 +55,9 @@ class PMA_getIcon_test extends PHPUnit_Framework_TestCase{
function testGetIconWithContainerAndForceText(){
$GLOBALS['cfg']['PropertiesIconic'] = true;
- $GLOBALS['pmaThemeImage'] = 'theme/';
$alternate_text = 'alt_str';
- $this->assertEquals('<span class="nowrap"><img src="'.$GLOBALS['pmaThemeImage']
- .'dot.gif" title="' . $alternate_text . '" alt="' . $alternate_text
+ $this->assertEquals('<span class="nowrap"><img src="themes/dot.gif" title="' . $alternate_text . '" alt="' . $alternate_text
. '" class="icon ic_b_comment" /> ' . $alternate_text . '</span>',
PMA_getIcon('b_comment.png',$alternate_text, true, true) );
diff --git a/test/libraries/common/PMA_showDocu_test.php b/test/libraries/common/PMA_showDocu_test.php
index edf7c46..9941c15 100644
--- a/test/libraries/common/PMA_showDocu_test.php
+++ b/test/libraries/common/PMA_showDocu_test.php
@@ -15,17 +15,12 @@ require_once 'libraries/common.lib.php';
class PMA_showDocu_test extends PHPUnit_Framework_TestCase
{
- function setup()
- {
- $GLOBALS['pmaThemeImage'] = 'theme/';
- }
-
function testShowDocuReplaceHelpImg()
{
$GLOBALS['cfg']['ReplaceHelpImg'] = true;
$anchor = "relation";
- $expected = '<a href="Documentation.html#' . $anchor . '" target="documentation"><img class="icon ic_b_help_s" src="' . $GLOBALS['pmaThemeImage'] . 'dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
+ $expected = '<a href="Documentation.html#' . $anchor . '" target="documentation"><img class="icon ic_b_help_s" src="themes/dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
$this->assertEquals($expected, PMA_showDocu($anchor));
diff --git a/test/libraries/common/PMA_showPHPDocu_test.php b/test/libraries/common/PMA_showPHPDocu_test.php
index d47269d..a66601d 100644
--- a/test/libraries/common/PMA_showPHPDocu_test.php
+++ b/test/libraries/common/PMA_showPHPDocu_test.php
@@ -21,8 +21,7 @@ class PMA_showPHPDocu_test extends PHPUnit_Framework_TestCase
$target = "docu";
$lang = _pgettext('PHP documentation language', 'en');
- $expected = '<a href="http://php.net/manual/' . $lang . '/' . $target . '" target="documentation"><img class="icon ic_b_help_s" src="'
- . $GLOBALS['pmaThemeImage'] . 'dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
+ $expected = '<a href="http://php.net/manual/' . $lang . '/' . $target . '" target="documentation"><img class="icon ic_b_help_s" src="themes/dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
$this->assertEquals($expected, PMA_showPHPDocu($target));
}
hooks/post-receive
--
phpMyAdmin
1
0
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11368-g82453ac
by Michal Čihař 21 Jul '11
by Michal Čihař 21 Jul '11
21 Jul '11
The branch, master has been updated
via 82453acc8f4200b66bd4b915cf2064a2f912c0de (commit)
via 675c952caeb173001d06a7cf5602915c49a60adf (commit)
via e8de184523503d8fa7bfd786e05d819e3903b561 (commit)
via d1a1f7183fdf05e501e5e09db8facc6da6992db3 (commit)
via 42bbb00159beeb75006e855fe59ccd6550df71f7 (commit)
via bc3d890e41e07cca8c9208b72fca46fe30fdcf77 (commit)
via d6171121955610713e11735ae3028b3b489eb756 (commit)
via 7895632a2dd23ff8bb19073f0c9b49570d519da2 (commit)
via a850b8ba0787bf23b7c50fa9464b8a28c6fc8429 (commit)
via 8df1307655a7c84e098aedfca10f62967353f19c (commit)
via 8d8789d524a6e2cb95dade1eca3da37de89595e8 (commit)
via f98120c0ebe03c1fdafdd809e5b1ef22cb428430 (commit)
via 2806dc389fdbb07a188dcafde49ca098b50ec532 (commit)
via 796b5d09bfe8705db525734b2b210c0bf1482f80 (commit)
via 93522c1f63059e7061a73b5c8ecedd65cb5b3a40 (commit)
via 8e6ddc9ec5edad900a2ac5f160784507ad05703d (commit)
via 0cc102f6a5b061cb81e8dc1f62c4091de1579f1a (commit)
via e5fc8cc294cb1325507ab94e4db6670867e4da4a (commit)
via 985259f64d1f216fc6d0849d4ff548bcc31ded32 (commit)
via 08267ff07866351092e5fe6fed18a0aa9c77919f (commit)
via 14b500a51172d795e8b94a5a327ea075beda601a (commit)
via 9441d6f0d065fa9a1760fb369ab6f8e937941054 (commit)
via 454888a7fe21ed3c3545477e2d2e8c15d6ce6e97 (commit)
via 55363bd9ce9b0e6f921aade84bef9b1b99db24cc (commit)
via 8285d5d7214145ae3fc9f0ab7f336dfe3356e9a3 (commit)
via 23660283b26788bcd00c43ef3e01c8e2ee82d764 (commit)
via ccdc0866f3c54ce43c61fa8d1f45807ef498c1e9 (commit)
via b4359ca01c82afbd6fa173cedf88800c69a42b7d (commit)
via 20f9ae873cd939e7ff28c1034f2d907fd7df7ec8 (commit)
via 3bd76030c8525156786c7142ed03746dfdb01b67 (commit)
via 69e48bea825ff67bbf8cb0c311b372e377cab6b0 (commit)
via 677e6f5171020db24cd523c67e5ead57312bca38 (commit)
via 7fd39dfbda6c25807a5c0d20d0366ecd6ea72613 (commit)
via 4cad2ec539ac2fd8527d76940ae240e8bc38bcbf (commit)
via f012e91abd2f825dea11679acc9788878588886a (commit)
via 62533d5b60d47bab8e28d3462f409bf35ede0928 (commit)
via a98ad2e977c67988cc7a422e545360617c1f88c0 (commit)
via a5755f152b5bfa8f6f4f4c38aa07c8d2bebefa5f (commit)
via 15471b5b59ababe7c1ce4f5b9265de85ecdad292 (commit)
via 4c9791e3a78e562f95bf8bdc47232ebbda421e07 (commit)
via 60f3955a9efc09ed6766e2acf225a48a54d66019 (commit)
via 0200c20dec8a73a1a71a8c276a4ebe555dcd1280 (commit)
via e24ea7bdef274e3c718518676f175bc25b5ac960 (commit)
via 238d159a5f0b51d50c51bdaa72519f6a11247073 (commit)
via b3f63436715c52ac20057c8f6d0296dd73d5f66b (commit)
via e60da95bf7349e2d3b1570dcb76eb1297b52ac3e (commit)
via 5f1bd93a71251d8f6c6921004ef7ead9b2eaecc7 (commit)
via 68797d5c2f16c1502c5ee3f42446f69cf6dca749 (commit)
via f0a89b9b143ef375bd20d5a2bbfa089cc3233328 (commit)
via e38b224deb9d92287691f1074de84f03e9ba2c75 (commit)
via d5fa4f12c7140099f376458293e9522de8098834 (commit)
via 13b6fa48cdd28dbe36656672ca1b15b3670871ac (commit)
via 99d062bee42c91e879a8f7573d320c8b212c5877 (commit)
via 82c97cbaaa5bcf2a358fdbab01f4ecf697f3da01 (commit)
via 3d0c48c774a8eef82ffd107b2c4949a1e0c53733 (commit)
via a09553cfcef35cb34acf3417c31f80ca2ca7bcfc (commit)
via f5ed5e2eb6fce434cff91379a38f26df43619b4e (commit)
via 1b46292315348cca23084b055f9bd734a9531fa9 (commit)
via 18a294b1f00af384d785f0f3f68c1aaf3b6bcd22 (commit)
via cd3fb5c786ed289daea546be54a0f3112ae98044 (commit)
via b78bb5e4e332bd436f9945f5a3fe618fbae7da43 (commit)
via 5d206e9459472ddcb836a6eed1d76a58b112a598 (commit)
via 37194c014a0a87b06653d7e2826751a37c74c73a (commit)
via 7eeb5ebd2ac876f002c56ca6eb9aed9fca996786 (commit)
via ba3f84c7524fdb867516a45d0e35f5c82208414b (commit)
via a2159086d9cd610902f97c1d492bdbf584eb6670 (commit)
via 39de34778e4cd58ac7fb33c97bc56efe3f4a0fa9 (commit)
via ad5173bcd9c08cc1d4c4ee791d1913b021170850 (commit)
via 529298f2dc491c96d0dd513e42684f8aaca76935 (commit)
via 3b5061f91c216bd07a592cc687d6b008dfb976f7 (commit)
via 5364dfa8e716e11724b9946afc6da273317b54f6 (commit)
from e490bdd2627b5d227de7ceae9e86c27083ddc4ed (commit)
- Log -----------------------------------------------------------------
commit 82453acc8f4200b66bd4b915cf2064a2f912c0de
Merge: e490bdd2627b5d227de7ceae9e86c27083ddc4ed 675c952caeb173001d06a7cf5602915c49a60adf
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:27:47 2011 +0200
Merge remote-tracking branch 'pootle/master'
commit 675c952caeb173001d06a7cf5602915c49a60adf
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:26:19 2011 +0200
Translation update done using Pootle.
commit e8de184523503d8fa7bfd786e05d819e3903b561
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:25:59 2011 +0200
Translation update done using Pootle.
commit d1a1f7183fdf05e501e5e09db8facc6da6992db3
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:25:47 2011 +0200
Translation update done using Pootle.
commit 42bbb00159beeb75006e855fe59ccd6550df71f7
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:23:47 2011 +0200
Translation update done using Pootle.
commit bc3d890e41e07cca8c9208b72fca46fe30fdcf77
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:22:55 2011 +0200
Translation update done using Pootle.
commit d6171121955610713e11735ae3028b3b489eb756
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:22:35 2011 +0200
Translation update done using Pootle.
commit 7895632a2dd23ff8bb19073f0c9b49570d519da2
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:22:17 2011 +0200
Translation update done using Pootle.
commit a850b8ba0787bf23b7c50fa9464b8a28c6fc8429
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:22:06 2011 +0200
Translation update done using Pootle.
commit 8df1307655a7c84e098aedfca10f62967353f19c
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:21:56 2011 +0200
Translation update done using Pootle.
commit 8d8789d524a6e2cb95dade1eca3da37de89595e8
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:21:33 2011 +0200
Translation update done using Pootle.
commit f98120c0ebe03c1fdafdd809e5b1ef22cb428430
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:21:03 2011 +0200
Translation update done using Pootle.
commit 2806dc389fdbb07a188dcafde49ca098b50ec532
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:20:07 2011 +0200
Translation update done using Pootle.
commit 796b5d09bfe8705db525734b2b210c0bf1482f80
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:19:38 2011 +0200
Translation update done using Pootle.
commit 93522c1f63059e7061a73b5c8ecedd65cb5b3a40
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:19:19 2011 +0200
Translation update done using Pootle.
commit 8e6ddc9ec5edad900a2ac5f160784507ad05703d
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:18:40 2011 +0200
Translation update done using Pootle.
commit 0cc102f6a5b061cb81e8dc1f62c4091de1579f1a
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:18:20 2011 +0200
Translation update done using Pootle.
commit e5fc8cc294cb1325507ab94e4db6670867e4da4a
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:18:10 2011 +0200
Translation update done using Pootle.
commit 985259f64d1f216fc6d0849d4ff548bcc31ded32
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:17:38 2011 +0200
Translation update done using Pootle.
commit 08267ff07866351092e5fe6fed18a0aa9c77919f
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:17:23 2011 +0200
Translation update done using Pootle.
commit 14b500a51172d795e8b94a5a327ea075beda601a
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:17:17 2011 +0200
Translation update done using Pootle.
commit 9441d6f0d065fa9a1760fb369ab6f8e937941054
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:16:53 2011 +0200
Translation update done using Pootle.
commit 454888a7fe21ed3c3545477e2d2e8c15d6ce6e97
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:16:13 2011 +0200
Translation update done using Pootle.
commit 55363bd9ce9b0e6f921aade84bef9b1b99db24cc
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:15:36 2011 +0200
Translation update done using Pootle.
commit 8285d5d7214145ae3fc9f0ab7f336dfe3356e9a3
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:15:15 2011 +0200
Translation update done using Pootle.
commit 23660283b26788bcd00c43ef3e01c8e2ee82d764
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:15:06 2011 +0200
Translation update done using Pootle.
commit ccdc0866f3c54ce43c61fa8d1f45807ef498c1e9
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:15:04 2011 +0200
Translation update done using Pootle.
commit b4359ca01c82afbd6fa173cedf88800c69a42b7d
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:14:40 2011 +0200
Translation update done using Pootle.
commit 20f9ae873cd939e7ff28c1034f2d907fd7df7ec8
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:14:25 2011 +0200
Translation update done using Pootle.
commit 3bd76030c8525156786c7142ed03746dfdb01b67
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:14:23 2011 +0200
Translation update done using Pootle.
commit 69e48bea825ff67bbf8cb0c311b372e377cab6b0
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:14:10 2011 +0200
Translation update done using Pootle.
commit 677e6f5171020db24cd523c67e5ead57312bca38
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:13:17 2011 +0200
Translation update done using Pootle.
commit 7fd39dfbda6c25807a5c0d20d0366ecd6ea72613
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:13:03 2011 +0200
Translation update done using Pootle.
commit 4cad2ec539ac2fd8527d76940ae240e8bc38bcbf
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:12:57 2011 +0200
Translation update done using Pootle.
commit f012e91abd2f825dea11679acc9788878588886a
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:12:50 2011 +0200
Translation update done using Pootle.
commit 62533d5b60d47bab8e28d3462f409bf35ede0928
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:12:28 2011 +0200
Translation update done using Pootle.
commit a98ad2e977c67988cc7a422e545360617c1f88c0
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:12:27 2011 +0200
Translation update done using Pootle.
commit a5755f152b5bfa8f6f4f4c38aa07c8d2bebefa5f
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:12:08 2011 +0200
Translation update done using Pootle.
commit 15471b5b59ababe7c1ce4f5b9265de85ecdad292
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:12:01 2011 +0200
Translation update done using Pootle.
commit 4c9791e3a78e562f95bf8bdc47232ebbda421e07
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:11:52 2011 +0200
Translation update done using Pootle.
commit 60f3955a9efc09ed6766e2acf225a48a54d66019
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:11:41 2011 +0200
Translation update done using Pootle.
commit 0200c20dec8a73a1a71a8c276a4ebe555dcd1280
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:11:00 2011 +0200
Translation update done using Pootle.
commit e24ea7bdef274e3c718518676f175bc25b5ac960
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:10:45 2011 +0200
Translation update done using Pootle.
commit 238d159a5f0b51d50c51bdaa72519f6a11247073
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:10:32 2011 +0200
Translation update done using Pootle.
commit b3f63436715c52ac20057c8f6d0296dd73d5f66b
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Thu Jul 21 16:10:20 2011 +0200
Translation update done using Pootle.
commit e60da95bf7349e2d3b1570dcb76eb1297b52ac3e
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:07:36 2011 +0200
Translation update done using Pootle.
commit 5f1bd93a71251d8f6c6921004ef7ead9b2eaecc7
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:07:00 2011 +0200
Translation update done using Pootle.
commit 68797d5c2f16c1502c5ee3f42446f69cf6dca749
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:06:26 2011 +0200
Translation update done using Pootle.
commit f0a89b9b143ef375bd20d5a2bbfa089cc3233328
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:05:33 2011 +0200
Translation update done using Pootle.
commit e38b224deb9d92287691f1074de84f03e9ba2c75
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:05:18 2011 +0200
Translation update done using Pootle.
commit d5fa4f12c7140099f376458293e9522de8098834
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:04:55 2011 +0200
Translation update done using Pootle.
commit 13b6fa48cdd28dbe36656672ca1b15b3670871ac
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:02:52 2011 +0200
Translation update done using Pootle.
commit 99d062bee42c91e879a8f7573d320c8b212c5877
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:01:09 2011 +0200
Translation update done using Pootle.
commit 82c97cbaaa5bcf2a358fdbab01f4ecf697f3da01
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 16:00:25 2011 +0200
Translation update done using Pootle.
commit 3d0c48c774a8eef82ffd107b2c4949a1e0c53733
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:58:56 2011 +0200
Translation update done using Pootle.
commit a09553cfcef35cb34acf3417c31f80ca2ca7bcfc
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:57:20 2011 +0200
Translation update done using Pootle.
commit f5ed5e2eb6fce434cff91379a38f26df43619b4e
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:57:01 2011 +0200
Translation update done using Pootle.
commit 1b46292315348cca23084b055f9bd734a9531fa9
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:56:34 2011 +0200
Translation update done using Pootle.
commit 18a294b1f00af384d785f0f3f68c1aaf3b6bcd22
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:55:56 2011 +0200
Translation update done using Pootle.
commit cd3fb5c786ed289daea546be54a0f3112ae98044
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:51:18 2011 +0200
Translation update done using Pootle.
commit b78bb5e4e332bd436f9945f5a3fe618fbae7da43
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:49:52 2011 +0200
Translation update done using Pootle.
commit 5d206e9459472ddcb836a6eed1d76a58b112a598
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:49:19 2011 +0200
Translation update done using Pootle.
commit 37194c014a0a87b06653d7e2826751a37c74c73a
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:47:41 2011 +0200
Translation update done using Pootle.
commit 7eeb5ebd2ac876f002c56ca6eb9aed9fca996786
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:46:33 2011 +0200
Translation update done using Pootle.
commit ba3f84c7524fdb867516a45d0e35f5c82208414b
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:45:50 2011 +0200
Translation update done using Pootle.
commit a2159086d9cd610902f97c1d492bdbf584eb6670
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:43:04 2011 +0200
Translation update done using Pootle.
commit 39de34778e4cd58ac7fb33c97bc56efe3f4a0fa9
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:42:50 2011 +0200
Translation update done using Pootle.
commit ad5173bcd9c08cc1d4c4ee791d1913b021170850
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:42:24 2011 +0200
Translation update done using Pootle.
commit 529298f2dc491c96d0dd513e42684f8aaca76935
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:41:56 2011 +0200
Translation update done using Pootle.
commit 3b5061f91c216bd07a592cc687d6b008dfb976f7
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:41:42 2011 +0200
Translation update done using Pootle.
commit 5364dfa8e716e11724b9946afc6da273317b54f6
Author: teunome <teunome(a)gmail.com>
Date: Thu Jul 21 15:40:14 2011 +0200
Translation update done using Pootle.
-----------------------------------------------------------------------
Summary of changes:
po/it.po | 82 ++++++++++++++++++++++++++++-------------------------------
po/pt_BR.po | 63 ++++++++++++++++++++++++++------------------
2 files changed, 76 insertions(+), 69 deletions(-)
diff --git a/po/it.po b/po/it.po
index 5f546b8..5b91285 100644
--- a/po/it.po
+++ b/po/it.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-07-21 14:00+0200\n"
-"PO-Revision-Date: 2011-07-13 13:55+0200\n"
+"PO-Revision-Date: 2011-07-21 16:26+0200\n"
"Last-Translator: Rouslan Placella <rouslan(a)placella.com>\n"
"Language-Team: italian <it(a)li.org>\n"
"Language: it\n"
@@ -573,10 +573,9 @@ msgid "Search in database"
msgstr "Cerca nel database"
#: db_search.php:275
-#, fuzzy
#| msgid "Word(s) or value(s) to search for (wildcard: \"%\"):"
msgid "Words or values to search for (wildcard: \"%\"):"
-msgstr "Parola/e o valore/i da cercare (carattere jolly: \"%\"):"
+msgstr "Parole o valori da cercare (carattere jolly: \"%\"):"
#: db_search.php:280
msgid "Find:"
@@ -587,10 +586,9 @@ msgid "Words are separated by a space character (\" \")."
msgstr "Le parole sono separate da spazi (\" \")."
#: db_search.php:298
-#, fuzzy
#| msgid "Inside table(s):"
msgid "Inside tables:"
-msgstr "Nella/e tabella/e:"
+msgstr "Nelle tabelle:"
#: db_search.php:328
msgid "Inside column:"
@@ -1023,10 +1021,9 @@ msgstr "Questo non è un numero!"
#. l10n: Default description for the y-Axis of Charts
#: js/messages.php:51
-#, fuzzy
#| msgid "Log file count"
msgid "Total count"
-msgstr "Numero dei file di log"
+msgstr "Totale"
#: js/messages.php:54
msgid "The host name is empty!"
@@ -1072,24 +1069,22 @@ msgid "Edit"
msgstr "Modifica"
#: js/messages.php:66 server_status.php:604
-#, fuzzy
#| msgid "Server Choice"
msgid "Live traffic chart"
-msgstr "Scelta del server"
+msgstr "Grafico del traffico in tempo reale"
#: js/messages.php:67 server_status.php:607
msgid "Live conn./process chart"
-msgstr ""
+msgstr "Grafico delle connessioni e processi in tempo reale"
#: js/messages.php:68 server_status.php:625
-#, fuzzy
#| msgid "Show query chart"
msgid "Live query chart"
-msgstr "Mostra il diagramma della query"
+msgstr "Grafico delle query in tempo reale"
#: js/messages.php:70
msgid "Static data"
-msgstr ""
+msgstr "Dati statici"
#. l10n: Total number of queries
#: js/messages.php:72 libraries/build_html_for_db.lib.php:45
@@ -1116,41 +1111,39 @@ msgstr "."
#: js/messages.php:80
msgid "KiB sent since last refresh"
-msgstr ""
+msgstr "KiB inviati dall'ultimo aggiornamento"
#: js/messages.php:81
msgid "KiB received since last refresh"
-msgstr ""
+msgstr "KiB ricevuti dall'ultimo aggiornamento"
#: js/messages.php:82
-#, fuzzy
#| msgid "Server Choice"
msgid "Server traffic (in KiB)"
-msgstr "Scelta del server"
+msgstr "Traffico del server (in KiB)"
#: js/messages.php:83
msgid "Connections since last refresh"
-msgstr ""
+msgstr "Numero di connessioni dall'ultimo aggiornamento"
#: js/messages.php:84 server_status.php:983
msgid "Processes"
msgstr "Processi"
#: js/messages.php:85
-#, fuzzy
#| msgid "Connections"
msgid "Connections / Processes"
-msgstr "Connessioni"
+msgstr "Connessioni / Processi"
#. l10n: Questions is the name of a MySQL Status variable
#: js/messages.php:87
msgid "Questions since last refresh"
-msgstr ""
+msgstr "Numero di 'questions' dall'ultimo aggiornamento"
#. l10n: Questions is the name of a MySQL Status variable
#: js/messages.php:89
msgid "Questions (executed statements by the server)"
-msgstr ""
+msgstr "Questions (instruzioni eseguiti dal server)"
#: js/messages.php:91 server_status.php:587
msgid "Query statistics"
@@ -1158,15 +1151,15 @@ msgstr "Statistiche query"
#: js/messages.php:94
msgid "System CPU Usage"
-msgstr ""
+msgstr "Utilizzo della CPU"
#: js/messages.php:95
msgid "System memory"
-msgstr ""
+msgstr "Memoria"
#: js/messages.php:96
msgid "System swap"
-msgstr ""
+msgstr "Swap"
#: js/messages.php:97 libraries/common.lib.php:1276 server_status.php:1398
msgid "MiB"
@@ -1177,14 +1170,14 @@ msgid "KiB"
msgstr "KiB"
#: js/messages.php:100
+#, fuzzy
msgid "Average load"
-msgstr ""
+msgstr "Carico medio"
#. l10n: Questions is the name of a MySQL Status variable
#: js/messages.php:102
-#, fuzzy
msgid "Questions"
-msgstr "Suggestions:"
+msgstr "Questions"
#: js/messages.php:103 server_status.php:864
msgid "Traffic"
@@ -1196,24 +1189,22 @@ msgid "Settings"
msgstr "Impostazioni"
#: js/messages.php:105
-#, fuzzy
#| msgid "Remove database"
msgid "Remove chart"
-msgstr "Rimuovi il database"
+msgstr "Rimuovi il diagramma"
#: js/messages.php:106
msgid "Edit labels and series"
-msgstr ""
+msgstr "Modifica le etichette e le serie"
#: js/messages.php:107
-#, fuzzy
#| msgid "Snap to grid"
msgid "Add chart to grid"
-msgstr "Calamita alla griglia"
+msgstr "Aggiungi diagramma alla griglia"
#: js/messages.php:109
msgid "Please add at least one variable to the series"
-msgstr ""
+msgstr "Aggiungi almeno una variabile alla serie"
#: js/messages.php:110 libraries/display_export.lib.php:306
#: libraries/display_tbl.lib.php:561 libraries/export/sql.php:1039
@@ -1223,36 +1214,38 @@ msgid "None"
msgstr "Nessuno"
#: js/messages.php:111
+#, fuzzy
msgid "Resume monitor"
-msgstr ""
+msgstr "Avvia il monitoraggio"
#: js/messages.php:112
+#, fuzzy
msgid "Pause monitor"
-msgstr ""
+msgstr "Arresta il monitoraggio"
#: js/messages.php:114
msgid "general_log and slow_query_log is enabled."
-msgstr ""
+msgstr "general_log e slow_query_log sono abilitati."
#: js/messages.php:115
msgid "general_log is enabled."
-msgstr ""
+msgstr "general_log é abilitato."
#: js/messages.php:116
msgid "slow_query_log is enabled."
-msgstr ""
+msgstr "slow_query_log é abilitato."
#: js/messages.php:117
msgid "slow_query_log and general_log is disabled."
-msgstr ""
+msgstr "slow_query_log e general_log sono disabilitati."
#: js/messages.php:118
msgid "log_output is not set to TABLE."
-msgstr ""
+msgstr "log_output non é impostato su TABLE."
#: js/messages.php:119
msgid "log_output is set to TABLE."
-msgstr ""
+msgstr "log_output é impostato su TABLE."
#: js/messages.php:120
#, php-format
@@ -1261,11 +1254,14 @@ msgid ""
"than %d seconds. It is advisable to set this long_query_time 0-2 seconds, "
"depending on your system."
msgstr ""
+"slow_query_log é abilitato, ma il server registra solo query che impiegano "
+"piú di %d secondi. É consigliato di impostare long_query_time a 0-2 seconds, "
+"a secondi del tipo di sistema."
#: js/messages.php:121
#, php-format
msgid "long_query_time is set to %d second(s)."
-msgstr ""
+msgstr "long_query_time é impostato a %d secondi."
#: js/messages.php:122
msgid ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index bb7638a..b0b620a 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -4,8 +4,8 @@ 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-07-21 14:00+0200\n"
-"PO-Revision-Date: 2011-07-17 20:04+0200\n"
-"Last-Translator: <rds_ralison(a)yahoo.com.br>\n"
+"PO-Revision-Date: 2011-07-21 16:15+0200\n"
+"Last-Translator: <teunome(a)gmail.com>\n"
"Language-Team: brazilian_portuguese <pt_BR(a)li.org>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
@@ -1147,11 +1147,11 @@ msgstr ""
#: js/messages.php:95
msgid "System memory"
-msgstr ""
+msgstr "Memória do sistema"
#: js/messages.php:96
msgid "System swap"
-msgstr ""
+msgstr "Swap do sistema"
#: js/messages.php:97 libraries/common.lib.php:1276 server_status.php:1398
msgid "MiB"
@@ -1163,7 +1163,7 @@ msgstr "KB"
#: js/messages.php:100
msgid "Average load"
-msgstr ""
+msgstr "Carga média"
#. l10n: Questions is the name of a MySQL Status variable
#: js/messages.php:102
@@ -1191,7 +1191,7 @@ msgstr "Remover Banco de Dados"
#: js/messages.php:106
msgid "Edit labels and series"
-msgstr ""
+msgstr "Editar rótulos e séries."
#: js/messages.php:107
#, fuzzy
@@ -1201,7 +1201,7 @@ msgstr "Ajustar à grade"
#: js/messages.php:109
msgid "Please add at least one variable to the series"
-msgstr ""
+msgstr "Por favor adicione ao menos uma variável a série"
#: js/messages.php:110 libraries/display_export.lib.php:306
#: libraries/display_tbl.lib.php:561 libraries/export/sql.php:1039
@@ -1220,19 +1220,19 @@ msgstr ""
#: js/messages.php:114
msgid "general_log and slow_query_log is enabled."
-msgstr ""
+msgstr "general_log e slow_query_log estão ativados."
#: js/messages.php:115
msgid "general_log is enabled."
-msgstr ""
+msgstr "general_log está ativado."
#: js/messages.php:116
msgid "slow_query_log is enabled."
-msgstr ""
+msgstr "slow_query_log está ativado."
#: js/messages.php:117
msgid "slow_query_log and general_log is disabled."
-msgstr ""
+msgstr "slow_query_log e general_log estão desativados."
#: js/messages.php:118
msgid "log_output is not set to TABLE."
@@ -1249,17 +1249,22 @@ msgid ""
"than %d seconds. It is advisable to set this long_query_time 0-2 seconds, "
"depending on your system."
msgstr ""
+"slow_query_log está ativado, mas o servidor faz o log apenas de queries que "
+"demoram mais do que %d segundos. É aconselhado alterar essa long_query_time "
+"0-2 segundos, dependendo do seu sistema."
#: js/messages.php:121
#, php-format
msgid "long_query_time is set to %d second(s)."
-msgstr ""
+msgstr "long_query_time está definida para %d segundo(s)."
#: js/messages.php:122
msgid ""
"Following settings will be applied globally and reset to default on server "
"restart:"
msgstr ""
+"As seguintes configurações serão aplicadas globalmente e restauradas para o "
+"padrão quando o servidor reiniciar:"
#. l10n: %s is FILE or TABLE
#: js/messages.php:124
@@ -1286,13 +1291,15 @@ msgstr "Desabilitado"
#: js/messages.php:130
#, php-format
msgid "Set long_query_time to %ds"
-msgstr ""
+msgstr "Definir long_query_time para %ds"
#: js/messages.php:131
msgid ""
"You can't change these variables. Please log in as root or contact your "
"database administrator."
msgstr ""
+"Você não pode alterar essas variáveis. Por favor faça o log como root ou "
+"entre em contato com o administrador."
#: js/messages.php:132
#, fuzzy
@@ -1320,7 +1327,7 @@ msgstr ""
#: js/messages.php:138
#, php-format
msgid "Divided by %s:"
-msgstr ""
+msgstr "Dividido por %s:"
#: js/messages.php:140
#, fuzzy
@@ -1330,7 +1337,7 @@ msgstr "Tabelas selecionadas"
#: js/messages.php:141
msgid "Group together INSERTs into same table"
-msgstr ""
+msgstr "Agrupar INSERTs na mesma tabela"
#: js/messages.php:142
msgid ""
@@ -1348,7 +1355,7 @@ msgstr ""
#: js/messages.php:145
msgid "Analysing & loading logs. This may take a while."
-msgstr ""
+msgstr "Analisando e carregando logs. Isso pode demorar."
#: js/messages.php:146
msgid ""
@@ -5016,7 +5023,7 @@ msgstr "Número de linhas:"
#: libraries/display_export.lib.php:155
msgid "Row to begin at:"
-msgstr ""
+msgstr "Começar na linha:"
#: libraries/display_export.lib.php:166
msgid "Dump all rows"
@@ -5044,15 +5051,15 @@ msgstr "Nome do arquivo do modelo:"
#: libraries/display_export.lib.php:222
msgid "@SERVER@ will become the server name"
-msgstr ""
+msgstr "@SERVER@ se tornará o nome do servidor"
#: libraries/display_export.lib.php:224
msgid ", @DATABASE@ will become the database name"
-msgstr ""
+msgstr ", @DATABASE@ se tornará o nome do banco de dados"
#: libraries/display_export.lib.php:226
msgid ", @TABLE@ will become the table name"
-msgstr ""
+msgstr ", @TABLE@ se tornará o nome da tabela"
#: libraries/display_export.lib.php:230
#, fuzzy, php-format
@@ -5120,6 +5127,8 @@ msgid ""
"Scroll down to fill in the options for the selected format and ignore the "
"options for other formats."
msgstr ""
+"Role para baixo para preencher as opções para o formato selecionado e "
+"ignorar as opções de outros formatos."
#: libraries/display_export.lib.php:340 libraries/display_import.lib.php:260
msgid "Encoding Conversion:"
@@ -5165,13 +5174,15 @@ msgstr "Arquivo para importar:"
#: libraries/display_import.lib.php:156
#, php-format
msgid "File may be compressed (%s) or uncompressed."
-msgstr ""
+msgstr "Arquivo pode ser compactado (%s) ou descompactado."
#: libraries/display_import.lib.php:158
msgid ""
"A compressed file's name must end in <b>.[format].[compression]</b>. "
"Example: <b>.sql.zip</b>"
msgstr ""
+"O nome de um arquivo compactado deve terminar em "
+"<b>.[formato].[compactação]</b>. Exemplo: <b>.sql.zip</b>"
#: libraries/display_import.lib.php:178
msgid "File uploads are not allowed on this server."
@@ -5220,7 +5231,7 @@ msgstr "Adicionar/Remover colunas"
#: libraries/display_tbl.lib.php:414
msgid "Drag to reorder"
-msgstr ""
+msgstr "Arraste para reordenar"
#: libraries/display_tbl.lib.php:415
#, fuzzy
@@ -5230,11 +5241,11 @@ msgstr "Clique para selecionar"
#: libraries/display_tbl.lib.php:416
msgid "Click to mark/unmark"
-msgstr ""
+msgstr "Clique para marcar/desmarcar"
#: libraries/display_tbl.lib.php:417
msgid "Click the drop-down arrow<br />to toggle column's visibility"
-msgstr ""
+msgstr "Clique na seta<br />para alternar a visibilidade da coluna"
#: libraries/display_tbl.lib.php:428
#, php-format
@@ -5336,7 +5347,7 @@ msgstr "Transformações do navegador"
#: libraries/display_tbl.lib.php:647
msgid "Geometry"
-msgstr ""
+msgstr "Geometria"
#: libraries/display_tbl.lib.php:648
msgid "Well Known Text"
@@ -5390,7 +5401,7 @@ msgstr "Exibir gráfico"
#: libraries/display_tbl.lib.php:2506
msgid "Visualize GIS data"
-msgstr ""
+msgstr "Visualisar dados GIS"
#: libraries/display_tbl.lib.php:2526
#, fuzzy
hooks/post-receive
--
phpMyAdmin
1
0
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11297-ge490bdd
by Michal Čihař 21 Jul '11
by Michal Čihař 21 Jul '11
21 Jul '11
The branch, master has been updated
via e490bdd2627b5d227de7ceae9e86c27083ddc4ed (commit)
from ba395f545e459da2548593876308989d7f4adb05 (commit)
- Log -----------------------------------------------------------------
commit e490bdd2627b5d227de7ceae9e86c27083ddc4ed
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:26:07 2011 +0200
Adjust test cases to sprited icons
-----------------------------------------------------------------------
Summary of changes:
test/libraries/common/PMA_getIcon_test.php | 16 ++++++++--------
test/libraries/common/PMA_showDocu_test.php | 2 +-
test/libraries/common/PMA_showPHPDocu_test.php | 6 +++---
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/test/libraries/common/PMA_getIcon_test.php b/test/libraries/common/PMA_getIcon_test.php
index 7835aca..b64ef53 100644
--- a/test/libraries/common/PMA_getIcon_test.php
+++ b/test/libraries/common/PMA_getIcon_test.php
@@ -30,7 +30,7 @@ class PMA_getIcon_test extends PHPUnit_Framework_TestCase{
$GLOBALS['pmaThemeImage'] = 'theme/';
$this->assertEquals('<span class="nowrap"><img src="'.$GLOBALS['pmaThemeImage']
- . 'b_comment.png" title="" alt="" class="icon" width="16" height="16" /></span>',
+ . 'dot.gif" title="" alt="" class="icon ic_b_comment" /></span>',
PMA_getIcon('b_comment.png') );
}
@@ -41,8 +41,8 @@ class PMA_getIcon_test extends PHPUnit_Framework_TestCase{
$alternate_text = 'alt_str';
$this->assertEquals('<span class="nowrap"><img src="'.$GLOBALS['pmaThemeImage']
- .'b_comment.png" title="' . $alternate_text . '" alt="' . $alternate_text
- . '" class="icon" width="16" height="16" /></span>',
+ .'dot.gif" title="' . $alternate_text . '" alt="' . $alternate_text
+ . '" class="icon ic_b_comment" /></span>',
PMA_getIcon('b_comment.png',$alternate_text) );
}
@@ -53,8 +53,8 @@ class PMA_getIcon_test extends PHPUnit_Framework_TestCase{
$alternate_text = 'alt_str';
$this->assertEquals('<span class="nowrap"><img src="'.$GLOBALS['pmaThemeImage']
- .'b_comment.png" title="' . $alternate_text . '" alt="' . $alternate_text
- . '" class="icon" width="16" height="16" /></span>',
+ .'dot.gif" title="' . $alternate_text . '" alt="' . $alternate_text
+ . '" class="icon ic_b_comment" /></span>',
PMA_getIcon('b_comment.png',$alternate_text, true) );
}
@@ -66,9 +66,9 @@ class PMA_getIcon_test extends PHPUnit_Framework_TestCase{
$alternate_text = 'alt_str';
$this->assertEquals('<span class="nowrap"><img src="'.$GLOBALS['pmaThemeImage']
- .'b_comment.png" title="' . $alternate_text . '" alt="' . $alternate_text
- . '" class="icon" width="16" height="16" /> ' . $alternate_text . '</span>',
+ .'dot.gif" title="' . $alternate_text . '" alt="' . $alternate_text
+ . '" class="icon ic_b_comment" /> ' . $alternate_text . '</span>',
PMA_getIcon('b_comment.png',$alternate_text, true, true) );
}
-}
\ No newline at end of file
+}
diff --git a/test/libraries/common/PMA_showDocu_test.php b/test/libraries/common/PMA_showDocu_test.php
index b11f12d..edf7c46 100644
--- a/test/libraries/common/PMA_showDocu_test.php
+++ b/test/libraries/common/PMA_showDocu_test.php
@@ -25,7 +25,7 @@ class PMA_showDocu_test extends PHPUnit_Framework_TestCase
$GLOBALS['cfg']['ReplaceHelpImg'] = true;
$anchor = "relation";
- $expected = '<a href="Documentation.html#' . $anchor . '" target="documentation"><img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
+ $expected = '<a href="Documentation.html#' . $anchor . '" target="documentation"><img class="icon ic_b_help_s" src="' . $GLOBALS['pmaThemeImage'] . 'dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
$this->assertEquals($expected, PMA_showDocu($anchor));
diff --git a/test/libraries/common/PMA_showPHPDocu_test.php b/test/libraries/common/PMA_showPHPDocu_test.php
index eb98f30..d47269d 100644
--- a/test/libraries/common/PMA_showPHPDocu_test.php
+++ b/test/libraries/common/PMA_showPHPDocu_test.php
@@ -21,8 +21,8 @@ class PMA_showPHPDocu_test extends PHPUnit_Framework_TestCase
$target = "docu";
$lang = _pgettext('PHP documentation language', 'en');
- $expected = '<a href="http://php.net/manual/' . $lang . '/' . $target . '" target="documentation"><img class="icon" src="'
- . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
+ $expected = '<a href="http://php.net/manual/' . $lang . '/' . $target . '" target="documentation"><img class="icon ic_b_help_s" src="'
+ . $GLOBALS['pmaThemeImage'] . 'dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
$this->assertEquals($expected, PMA_showPHPDocu($target));
}
@@ -39,4 +39,4 @@ class PMA_showPHPDocu_test extends PHPUnit_Framework_TestCase
}
-}
\ No newline at end of file
+}
hooks/post-receive
--
phpMyAdmin
1
0
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11296-gba395f5
by Michal Čihař 21 Jul '11
by Michal Čihař 21 Jul '11
21 Jul '11
The branch, master has been updated
via ba395f545e459da2548593876308989d7f4adb05 (commit)
via bed0aad84322079d92fadc09660711180c02edd2 (commit)
via 5de716446c08c3c36e62024b47af8fac8a94aafa (commit)
via e9c512fb9f1f5d73daa124052e2d233472020aca (commit)
via 869ffd82cc4ba8b287eede153f4eb0ad78b28a80 (commit)
via 06ba6d36c06718ffbc5def195a74139ce5012628 (commit)
via 4720ed20fd5414b20c577be6dfb007e8fccbb4d3 (commit)
via 0f9de304798753303396a80f16729807b973eaf1 (commit)
from 47dd2a01430f6a0c142734260cf11ce920bb4e32 (commit)
- Log -----------------------------------------------------------------
commit ba395f545e459da2548593876308989d7f4adb05
Merge: bed0aad84322079d92fadc09660711180c02edd2 47dd2a01430f6a0c142734260cf11ce920bb4e32
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:14:47 2011 +0200
Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin
commit bed0aad84322079d92fadc09660711180c02edd2
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:11:19 2011 +0200
Exclude build dir when examining code
commit 5de716446c08c3c36e62024b47af8fac8a94aafa
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:10:29 2011 +0200
Fix coding style
commit e9c512fb9f1f5d73daa124052e2d233472020aca
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:09:44 2011 +0200
Remove tabs
commit 869ffd82cc4ba8b287eede153f4eb0ad78b28a80
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:09:16 2011 +0200
Add file docblock
commit 06ba6d36c06718ffbc5def195a74139ce5012628
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:08:11 2011 +0200
Remove tabs
commit 4720ed20fd5414b20c577be6dfb007e8fccbb4d3
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:05:23 2011 +0200
Whitespace cleanup
commit 0f9de304798753303396a80f16729807b973eaf1
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 16:05:18 2011 +0200
Coding style
-----------------------------------------------------------------------
Summary of changes:
build.xml | 3 ++-
import.php | 2 +-
js/makegrid.js | 3 ++-
js/server_privileges.js | 2 +-
js/sql.js | 18 ++++++++++--------
setup/styles.css | 2 +-
tbl_triggers.php | 11 ++++++++++-
7 files changed, 27 insertions(+), 14 deletions(-)
diff --git a/build.xml b/build.xml
index 62273df..ad4dc40 100644
--- a/build.xml
+++ b/build.xml
@@ -46,6 +46,7 @@
<exec executable="phpcpd">
<arg line="--log-pmd ${basedir}/build/logs/pmd-cpd.xml
--exclude test
+ --exclude build
--exclude libraries/PHPExcel
--exclude libraries/tcpdf
${source}" />
@@ -61,7 +62,7 @@
<target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding test, PHPExcel, tcpdf directories">
<exec executable="phpcs">
<arg line="
- --ignore=*/PHPExcel/*,*/php-gettext/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/highcharts/*,*/openlayers/*,*/jquery/*
+ --ignore=*/PHPExcel/*,*/php-gettext/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/highcharts/*,*/openlayers/*,*/jquery/*,*/build/*
--report=checkstyle
--report-file=${basedir}/build/logs/checkstyle.xml
--standard=PEAR
diff --git a/import.php b/import.php
index afc513c..b9b7d15 100644
--- a/import.php
+++ b/import.php
@@ -264,7 +264,7 @@ if ($import_file != 'none' && !$error) {
$file_to_unlink = $import_file_new;
}
- $size = filesize($import_file);
+ $size = filesize($import_file);
}
}
diff --git a/js/makegrid.js b/js/makegrid.js
index a5bbdb8..00d839f 100644
--- a/js/makegrid.js
+++ b/js/makegrid.js
@@ -70,8 +70,9 @@
dragMove: function(e) {
if (this.colRsz) {
var dx = e.pageX - this.colRsz.x0;
- if (this.colRsz.objWidth + dx > this.minColWidth)
+ if (this.colRsz.objWidth + dx > this.minColWidth) {
$(this.colRsz.obj).css('left', this.colRsz.objLeft + dx + 'px');
+ }
} else if (this.colMov) {
// dragged column animation
var dx = e.pageX - this.colMov.x0;
diff --git a/js/server_privileges.js b/js/server_privileges.js
index d5729d9..35c34aa 100644
--- a/js/server_privileges.js
+++ b/js/server_privileges.js
@@ -210,7 +210,7 @@ $(document).ready(function() {
/* post request for get the updated userForm table */
$.post($form.attr('action' ), url, function(priv_data) {
- /*Remove the old userForm table*/
+ /*Remove the old userForm table*/
if ($('#userFormDiv').length != 0) {
$('#userFormDiv').remove();
} else {
diff --git a/js/sql.js b/js/sql.js
index 6ee84dd..fb24f5d 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -143,7 +143,7 @@ $(document).ready(function() {
.parent()
.toggle($(this).attr('value').length > 0);
}).trigger('keyup');
-
+
/**
* Attach the {@link appendInlineAnchor} function to a custom event, which
* will be triggered manually everytime the table of results is reloaded
@@ -152,7 +152,7 @@ $(document).ready(function() {
$("#sqlqueryresults").live('appendAnchor',function() {
appendInlineAnchor();
})
-
+
/**
* Attach the {@link makegrid} function to a custom event, which will be
* triggered manually everytime the table of results is reloaded
@@ -161,7 +161,7 @@ $(document).ready(function() {
$("#sqlqueryresults").live('makegrid', function() {
$('#table_results').makegrid();
})
-
+
/**
* Attach the {@link refreshgrid} function to a custom event, which will be
* triggered manually everytime the table of results is manipulated (e.g., by inline edit)
@@ -497,7 +497,7 @@ $(document).ready(function() {
$(this).prev().prev().remove();
$(this).prev().remove();
$(this).remove();
-
+
// refresh the grid
$("#sqlqueryresults").trigger('refreshgrid');
});
@@ -711,10 +711,10 @@ $(document).ready(function() {
$this_field.data('original_data', 'NULL');
}
});
-
+
// refresh the grid
$("#sqlqueryresults").trigger('refreshgrid');
-
+
}) // End On click, replace the current field with an input/textarea
/**
@@ -986,7 +986,7 @@ $(document).ready(function() {
});
/**
- * Click action for "Go" button in ajax dialog insertForm -> insertRowTable
+ * Click action for "Go" button in ajax dialog insertForm -> insertRowTable
*/
$("#insertForm .insertRowTable.ajax input[value=Go]").live('click', function(event) {
event.preventDefault();
@@ -1231,7 +1231,9 @@ $(document).ready(function() {
* Profiling Chart
*/
function createProfilingChart() {
- if($('#profilingchart').length==0) return;
+ if ($('#profilingchart').length == 0) {
+ return;
+ }
var cdata = new Array();
$.each(jQuery.parseJSON($('#profilingchart').html()),function(key,value) {
diff --git a/setup/styles.css b/setup/styles.css
index 93c4887..07979b4 100644
--- a/setup/styles.css
+++ b/setup/styles.css
@@ -243,7 +243,7 @@ fieldset .inline_errors { /* field error list */
padding: 0;
list-style: none;
color: #9A0000;
- font-size: small;
+ font-size: small;
}
fieldset table {
diff --git a/tbl_triggers.php b/tbl_triggers.php
index a5d8a3e..f20eecb 100644
--- a/tbl_triggers.php
+++ b/tbl_triggers.php
@@ -1 +1,10 @@
-<?php require_once './db_triggers.php'; ?>
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Triggers management.
+ *
+ * @package phpMyAdmin
+ */
+
+require_once './db_triggers.php';
+?>
hooks/post-receive
--
phpMyAdmin
1
0
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11288-g47dd2a0
by Marc Delisle 21 Jul '11
by Marc Delisle 21 Jul '11
21 Jul '11
The branch, master has been updated
via 47dd2a01430f6a0c142734260cf11ce920bb4e32 (commit)
via 33b48269a5a65fc918e7a9ee96b4921a876d8bdf (commit)
from fd121f211a805e6cb83b51f5087ac79e7791dbba (commit)
- Log -----------------------------------------------------------------
commit 47dd2a01430f6a0c142734260cf11ce920bb4e32
Merge: 33b48269a5a65fc918e7a9ee96b4921a876d8bdf fd121f211a805e6cb83b51f5087ac79e7791dbba
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Jul 21 09:54:28 2011 -0400
Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin
commit 33b48269a5a65fc918e7a9ee96b4921a876d8bdf
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Jul 21 09:54:09 2011 -0400
Streamline jQuery usage
-----------------------------------------------------------------------
Summary of changes:
js/sql.js | 31 ++++++++++++++++---------------
1 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/js/sql.js b/js/sql.js
index 0476795..6ee84dd 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -281,10 +281,11 @@ $(document).ready(function() {
if ($zero_row_results.length > 0) {
$('#sqlquery').val($zero_row_results.val());
} else {
- $sqlqueryresults.show();
- $sqlqueryresults.html(data);
- $sqlqueryresults.trigger('appendAnchor');
- $sqlqueryresults.trigger('makegrid');
+ $sqlqueryresults
+ .show()
+ .html(data)
+ .trigger('appendAnchor')
+ .trigger('makegrid');
$('#togglequerybox').show();
if ($("#togglequerybox").siblings(":visible").length > 0) {
$("#togglequerybox").trigger('click');
@@ -320,14 +321,13 @@ $(document).ready(function() {
*/
var $form = $(this).parent("form");
- var $sqlqueryresults = $("#sqlqueryresults");
-
PMA_prepareForAjaxRequest($form);
$.post($form.attr('action'), $form.serialize(), function(data) {
- $sqlqueryresults.html(data);
- $sqlqueryresults.trigger('appendAnchor');
- $sqlqueryresults.trigger('makegrid');
+ $("#sqlqueryresults")
+ .html(data)
+ .trigger('appendAnchor')
+ .trigger('makegrid');
PMA_init_slider();
PMA_ajaxRemoveMessage($msgbox);
@@ -341,22 +341,23 @@ $(document).ready(function() {
* @see $cfg['AjaxEnable']
*/
$("#pageselector").live('change', function(event) {
- var $the_form = $(this).parent("form");
+ var $form = $(this).parent("form");
if ($(this).hasClass('ajax')) {
event.preventDefault();
var $msgbox = PMA_ajaxShowMessage();
- $.post($the_form.attr('action'), $the_form.serialize() + '&ajax_request=true', function(data) {
- $("#sqlqueryresults").html(data);
- $("#sqlqueryresults").trigger('appendAnchor');
- $("#sqlqueryresults").trigger('makegrid');
+ $.post($form.attr('action'), $form.serialize() + '&ajax_request=true', function(data) {
+ $("#sqlqueryresults")
+ .html(data)
+ .trigger('appendAnchor')
+ .trigger('makegrid');
PMA_init_slider();
PMA_ajaxRemoveMessage($msgbox);
}) // end $.post()
} else {
- $the_form.submit();
+ $form.submit();
}
})// end Paginate results with Page Selector
hooks/post-receive
--
phpMyAdmin
1
0
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11286-gfd121f2
by Michal Čihař 21 Jul '11
by Michal Čihař 21 Jul '11
21 Jul '11
The branch, master has been updated
via fd121f211a805e6cb83b51f5087ac79e7791dbba (commit)
via 9730a6b3d78e28ef365010384556983f6864db02 (commit)
via 97b1375605f241481a953e2c78eb42d43f84fa9d (commit)
via 42d682e3405adf72eaeb4865d605a2e9c9d93319 (commit)
via 67ec8263dbfd9f39c25bec5350f4618f5c14e001 (commit)
via 5308a7b05d219fff7b96b55792e7737ce88ef837 (commit)
via a4064cd8ab8a5126c5342d326b2449de3f6b7a34 (commit)
via fb4b175586b76a721f539f4020cc5167e4f5aaca (commit)
via 110b267a2987a2adcd88179e68b93b495883f616 (commit)
via 4c8e6325f1d548cbc1d03919f0a2dd594bc1e7b1 (commit)
via f12422457b3fdba017179ebfe2fb9624a11e2712 (commit)
via 3b3a9fc7624f857b3ff5f599eee9473a42d71feb (commit)
via bf2314342406ea56fc88d878be1072cb139e46d4 (commit)
via da943ecbf7a2f604f6969564bee17aff52afd740 (commit)
from ce3f3087414ebb87acf75346c17a69962e699e62 (commit)
- Log -----------------------------------------------------------------
commit fd121f211a805e6cb83b51f5087ac79e7791dbba
Merge: 9730a6b3d78e28ef365010384556983f6864db02 ce3f3087414ebb87acf75346c17a69962e699e62
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 15:53:04 2011 +0200
Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin
commit 9730a6b3d78e28ef365010384556983f6864db02
Merge: bb3cb6d99cbba59caef8e91e621c282b192704c9 97b1375605f241481a953e2c78eb42d43f84fa9d
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 15:51:05 2011 +0200
Merge commit '97b1375605f241481a953e2c78eb42d43f84fa9d'
Conflicts:
js/functions.js
libraries/common.lib.php
libraries/header.inc.php
server_status.php
commit 97b1375605f241481a953e2c78eb42d43f84fa9d
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Tue Jul 19 21:44:53 2011 +0300
Remove duplicate intialization
commit 42d682e3405adf72eaeb4865d605a2e9c9d93319
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Tue Jul 19 16:26:10 2011 +0300
CSS Sprites for original theme
commit 67ec8263dbfd9f39c25bec5350f4618f5c14e001
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Tue Jul 19 12:59:13 2011 +0300
Fixes wrong z-index of timepicker
commit 5308a7b05d219fff7b96b55792e7737ce88ef837
Merge: a5df22ced5067260b5edbb3d95b83cc8050d21a9 a4064cd8ab8a5126c5342d326b2449de3f6b7a34
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Mon Jul 18 13:16:28 2011 +0300
Merge branch 'sprites'
Conflicts:
ChangeLog
po/af.po
po/az.po
po/be(a)latin.po
po/bs.po
po/ca.po
po/cs.po
po/el.po
po/es.po
po/fi.po
po/fr.po
po/gl.po
po/he.po
po/hi.po
po/hr.po
po/it.po
po/ka.po
po/ko.po
po/lt.po
po/lv.po
po/mk.po
po/mn.po
po/ms.po
po/nb.po
po/nl.po
po/phpmyadmin.pot
po/pl.po
po/ru.po
po/si.po
po/sk.po
po/sl.po
po/sv.po
po/th.po
po/uz.po
themes/pmahomme/css/theme_right.css.php
commit a4064cd8ab8a5126c5342d326b2449de3f6b7a34
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Mon Jul 18 13:13:40 2011 +0300
Monitor: Log table filtering and summation
commit fb4b175586b76a721f539f4020cc5167e4f5aaca
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Mon Jul 18 13:10:08 2011 +0300
Fix merge conflicts of .po files attempt #2
commit 110b267a2987a2adcd88179e68b93b495883f616
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Sun Jul 17 22:44:32 2011 +0300
Fix merge conflicts with po files
commit 4c8e6325f1d548cbc1d03919f0a2dd594bc1e7b1
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Fri Jul 15 10:28:24 2011 +0300
small help icon explained
commit f12422457b3fdba017179ebfe2fb9624a11e2712
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Fri Jul 15 09:48:37 2011 +0300
PMA Spritify: Readded deleted icons
commit 3b3a9fc7624f857b3ff5f599eee9473a42d71feb
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Fri Jul 15 09:42:16 2011 +0300
pma spritify part 2
commit bf2314342406ea56fc88d878be1072cb139e46d4
Merge: da943ecbf7a2f604f6969564bee17aff52afd740 f989d6f0cf61c861af0a37af12e3a24af7cdf4ee
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Thu Jul 14 15:56:31 2011 +0300
Merge remote-tracking branch 'origin/master'
Conflicts:
ChangeLog
Documentation.html
db_events.php
db_routines.php
db_structure.php
db_triggers.php
js/db_structure.js
js/functions.js
js/indexes.js
js/makegrid.js
js/messages.php
js/sql.js
js/tbl_structure.js
libraries/Table.class.php
libraries/common.lib.php
libraries/config.default.php
libraries/config/messages.inc.php
libraries/config/setup.forms.php
libraries/config/user_preferences.forms.php
libraries/database_interface.lib.php
libraries/db_events.inc.php
libraries/db_links.inc.php
libraries/display_tbl.lib.php
libraries/tbl_links.inc.php
po/af.po
po/ar.po
po/az.po
po/be.po
po/be(a)latin.po
po/bg.po
po/bn.po
po/br.po
po/bs.po
po/ca.po
po/cs.po
po/cy.po
po/da.po
po/de.po
po/el.po
po/en_GB.po
po/es.po
po/et.po
po/eu.po
po/fa.po
po/fi.po
po/fr.po
po/gl.po
po/he.po
po/hi.po
po/hr.po
po/hu.po
po/id.po
po/it.po
po/ja.po
po/ka.po
po/ko.po
po/lt.po
po/lv.po
po/mk.po
po/ml.po
po/mn.po
po/ms.po
po/nb.po
po/nl.po
po/phpmyadmin.pot
po/pl.po
po/pt.po
po/pt_BR.po
po/ro.po
po/ru.po
po/si.po
po/sk.po
po/sl.po
po/sq.po
po/sr.po
po/sr(a)latin.po
po/sv.po
po/ta.po
po/te.po
po/th.po
po/tr.po
po/tt.po
po/ug.po
po/uk.po
po/ur.po
po/uz.po
po/uz(a)latin.po
po/zh_CN.po
po/zh_TW.po
server_status.php
tbl_triggers.php
themes/original/css/theme_right.css.php
themes/original/jquery/jquery-ui-1.8.override.css
themes/pmahomme/css/theme_right.css.php
themes/pmahomme/img/s_sortable.png
themes/pmahomme/jquery/jquery-ui-1.8.override.css
commit da943ecbf7a2f604f6969564bee17aff52afd740
Author: Tyron Madlener <tyronx(a)gmail.com>
Date: Thu Jul 14 15:37:08 2011 +0300
PMA Icons to sprites part 1
-----------------------------------------------------------------------
Summary of changes:
db_operations.php | 15 +-
db_structure.php | 12 +-
db_tracking.php | 4 +-
js/db_search.js | 2 +-
js/db_structure.js | 2 +-
js/functions.js | 13 +-
js/navigation.js | 4 +-
js/server_status.js | 122 +++++++++--
js/server_synchronize.js | 3 +-
js/server_variables.js | 6 +-
js/sql.js | 16 +-
libraries/auth/cookie.auth.lib.php | 4 +-
libraries/common.lib.php | 25 +--
libraries/config/FormDisplay.tpl.php | 10 +-
libraries/db_links.inc.php | 26 ++--
libraries/db_structure.lib.php | 12 +-
libraries/display_create_database.lib.php | 2 +-
libraries/display_create_table.lib.php | 2 +-
libraries/display_export.lib.php | 2 +-
libraries/display_import.lib.php | 2 +-
libraries/display_tbl.lib.php | 12 +-
libraries/footer.inc.php | 2 +-
libraries/header.inc.php | 10 +-
libraries/navigation_header.inc.php | 13 +-
libraries/schema/User_Schema.class.php | 3 +-
libraries/server_links.inc.php | 26 ++--
libraries/sql_query_form.lib.php | 3 +-
libraries/tbl_links.inc.php | 20 +-
libraries/user_preferences.inc.php | 12 +-
navigation.php | 15 +-
pmd/scripts/history.js | 6 +-
querywindow.php | 10 +-
server_binlog.php | 2 +-
server_collations.php | 2 +-
server_databases.php | 7 +-
server_engines.php | 6 +-
server_replication.php | 2 +-
server_status.php | 42 +++--
server_synchronize.php | 3 +-
server_variables.php | 2 +-
sql.php | 2 +-
tbl_create.php | 4 +-
tbl_structure.php | 14 +-
tbl_tracking.php | 2 +-
test/theme.php | 74 +++----
themes/{pmahomme/img/cleardot.gif => dot.gif} | Bin 43 -> 43 bytes
themes/original/css/theme_left.css.php | 28 ++-
themes/original/css/theme_right.css.php | 245 ++++++++++++++++++----
themes/original/img/iconsprites.png | Bin 0 -> 32492 bytes
themes/pmahomme/css/theme_left.css.php | 27 ++-
themes/pmahomme/css/theme_right.css.php | 228 ++++++++++++++++----
themes/pmahomme/img/iconsprites.png | Bin 0 -> 35190 bytes
themes/pmahomme/img/pause.png | Bin 329 -> 0 bytes
themes/pmahomme/img/play.png | Bin 395 -> 0 bytes
themes/pmahomme/img/{s_cog.png => s_process.png} | Bin 512 -> 512 bytes
55 files changed, 748 insertions(+), 358 deletions(-)
rename themes/{pmahomme/img/cleardot.gif => dot.gif} (100%)
create mode 100644 themes/original/img/iconsprites.png
create mode 100644 themes/pmahomme/img/iconsprites.png
delete mode 100644 themes/pmahomme/img/pause.png
delete mode 100644 themes/pmahomme/img/play.png
copy themes/pmahomme/img/{s_cog.png => s_process.png} (100%)
diff --git a/db_operations.php b/db_operations.php
index 0b4ab5f..16630e3 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -398,8 +398,7 @@ if ($db != 'mysql') {
<legend>
<?php
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
- .' alt="" width="16" height="16" />';
+ echo '<img class="icon ic_b_edit" src="themes/dot.gif" alt="" />';
}
echo __('Rename database to') . ':';
?>
@@ -434,8 +433,7 @@ if (($is_superuser || $GLOBALS['cfg']['AllowUserDropDatabase']) && ! $db_is_info
<fieldset class="caution">
<legend><?php
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_deltbl.png"'
- .' alt="" width="16" height="16" />';
+ echo '<img class="icon ic_b_deltbl" src="themes/dot.gif" alt="" />';
}
echo __('Remove database');
?></legend>
@@ -481,8 +479,7 @@ echo __('Remove database');
<legend>
<?php
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
- .' alt="" width="16" height="16" />';
+ echo '<img class="icon ic_b_edit" src="themes/dot.gif" alt="" />';
}
echo __('Copy database to') . ':';
$drop_clause = 'DROP TABLE / DROP VIEW';
@@ -546,8 +543,7 @@ echo __('Remove database');
. '<fieldset>' . "\n"
. ' <legend>';
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 's_asci.png"'
- .' alt="" width="16" height="16" />';
+ echo '<img class="icon ic_s_asci" src="themes/dot.gif" alt="" />';
}
echo ' <label for="select_db_collation">' . __('Collation') . ':</label>' . "\n"
. ' </legend>' . "\n"
@@ -594,8 +590,7 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
*/
echo '<div class="operations_full_width"><fieldset><a href="schema_edit.php?' . $url_query . '">';
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
- .' alt="" width="16" height="16" />';
+ echo '<img class="icon ic_b_edit" src="themes/dot.gif" alt="" />';
}
echo __('Edit or export relational schema') . '</a></fieldset></div>';
} // end if
diff --git a/db_structure.php b/db_structure.php
index 000ab6a..d1ffdc3 100644
--- a/db_structure.php
+++ b/db_structure.php
@@ -284,9 +284,9 @@ foreach ($tables as $keyname => $each_table) {
$tracking_icon = '';
if (PMA_Tracker::isActive()) {
if (PMA_Tracker::isTracked($GLOBALS["db"], $truename)) {
- $tracking_icon = '<a href="tbl_tracking.php?' . $url_query.'&table=' . $truename . '"><img class="icon" width="14" height="14" src="' . $pmaThemeImage . 'eye.png" alt="' . __('Tracking is active.') . '" title="' . __('Tracking is active.') . '" /></a>';
+ $tracking_icon = '<a href="tbl_tracking.php?' . $url_query.'&table=' . $truename . '"><img class="icon ic_eye" src="themes/dot.gif" alt="' . __('Tracking is active.') . '" title="' . __('Tracking is active.') . '" /></a>';
} elseif (PMA_Tracker::getVersion($GLOBALS["db"], $truename) > 0) {
- $tracking_icon = '<a href="tbl_tracking.php?' . $url_query . '&table=' . $truename . '"><img class="icon" width="14" height="14" src="' . $pmaThemeImage . 'eye_grey.png" alt="' . __('Tracking is not active.') . '" title="' . __('Tracking is not active.') . '" /></a>';
+ $tracking_icon = '<a href="tbl_tracking.php?' . $url_query . '&table=' . $truename . '"><img class="icon ic_eye" src="themes/dot.gif" alt="' . __('Tracking is not active.') . '" title="' . __('Tracking is not active.') . '" /></a>';
}
}
@@ -341,7 +341,7 @@ foreach ($tables as $keyname => $each_table) {
<th><?php echo $browse_table_label; ?>
<?php echo (! empty($tracking_icon) ? $tracking_icon : ''); ?>
</th>
- <?php if ($server_slave_status) { ?><td align="center"><?php echo $ignored ? ' <img class="icon" src="' . $pmaThemeImage . 's_cancel.png" width="16" height="16" alt="NOT REPLICATED" />' : ''. $do ? ' <img class="icon" src="' . $pmaThemeImage . 's_success.png" width="16" height="16" alt="REPLICATED" />' : ''; ?></td><?php } ?>
+ <?php if ($server_slave_status) { ?><td align="center"><?php echo $ignored ? ' <img class="icon ic_s_cancel" src="themes/dot.gif" alt="NOT REPLICATED" />' : ''. $do ? ' <img class="icon ic_s_success" src="themes/dot.gif" alt="REPLICATED" />' : ''; ?></td><?php } ?>
<td align="center"><?php echo $browse_table; ?></td>
<td align="center">
<a href="tbl_structure.php?<?php echo $tbl_url_query; ?>">
@@ -548,15 +548,13 @@ PMA_listNavigator($total_num_tables, $pos, $_url_params, 'db_structure.php', 'fr
echo '<p>';
echo '<a href="db_printview.php?' . $url_query . '">';
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage
- .'b_print.png" width="16" height="16" alt="" />';
+ echo '<img class="icon ic_b_print" src="themes/dot.gif" alt="" />';
}
echo __('Print view') . '</a> ';
echo '<a href="./db_datadict.php?' . $url_query . '">';
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage
- .'b_tblanalyse.png" width="16" height="16" alt="" />';
+ echo '<img class="icon ic_b_tblanalyse" src="themes/dot.gif" alt="" />';
}
echo __('Data Dictionary') . '</a>';
echo '</p>';
diff --git a/db_tracking.php b/db_tracking.php
index 3a9b695..38a231d 100644
--- a/db_tracking.php
+++ b/db_tracking.php
@@ -98,7 +98,7 @@ if (PMA_DBI_num_rows($all_tables_result) > 0) {
$drop_image_or_text = '';
if (true == $GLOBALS['cfg']['PropertiesIconic']) {
- $drop_image_or_text .= '<img class="icon" width="16" height="16" src="' . $pmaThemeImage . 'b_drop.png" alt="' . __('Delete tracking data for this table') . '" title="' . __('Delete tracking data for this table') . '" />';
+ $drop_image_or_text .= '<img class="icon ic_b_drop" src="themes/dot.gif" alt="' . __('Delete tracking data for this table') . '" title="' . __('Delete tracking data for this table') . '" />';
}
if ('both' === $GLOBALS['cfg']['PropertiesIconic'] || false === $GLOBALS['cfg']['PropertiesIconic']) {
$drop_image_or_text .= __('Drop');
@@ -198,7 +198,7 @@ if (isset($my_tables)) {
$my_link = '<a href="tbl_tracking.php?' . $url_query . '&table=' . htmlspecialchars($tablename) .'">';
if ($cfg['PropertiesIconic']) {
- $my_link .= '<img class="icon" src="' . $pmaThemeImage . 'eye.png" width="16" height="16" alt="' . __('Track table') . '" /> ';
+ $my_link .= '<img class="icon ic_eye" src="themes/dot.gif" alt="' . __('Track table') . '" /> ';
}
$my_link .= __('Track table') . '</a>';
?>
diff --git a/js/db_search.js b/js/db_search.js
index 0cb04b7..72b3046 100644
--- a/js/db_search.js
+++ b/js/db_search.js
@@ -87,7 +87,7 @@ $(document).ready(function() {
});
/** Hide the table link in the initial search result */
- $("#table-info").prepend('<img id="table-image" src="./themes/original/img/s_tbl.png" />').hide();
+ $("#table-info").prepend('<img id="table-image" class="icon ic_s_tbl" src="./themes/dot.gif" />').hide();
/** Hide the browse and deleted results in the new search criteria */
$('#buttonGo').click(function(){
diff --git a/js/db_structure.js b/js/db_structure.js
index e7eb7ca..efc8f2a 100644
--- a/js/db_structure.js
+++ b/js/db_structure.js
@@ -218,7 +218,7 @@ $(document).ready(function() {
PMA_ajaxShowMessage(data.message);
//Fetch inner span of this anchor
//and replace the icon with its disabled version
- var span = $this_anchor.html().replace(/b_empty.png/, 'bd_empty.png');
+ var span = $this_anchor.html().replace(/ic_b_empty/, 'ic_bd_empty');
PMA_adjustTotals($this_anchor);
//To disable further attempts to truncate the table,
diff --git a/js/functions.js b/js/functions.js
index eff6759..dbb962d 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -135,14 +135,13 @@ function displayPasswordGenerateButton() {
*
* @param object $this_element a jQuery object pointing to the element
*/
-function PMA_addDatepicker($this_element) {
+function PMA_addDatepicker($this_element, options) {
var showTimeOption = false;
if ($this_element.is('.datetimefield')) {
showTimeOption = true;
}
-
- $this_element
- .datepicker({
+
+ var defaultOptions = {
showOn: 'button',
buttonImage: themeCalendarImage, // defined in js/messages.php
buttonImageOnly: true,
@@ -164,7 +163,9 @@ function PMA_addDatepicker($this_element) {
},0);
},
constrainInput: false
- });
+ };
+
+ $this_element.datepicker($.extend(defaultOptions, options));
}
/**
@@ -2409,7 +2410,7 @@ $(function() {
});
var img = topmenu.find('li:first-child img');
if (img.length) {
- img.clone().attr('src', img.attr('src').replace(/\/[^\/]+$/, '/b_more.png')).prependTo(link);
+ img.clone().attr('class', 'icon ic_b_more').prependTo(link);
}
var submenu = $('<li />', {'class': 'submenu'})
.append(link)
diff --git a/js/navigation.js b/js/navigation.js
index 20aea18..167eb37 100644
--- a/js/navigation.js
+++ b/js/navigation.js
@@ -28,13 +28,13 @@ function toggle(id, only_open) {
if (el.style.display == 'none' || only_open) {
el.style.display = '';
if (img) {
- img.src = image_minus;
+ img.className = 'icon ic_b_minus';
img.alt = '-';
}
} else {
el.style.display = 'none';
if (img) {
- img.src = image_plus;
+ img.className = 'icon ic_b_plus';
img.alt = '+';
}
}
diff --git a/js/server_status.js b/js/server_status.js
index 2fda29f..ac4071c 100644
--- a/js/server_status.js
+++ b/js/server_status.js
@@ -439,7 +439,7 @@ $(function() {
});
$('#serverstatusqueriesdetails tr:first th')
- .append('<img class="sortableIcon" src="' + pmaThemeImage + 'cleardot.gif" alt="">');
+ .append('<img class="icon sortableIcon" src="themes/dot.gif" alt="">');
break;
@@ -453,7 +453,7 @@ $(function() {
});
$('#serverstatusvariables tr:first th')
- .append('<img class="sortableIcon" src="' + pmaThemeImage + 'cleardot.gif" alt="">');
+ .append('<img class="icon sortableIcon" src="themes/dot.gif" alt="">');
break;
}
@@ -942,9 +942,9 @@ $(function() {
$('a[href="#pauseCharts"]').click(function() {
runtime.redrawCharts = ! runtime.redrawCharts;
if(! runtime.redrawCharts)
- $(this).html('<img src="' + pmaThemeImage + 'play.png" alt="" /> ' + PMA_messages['strResumeMonitor']);
+ $(this).html('<img src="themes/dot.gif" class="icon ic_play" alt="" /> ' + PMA_messages['strResumeMonitor']);
else {
- $(this).html('<img src="' + pmaThemeImage + 'pause.png" alt="" /> ' + PMA_messages['strPauseMonitor']);
+ $(this).html('<img src="themes/dot.gif" class="icon ic_pause" alt="" /> ' + PMA_messages['strPauseMonitor']);
if(runtime.charts == null) {
initGrid();
$('a[href="#settingsPopup"]').show();
@@ -968,7 +968,7 @@ $(function() {
$.get('server_status.php?' + url_query, vars,
function(data) {
var logVars = $.parseJSON(data),
- icon = 's_success.png', msg='', str='';
+ icon = 'ic_s_success', msg='', str='';
if(logVars['general_log'] == 'ON') {
if(logVars['slow_query_log'] == 'ON')
@@ -982,26 +982,26 @@ $(function() {
}
if(msg.length == 0) {
- icon = 's_error.png';
+ icon = 'ic_s_error';
msg = PMA_messages['strBothLogOff'];
}
str = '<b>' + PMA_messages['strCurrentSettings'] + '</b><br><div class="smallIndent">';
- str += '<img src="' + pmaThemeImage + icon + '" alt=""/> ' + msg + '<br />';
+ str += '<img src="themes/dot.gif" class="icon ' + icon + '" alt=""/> ' + msg + '<br />';
if(logVars['log_output'] != 'TABLE')
- str += '<img src="' + pmaThemeImage + 's_error.png" alt=""/> ' + PMA_messages['strLogOutNotTable'] + '<br />';
+ str += '<img src="themes/dot.gif" class="icon ic_s_error" alt=""/> ' + PMA_messages['strLogOutNotTable'] + '<br />';
else
- str += '<img src="' + pmaThemeImage + 's_success.png" alt=""/> ' + PMA_messages['strLogOutIsTable'] + '<br />';
+ str += '<img src="themes/dot.gif" class="icon ic_s_success" alt=""/> ' + PMA_messages['strLogOutIsTable'] + '<br />';
if(logVars['slow_query_log'] == 'ON') {
if(logVars['long_query_time'] > 2)
- str += '<img src="' + pmaThemeImage + 's_attention.png" alt=""/> '
+ str += '<img src="themes/dot.gif" class="icon ic_s_attention" alt=""/> '
+ $.sprintf(PMA_messages['strSmallerLongQueryTimeAdvice'], logVars['long_query_time'])
+ '<br />';
if(logVars['long_query_time'] < 2)
- str += '<img src="' + pmaThemeImage + 's_success.png" alt=""/> '
+ str += '<img src="themes/dot.gif" class="icon ic_s_success" alt=""/> '
+ $.sprintf(PMA_messages['strLongQueryTimeSet'], logVars['long_query_time'])
+ '<br />';
}
@@ -1261,27 +1261,47 @@ $(function() {
$('#logAnalyseDialog').html(
'<p>' + PMA_messages['strSelectedTimeRange']
- + Highcharts.dateFormat('%H:%M:%S',new Date(min)) + ' - '
- + Highcharts.dateFormat('%H:%M:%S',new Date(max)) + '</p>'
+ + '<input type="text" name="dateStart" class="datetimefield" value="' + Highcharts.dateFormat('%Y-%m-%d %H:%M:%S',new Date(min)) + '" /> - '
+ + '<input type="text" name="dateEnd" class="datetimefield" value="' + Highcharts.dateFormat('%Y-%m-%d %H:%M:%S',new Date(max)) + '" /></p>'
+ '<input type="checkbox" id="groupInserts" value="1" checked="checked" />'
+ '<label for="groupData">' + PMA_messages['strGroupInserts'] + '</label>'
+ PMA_messages['strLogAnalyseInfo']
);
+ PMA_addDatepicker($('#logAnalyseDialog').find('input[name="dateStart"],input[name="dateEnd"]'), {
+ showOn: 'focus',
+ beforeShow: function() {
+ // Fix wrong timepicker z-index, doesn't work without timeout
+ setTimeout(function() {
+ $('#ui-timepicker-div').css('z-index',$('#ui-datepicker-div').css('z-index'))
+ },0);
+ }
+ });
+
var dlgBtns = { };
dlgBtns[PMA_messages['strFromSlowLog']] = function() {
+ var dateStart = Date.parse($('#logAnalyseDialog input[name="dateStart"]').attr('value')) || min;
+ var dateEnd = Date.parse($('#logAnalyseDialog input[name="dateEnd"]').attr('value')) || max;
+
loadLogStatistics(
- { src: 'slow', start: min, end: max, groupInserts: $('input#groupInserts').attr('checked') }
+ { src: 'slow', start: dateStart, end: dateEnd, groupInserts: $('input#groupInserts').attr('checked') }
);
+
+ $('#logAnalyseDialog').find('dateStart,dateEnd').datepicker('destroy');
$(this).dialog("close");
}
dlgBtns[PMA_messages['strFromGeneralLog']] = function() {
+ var dateStart = Date.parse($('#logAnalyseDialog input[name="dateStart"]').attr('value')) || min;
+ var dateEnd = Date.parse($('#logAnalyseDialog input[name="dateEnd"]').attr('value')) || max;
+
loadLogStatistics(
- { src: 'general', start: min, end: max, groupInserts: $('input#groupInserts').attr('checked') }
+ { src: 'general', start: dateStart, end: dateEnd, groupInserts: $('input#groupInserts').attr('checked') }
);
+
+ $('#logAnalyseDialog').find('dateStart,dateEnd').datepicker('destroy');
$(this).dialog("close");
}
@@ -1508,14 +1528,16 @@ $(function() {
tableStr += '<td>' + formatValue(cols[j], rows[i][cols[j]]) + '</td>';
tableStr += '</tr>';
}
-
- tableStr+='</tbody></table>';
-
+
+ tableStr += '</tbody><tfoot>';
+ tableStr += '<tr><th colspan="' + (cols.length - 1) + '">Sum of grouped rows: '+ data.numRows +'<span style="float:right">Total:</span></th><th align="right">' + data.sum.TOTAL + '</th></tr>';
+ tableStr += '</tfoot></table>';
+
$('#logTable').html(tableStr);
// Append a tooltip to the count column, if there exist one
if($('#logTable th:last').html() == '#') {
- $('#logTable th:last').append(' <img class="qroupedQueryInfoIcon" src="' + pmaThemeImage + 'b_docs.png" alt="" />');
+ $('#logTable th:last').append(' <img class="qroupedQueryInfoIcon icon ic_b_docs" src="themes/dot.gif" alt="" />');
var qtipContent = PMA_messages['strCountColumnExplanation'];
if(groupInserts) qtipContent += '<p>' + PMA_messages['strMoreCountColumnExplanation'] + '</p>';
@@ -1533,13 +1555,15 @@ $(function() {
})
}
+
+
$('div#logTable table').tablesorter({
sortList: [[0,1]],
widgets: ['zebra']
});
$('div#logTable table thead th')
- .append('<img class="sortableIcon" src="' + pmaThemeImage + 'cleardot.gif" alt="">');
+ .append('<img class="icon sortableIcon" src="themes/dot.gif" alt="">');
$('#loadingLogsDialog').html('<p>' + PMA_messages['strLogDataLoaded'] + '</p>');
@@ -1549,6 +1573,64 @@ $(function() {
$('#loadingLogsDialog').append(key + ': ' + value + '<br/>');
});
+ if(data.numRows > 12) {
+ $('div#logTable').prepend(
+ '<fieldset id="logDataFilter">' +
+ ' <legend>Filters</legend>' +
+ ' <div class="formelement">' +
+ ' <label for="filterQueryText">Filter queries by word/regexp:</label>' +
+ ' <input name="filterQueryText" type="text" id="filterQueryText" style="vertical-align: baseline;" />' +
+ ((data.numRows > 250) ? ' <button name="startFilterQueryText" id="startFilterQueryText">Filter</button>' : '') +
+ ' </div>' +
+ '</fieldset>'
+ );
+
+ if(data.numRows > 250) {
+ $('div#logTable button#startFilterQueryText').click(filterQueries);
+ } else {
+ $('div#logTable input#filterQueryText').keyup(filterQueries);
+ }
+
+ function filterQueries() {
+ var odd_row=false, cell, textFilter;
+ var val = $('div#logTable input#filterQueryText').val();
+
+ if(val.length == 0) textFilter = null;
+ else textFilter = new RegExp(val, 'i');
+
+ var rowSum = 0, totalSum = 0;
+
+ $('div#logTable table tbody tr').each(function() {
+ // We just assume the sql text is always in the second last column
+ cell = $(this).children(':nth-child(' + (cols.length - 1) + ')');
+
+ if(textFilter==null || textFilter.exec(cell.text())) {
+ // And that total count is right of the sql text
+ totalSum += parseInt(cell.next().text());
+ rowSum ++;
+
+ odd_row = !odd_row;
+ $(this).css('display','');
+ if(odd_row) {
+ $(this).addClass('odd');
+ $(this).removeClass('even');
+ } else {
+ $(this).addClass('even');
+ $(this).removeClass('odd');
+ }
+ } else {
+ $(this).css('display','none');
+ }
+ });
+
+
+ $('div#logTable table tfoot tr')
+ .html('<th colspan="' + (cols.length - 1) +
+ '">Sum of grouped rows: '+ rowSum +'<span style="float:right">Total:</span></th><th align="right">' +
+ totalSum + '</th>');
+ };
+ }
+
var dlgBtns = {};
dlgBtns[PMA_messages['strJumpToTable']] = function() {
$(this).dialog("close");
diff --git a/js/server_synchronize.js b/js/server_synchronize.js
index e1645ae..1dfd3d2 100644
--- a/js/server_synchronize.js
+++ b/js/server_synchronize.js
@@ -96,7 +96,8 @@ function showDetails(i, update_size, insert_size, remove_size, insert_index, rem
insert_rows.align = "center";
var tick_image = document.createElement("img");
- tick_image.src = pmaThemeImage + "s_success.png";
+ tick_image.src = 'themes/dot.gif';
+ tick_image.className = "icon ic_s_success";
if (update_size == '' && insert_size == '' && remove_size == '') {
/**
diff --git a/js/server_variables.js b/js/server_variables.js
index e7e469c..e9bc1cf 100644
--- a/js/server_variables.js
+++ b/js/server_variables.js
@@ -54,9 +54,9 @@ $(function() {
var charWidth;
// Global vars
- editLink = '<a href="#" class="editLink" onclick="return editVariable(this);"><img src="'+pmaThemeImage+'b_edit.png" alt="" width="16" height="16"> '+PMA_messages['strEdit']+'</a>';
- saveLink = '<a href="#" class="saveLink"><img src="'+pmaThemeImage+'b_save.png" alt="" width="16" height="16"> '+PMA_messages['strSave']+'</a> ';
- cancelLink = '<a href="#" class="cancelLink"><img src="'+pmaThemeImage+'b_close.png" alt="" width="16" height="16"> '+PMA_messages['strCancel']+'</a> ';
+ editLink = '<a href="#" class="editLink" onclick="return editVariable(this);"><img class="icon ic_b_edit" src="themes/dot.gif" alt=""> '+PMA_messages['strEdit']+'</a>';
+ saveLink = '<a href="#" class="saveLink"><img class="icon ic_b_save" src="themes/dot.gif" alt=""> '+PMA_messages['strSave']+'</a> ';
+ cancelLink = '<a href="#" class="cancelLink"><img class="icon ic_b_close" src="themes/dot.gif" alt=""> '+PMA_messages['strCancel']+'</a> ';
$.ajaxSetup({
diff --git a/js/sql.js b/js/sql.js
index 90f843d..0476795 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -65,8 +65,8 @@ function appendInlineAnchor() {
var $img_object = $cloned_anchor.find('img').attr('title', PMA_messages['strInlineEdit']);
if ($img_object.length != 0) {
- var img_src = $img_object.attr('src').replace(/b_edit/,'b_inline_edit');
- $img_object.attr('src', img_src);
+ var img_class = $img_object.attr('class').replace(/b_edit/,'b_inline_edit');
+ $img_object.attr('class', img_class);
$cloned_anchor.find('a').attr('href', '#');
var $edit_span = $cloned_anchor.find('span:contains("' + PMA_messages['strEdit'] + '")');
var $span = $cloned_anchor.find('a').find('span');
@@ -85,8 +85,8 @@ function appendInlineAnchor() {
// the link was too big so <input type="image"> is there
$img_object = $cloned_anchor.find('input:image').attr('title', PMA_messages['strInlineEdit']);
if ($img_object.length > 0) {
- var img_src = $img_object.attr('src').replace(/b_edit/,'b_inline_edit');
- $img_object.attr('src', img_src);
+ var img_class = $img_object.attr('class').replace(/b_edit/,'b_inline_edit');
+ $img_object.attr('class', img_class);
}
$cloned_anchor
.find('.clickprevimage')
@@ -444,8 +444,8 @@ $(document).ready(function() {
// If icons are displayed. See $cfg['PropertiesIconic']
if ($img_object.length > 0) {
$img_object.attr('title', PMA_messages['strSave']);
- var img_src = $img_object.attr('src').replace(/b_inline_edit/,'b_save');
- $img_object.attr('src', img_src);
+ var img_class = $img_object.attr('class').replace(/b_inline_edit/,'b_save');
+ $img_object.attr('class', img_class);
$this_children.prepend($img_object);
}
@@ -464,8 +464,8 @@ $(document).ready(function() {
// If icons are displayed. See $cfg['PropertiesIconic']
if ($img_object.length > 0) {
$img_object.attr('title', PMA_messages['strHide']);
- var img_src = $img_object.attr('src').replace(/b_save/,'b_close');
- $img_object.attr('src', img_src);
+ var img_class = $img_object.attr('class').replace(/b_save/,'b_close');
+ $img_object.attr('class', img_class);
$hide_span.prepend($img_object);
}
diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php
index 2f3323e..9360b9a 100644
--- a/libraries/auth/cookie.auth.lib.php
+++ b/libraries/auth/cookie.auth.lib.php
@@ -131,7 +131,7 @@ function PMA_auth()
// Defines the charset to be used
header('Content-Type: text/html; charset=utf-8');
// Defines the "item" image depending on text direction
- $item_img = $GLOBALS['pmaThemeImage'] . 'item_' . $GLOBALS['text_dir'] . '.png';
+ $item_img = 'ic_item_' . $GLOBALS['text_dir'];
/* HTML header; do not show here the PMA version to improve security */
$page_title = 'phpMyAdmin ';
@@ -198,7 +198,7 @@ if (top != self) {
echo '<a href="./Documentation.html" target="documentation" ' .
'title="' . __('phpMyAdmin documentation') . '">';
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
- echo '<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" alt="' . __('phpMyAdmin documentation') . '" />';
+ echo '<img class="icon ic_b_help_s" src="themes/dot.gif" alt="' . __('phpMyAdmin documentation') . '" />';
} else {
echo '(*)';
}
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index b7df61a..f710b80 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -97,9 +97,9 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
$button .= '<span class="nowrap">';
if ($include_icon) {
- $button .= '<img src="' . $GLOBALS['pmaThemeImage'] . $icon . '"'
+ $button .= '<img src="themes/dot.gif"'
. ' title="' . $alternate . '" alt="' . $alternate . '"'
- . ' class="icon" width="16" height="16" />';
+ . ' class="icon ic_' . str_replace('.png','',$icon) . '" />';
}
if ($include_icon && $include_text) {
@@ -393,9 +393,9 @@ function PMA_showMySQLDocu($chapter, $link, $big_icon = false, $anchor = '', $ju
if ($just_open) {
return '<a href="' . PMA_linkURL($url) . '" target="mysql_doc">';
} elseif ($big_icon) {
- return '<a href="' . PMA_linkURL($url) . '" target="mysql_doc"><img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_sqlhelp.png" width="16" height="16" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
+ return '<a href="' . PMA_linkURL($url) . '" target="mysql_doc"><img class="icon ic_b_sqlhelp" src="themes/dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
} elseif ($GLOBALS['cfg']['ReplaceHelpImg']) {
- return '<a href="' . PMA_linkURL($url) . '" target="mysql_doc"><img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
+ return '<a href="' . PMA_linkURL($url) . '" target="mysql_doc"><img class="icon ic_b_help_s" src="themes/dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
} else {
return '[<a href="' . PMA_linkURL($url) . '" target="mysql_doc">' . __('Documentation') . '</a>]';
}
@@ -412,7 +412,7 @@ function PMA_showMySQLDocu($chapter, $link, $big_icon = false, $anchor = '', $ju
*/
function PMA_showDocu($anchor) {
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
- return '<a href="Documentation.html#' . $anchor . '" target="documentation"><img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
+ return '<a href="Documentation.html#' . $anchor . '" target="documentation"><img class="icon ic_b_help_s" src="themes/dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
} else {
return '[<a href="Documentation.html#' . $anchor . '" target="documentation">' . __('Documentation') . '</a>]';
}
@@ -430,7 +430,7 @@ function PMA_showPHPDocu($target) {
$url = PMA_getPHPDocLink($target);
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
- return '<a href="' . $url . '" target="documentation"><img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png" width="11" height="11" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
+ return '<a href="' . $url . '" target="documentation"><img class="icon ic_b_help_s" src="themes/dot.gif" alt="' . __('Documentation') . '" title="' . __('Documentation') . '" /></a>';
} else {
return '[<a href="' . $url . '" target="documentation">' . __('Documentation') . '</a>]';
}
@@ -474,8 +474,7 @@ function PMA_showHint($message, $bbcode = false, $type = 'notice')
// footnotemarker used in js/tooltip.js
return '<sup class="footnotemarker">' . $nr . '</sup>' .
- '<img class="footnotemarker footnote_' . $nr . '" src="' .
- $GLOBALS['pmaThemeImage'] . 'b_help.png" alt="" />';
+ '<img class="footnotemarker ic_b_help footnote_' . $nr . '" src="themes/dot.gif" alt="" />';
}
/**
@@ -1506,7 +1505,7 @@ function PMA_localisedDate($timestamp = -1, $format = '')
* @return string html code for one tab, a link if valid otherwise a span
* @access public
*/
-function PMA_generate_html_tab($tab, $url_params = array())
+function PMA_generate_html_tab($tab, $url_params = array(), $base_dir='')
{
// default values
$defaults = array(
@@ -1568,8 +1567,8 @@ function PMA_generate_html_tab($tab, $url_params = array())
// avoid generating an alt tag, because it only illustrates
// the text that follows and if browser does not display
// images, the text is duplicated
- $image = '<img class="icon" src="' . htmlentities($GLOBALS['pmaThemeImage'])
- .'%1$s" width="16" height="16" alt="" />%2$s';
+ $image = '<img class="icon %1$s" src="' . $base_dir . 'themes/dot.gif"'
+ .' width="16" height="16" alt="" />%2$s';
$tab['text'] = sprintf($image, htmlentities($tab['icon']), $tab['text']);
}
// check to not display an empty link-text
@@ -1604,7 +1603,7 @@ function PMA_generate_html_tab($tab, $url_params = array())
* @param string $url_params
* @return string html-code for tab-navigation
*/
-function PMA_generate_html_tabs($tabs, $url_params)
+function PMA_generate_html_tabs($tabs, $url_params, $base_dir='')
{
$tag_id = 'topmenu';
$tab_navigation =
@@ -1612,7 +1611,7 @@ function PMA_generate_html_tabs($tabs, $url_params)
.'<ul id="' . htmlentities($tag_id) . '">' . "\n";
foreach ($tabs as $tab) {
- $tab_navigation .= PMA_generate_html_tab($tab, $url_params);
+ $tab_navigation .= PMA_generate_html_tab($tab, $url_params, $base_dir);
}
$tab_navigation .=
diff --git a/libraries/config/FormDisplay.tpl.php b/libraries/config/FormDisplay.tpl.php
index c893654..be680d3 100644
--- a/libraries/config/FormDisplay.tpl.php
+++ b/libraries/config/FormDisplay.tpl.php
@@ -159,8 +159,8 @@ function display_input($path, $name, $description = '', $type, $value, $value_is
<label for="<?php echo htmlspecialchars($path) ?>"><?php echo $name ?></label>
<?php if (!empty($opts['doc']) || !empty($opts['wiki'])) { ?>
<span class="doc">
- <?php if (!empty($opts['doc'])) { ?><a href="<?php echo $base_dir . $opts['doc'] ?>" target="documentation"><img class="icon" src="<?php echo $img_path ?>b_help.png" width="11" height="11" alt="Doc" title="<?php echo __('Documentation') ?>" /></a><?php } ?>
- <?php if (!empty($opts['wiki'])){ ?><a href="<?php echo $opts['wiki'] ?>" target="wiki"><img class="icon" src="<?php echo $img_path ?>b_info.png" width="11" height="11" alt="Wiki" title="Wiki" /></a><?php } ?>
+ <?php if (!empty($opts['doc'])) { ?><a href="<?php echo $base_dir . $opts['doc'] ?>" target="documentation"><img class="icon ic_b_help_s" src="<?php echo $base_dir; ?>themes/dot.gif" alt="Doc" title="<?php echo __('Documentation') ?>" /></a><?php } ?>
+ <?php if (!empty($opts['wiki'])){ ?><a href="<?php echo $opts['wiki'] ?>" target="wiki"><img class="icon ic_b_info" src="<?php echo $base_dir; ?>themes/dot.gif" alt="Wiki" title="Wiki" /></a><?php } ?>
</span>
<?php } ?>
<?php if ($option_is_disabled) { ?>
@@ -234,17 +234,17 @@ function display_input($path, $name, $description = '', $type, $value, $value_is
}
if ($is_setup_script && isset($opts['userprefs_comment']) && $opts['userprefs_comment']) {
?>
- <a class="userprefs-comment" title="<?php echo htmlspecialchars($opts['userprefs_comment']) ?>"><img alt="comment" src="<?php echo $img_path ?>b_tblops.png" width="16" height="16" /></a>
+ <a class="userprefs-comment" title="<?php echo htmlspecialchars($opts['userprefs_comment']) ?>"><img alt="comment" class="icon ic_b_tblops" src="<?php echo $base_dir; ?>themes/dot.gif" /></a>
<?php
}
if (isset($opts['setvalue']) && $opts['setvalue']) {
?>
- <a class="set-value" href="#<?php echo htmlspecialchars("$path={$opts['setvalue']}") ?>" title="<?php echo sprintf(__('Set value: %s'), htmlspecialchars($opts['setvalue'])) ?>" style="display:none"><img alt="set-value" src="<?php echo $img_path ?>b_edit.png" width="16" height="16" /></a>
+ <a class="set-value" href="#<?php echo htmlspecialchars("$path={$opts['setvalue']}") ?>" title="<?php echo sprintf(__('Set value: %s'), htmlspecialchars($opts['setvalue'])) ?>" style="display:none"><img alt="set-value" class="icon ic_b_edit" src="<?php echo $base_dir; ?>themes/dot.gif" /></a>
<?php
}
if (isset($opts['show_restore_default']) && $opts['show_restore_default']) {
?>
- <a class="restore-default" href="#<?php echo $path ?>" title="<?php echo __('Restore default value') ?>" style="display:none"><img alt="restore-default" src="<?php echo $img_path ?>s_reload.png" width="16" height="16" /></a>
+ <a class="restore-default" href="#<?php echo $path ?>" title="<?php echo __('Restore default value') ?>" style="display:none"><img alt="restore-default" class="icon ic_s_reload" src="<?php echo $base_dir; ?>themes/dot.gif" /></a>
<?php
}
// this must match with displayErrors() in scripts/config.js
diff --git a/libraries/db_links.inc.php b/libraries/db_links.inc.php
index 604efde..5a95622 100644
--- a/libraries/db_links.inc.php
+++ b/libraries/db_links.inc.php
@@ -46,64 +46,64 @@ if ($num_tables == 0) {
$tab_structure['link'] = 'db_structure.php';
$tab_structure['text'] = __('Structure');
-$tab_structure['icon'] = 'b_props.png';
+$tab_structure['icon'] = 'ic_b_props';
$tab_sql['link'] = 'db_sql.php';
$tab_sql['args']['db_query_force'] = 1;
$tab_sql['text'] = __('SQL');
-$tab_sql['icon'] = 'b_sql.png';
+$tab_sql['icon'] = 'ic_b_sql';
$tab_export['text'] = __('Export');
-$tab_export['icon'] = 'b_export.png';
+$tab_export['icon'] = 'ic_b_export';
$tab_export['link'] = 'db_export.php';
$tab_search['text'] = __('Search');
-$tab_search['icon'] = 'b_search.png';
+$tab_search['icon'] = 'ic_b_search';
$tab_search['link'] = 'db_search.php';
if(PMA_Tracker::isActive())
{
$tab_tracking['text'] = __('Tracking');
- $tab_tracking['icon'] = 'eye.png';
+ $tab_tracking['icon'] = 'ic_eye';
$tab_tracking['link'] = 'db_tracking.php';
}
$tab_qbe['text'] = __('Query');
-$tab_qbe['icon'] = 's_db.png';
+$tab_qbe['icon'] = 'ic_s_db';
$tab_qbe['link'] = 'db_qbe.php';
if ($cfgRelation['designerwork']) {
$tab_designer['text'] = __('Designer');
- $tab_designer['icon'] = 'b_relations.png';
+ $tab_designer['icon'] = 'ic_b_relations';
$tab_designer['link'] = 'pmd_general.php';
}
if (! $db_is_information_schema) {
$tab_import['link'] = 'db_import.php';
$tab_import['text'] = __('Import');
- $tab_import['icon'] = 'b_import.png';
+ $tab_import['icon'] = 'ic_b_import';
$tab_operation['link'] = 'db_operations.php';
$tab_operation['text'] = __('Operations');
- $tab_operation['icon'] = 'b_tblops.png';
+ $tab_operation['icon'] = 'ic_b_tblops';
if ($is_superuser) {
$tab_privileges['link'] = 'server_privileges.php';
$tab_privileges['args']['checkprivs'] = $db;
// stay on database view
$tab_privileges['args']['viewing_mode'] = 'db';
$tab_privileges['text'] = __('Privileges');
- $tab_privileges['icon'] = 's_rights.png';
+ $tab_privileges['icon'] = 'ic_s_rights';
}
$tab_routines['link'] = 'db_routines.php';
$tab_routines['text'] = __('Routines');
- $tab_routines['icon'] = 'b_routines.png';
+ $tab_routines['icon'] = 'ic_b_routines';
$tab_events['link'] = 'db_events.php';
$tab_events['text'] = __('Events');
- $tab_events['icon'] = 'b_events.png';
+ $tab_events['icon'] = 'ic_b_events';
$tab_triggers['link'] = 'db_triggers.php';
$tab_triggers['text'] = __('Triggers');
- $tab_triggers['icon'] = 'b_triggers.png';
+ $tab_triggers['icon'] = 'ic_b_triggers';
}
/**
diff --git a/libraries/db_structure.lib.php b/libraries/db_structure.lib.php
index afb3ce5..68e4b9d 100644
--- a/libraries/db_structure.lib.php
+++ b/libraries/db_structure.lib.php
@@ -94,19 +94,19 @@ function PMA_SortableTableHeader($title, $sort, $initial_sort_order = 'ASC')
if ($requested_sort_order == 'ASC') {
$future_sort_order = 'DESC';
// current sort order is ASC
- $order_img = ' <img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 's_asc.png" width="11" height="9" alt="'. __('Ascending') . '" title="'. __('Ascending') . '" id="sort_arrow" />';
+ $order_img = ' <img class="icon ic_s_asc" src="themes/dot.gif" alt="'. __('Ascending') . '" title="'. __('Ascending') . '" id="sort_arrow" />';
// but on mouse over, show the reverse order (DESC)
- $order_link_params['onmouseover'] = 'if(document.getElementById(\'sort_arrow\')){ document.getElementById(\'sort_arrow\').src=\'' . $GLOBALS['pmaThemeImage'] . 's_desc.png\'; }';
+ $order_link_params['onmouseover'] = 'if($(\'#sort_arrow\').length > 0) { $(\'#sort_arrow\').attr(\'class\',\'icon ic_s_desc\'); }';
// on mouse out, show current sort order (ASC)
- $order_link_params['onmouseout'] = 'if(document.getElementById(\'sort_arrow\')){ document.getElementById(\'sort_arrow\').src=\'' . $GLOBALS['pmaThemeImage'] . 's_asc.png\'; }';
+ $order_link_params['onmouseout'] = 'if($(\'#sort_arrow\').length > 0) { $(\'#sort_arrow\').attr(\'class\',\'icon ic_s_asc\'); }';
} else {
$future_sort_order = 'ASC';
// current sort order is DESC
- $order_img = ' <img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 's_desc.png" width="11" height="9" alt="'. __('Descending') . '" title="'. __('Descending') . '" id="sort_arrow" />';
+ $order_img = ' <img class="icon ic_s_desc" src="themes/dot.gif" alt="'. __('Descending') . '" title="'. __('Descending') . '" id="sort_arrow" />';
// but on mouse over, show the reverse order (ASC)
- $order_link_params['onmouseover'] = 'if(document.getElementById(\'sort_arrow\')){ document.getElementById(\'sort_arrow\').src=\'' . $GLOBALS['pmaThemeImage'] . 's_asc.png\'; }';
+ $order_link_params['onmouseover'] = 'if($(\'#sort_arrow\').length > 0) { $(\'#sort_arrow\').attr(\'class\',\'icon ic_s_asc\'); }';
// on mouse out, show current sort order (DESC)
- $order_link_params['onmouseout'] = 'if(document.getElementById(\'sort_arrow\')){ document.getElementById(\'sort_arrow\').src=\'' . $GLOBALS['pmaThemeImage'] . 's_desc.png\'; }';
+ $order_link_params['onmouseout'] = 'if($(\'#sort_arrow\').length > 0) { $(\'#sort_arrow\').attr(\'class\',\'icon ic_s_desc\'); }';
}
}
diff --git a/libraries/display_create_database.lib.php b/libraries/display_create_database.lib.php
index e0031a4..1ec7931 100644
--- a/libraries/display_create_database.lib.php
+++ b/libraries/display_create_database.lib.php
@@ -39,7 +39,7 @@ if ($is_create_db_priv) {
<strong><?php echo __('Create database') . ': ' . PMA_showMySQLDocu('SQL-Syntax', 'CREATE_DATABASE'); ?></strong><br />
<?php
echo '<span class="noPrivileges">'
- . ($cfg['ErrorIconic'] ? '<img src="' . $pmaThemeImage . 's_error2.png" alt="" width="11" height="11" hspace="2" border="0" align="middle" />' : '')
+ . ($cfg['ErrorIconic'] ? '<img class="icon ic_s_error2" src="themes/dot.gif" alt="" hspace="2" border="0" align="middle" />' : '')
. '' . __('No Privileges') .'</span>';
} // end create db form or message
?>
diff --git a/libraries/display_create_table.lib.php b/libraries/display_create_table.lib.php
index 5ec2d9a..8341342 100644
--- a/libraries/display_create_table.lib.php
+++ b/libraries/display_create_table.lib.php
@@ -41,7 +41,7 @@ $is_create_table_priv = true;
<legend>
<?php
if ($GLOBALS['cfg']['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_newtbl.png" width="16" height="16" alt="" />';
+ echo '<img class="icon ic_b_newtbl" src="themes/dot.gif" alt="" />';
}
echo sprintf(__('Create table on database %s'), PMA_getDbLink());
?>
diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php
index dd6c347..28e0bf2 100644
--- a/libraries/display_export.lib.php
+++ b/libraries/display_export.lib.php
@@ -74,7 +74,7 @@ if(isset($_GET['sql_query'])) {
<div class="exportoptions" id="header">
<h2>
- <img src="<?php echo $GLOBALS['pmaThemeImage'];?>b_export.png" alt="export" />
+ <img class="icon ic_b_export" src="themes/dot.gif" alt="export" />
<?php
if($export_type == 'server') {
echo __('Exporting databases from the current server');
diff --git a/libraries/display_import.lib.php b/libraries/display_import.lib.php
index 05df2d0..119ccd1 100644
--- a/libraries/display_import.lib.php
+++ b/libraries/display_import.lib.php
@@ -123,7 +123,7 @@ if ($_SESSION[$SESSION_KEY]["handler"]!="noplugin") {
<div class="exportoptions" id="header">
<h2>
- <img src="<?php echo $GLOBALS['pmaThemeImage'];?>b_import.png" alt="import" />
+ <img class="icon ic_b_import" src="themes/dot.gif" alt="import" />
<?php
if($import_type == 'server') {
echo __('Importing into the current server');
diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php
index 0b3ef2f..8bf4f3c 100644
--- a/libraries/display_tbl.lib.php
+++ b/libraries/display_tbl.lib.php
@@ -889,10 +889,10 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
$order_img = '';
} elseif ('DESC' == $sort_direction) {
$sort_order .= ' ASC';
- $order_img = ' <img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 's_desc.png" width="11" height="9" alt="'. __('Descending') . '" title="'. __('Descending') . '" id="soimg' . $i . '" />';
+ $order_img = ' <img class="icon ic_s_desc" src="themes/dot.gif" alt="'. __('Descending') . '" title="'. __('Descending') . '" id="soimg' . $i . '" />';
} else {
$sort_order .= ' DESC';
- $order_img = ' <img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 's_asc.png" width="11" height="9" alt="'. __('Ascending') . '" title="'. __('Ascending') . '" id="soimg' . $i . '" />';
+ $order_img = ' <img class="icon ic_s_asc" src="themes/dot.gif" alt="'. __('Ascending') . '" title="'. __('Ascending') . '" id="soimg' . $i . '" />';
}
if (preg_match('@(.*)([[:space:]](LIMIT (.*)|PROCEDURE (.*)|FOR UPDATE|LOCK IN SHARE MODE))@is', $unsorted_sql_query, $regs3)) {
@@ -913,11 +913,11 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
$order_link_params = array();
if (isset($order_img) && $order_img!='') {
if (strstr($order_img, 'asc')) {
- $order_link_params['onmouseover'] = 'if(document.getElementById(\'soimg' . $i . '\')){ document.getElementById(\'soimg' . $i . '\').src=\'' . $GLOBALS['pmaThemeImage'] . 's_desc.png\'; }';
- $order_link_params['onmouseout'] = 'if(document.getElementById(\'soimg' . $i . '\')){ document.getElementById(\'soimg' . $i . '\').src=\'' . $GLOBALS['pmaThemeImage'] . 's_asc.png\'; }';
+ $order_link_params['onmouseover'] = 'if($(\'#soimg' . $i . '\').length > 0) { $(\'#soimg' . $i . '\').attr(\'class\', \'icon ic_s_desc\'); }';
+ $order_link_params['onmouseout'] = 'if($(\'#soimg' . $i . '\').length > 0) { $(\'#soimg' . $i . '\').attr(\'class\', \'icon ic_s_asc\'); }';
} elseif (strstr($order_img, 'desc')) {
- $order_link_params['onmouseover'] = 'if(document.getElementById(\'soimg' . $i . '\')){ document.getElementById(\'soimg' . $i . '\').src=\'' . $GLOBALS['pmaThemeImage'] . 's_asc.png\'; }';
- $order_link_params['onmouseout'] = 'if(document.getElementById(\'soimg' . $i . '\')){ document.getElementById(\'soimg' . $i . '\').src=\'' . $GLOBALS['pmaThemeImage'] . 's_desc.png\'; }';
+ $order_link_params['onmouseover'] = 'if($(\'#soimg' . $i . '\').length > 0) { $(\'#soimg' . $i . '\').attr(\'class\', \'icon ic_s_asc\'); }';
+ $order_link_params['onmouseout'] = 'if($(\'#soimg' . $i . '\').length > 0) { $(\'#soimg' . $i . '\').attr(\'class\', \'icon ic_s_desc\'); }';
}
}
if ($GLOBALS['cfg']['HeaderFlipType'] == 'auto') {
diff --git a/libraries/footer.inc.php b/libraries/footer.inc.php
index c94c016..bbeb04b 100644
--- a/libraries/footer.inc.php
+++ b/libraries/footer.inc.php
@@ -162,7 +162,7 @@ setURLHash("<?php echo PMA_generate_common_url($url_params, 'text', ''); ?>");
echo '<a href="index.php' . PMA_generate_common_url($url_params) . '"'
. ' title="' . __('Open new phpMyAdmin window') . '" target="_blank">';
if ($GLOBALS['cfg']['NavigationBarIconic']) {
- echo '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 'window-new.png"'
+ echo '<img class="icon ic_window-new" src="themes/dot.gif"'
. ' alt="' . __('Open new phpMyAdmin window') . '" />';
}
if ($GLOBALS['cfg']['NavigationBarIconic'] !== true) {
diff --git a/libraries/header.inc.php b/libraries/header.inc.php
index 270b421..5700047 100644
--- a/libraries/header.inc.php
+++ b/libraries/header.inc.php
@@ -110,8 +110,8 @@ if (isset($GLOBALS['is_ajax_request']) && !$GLOBALS['is_ajax_request']) {
);
$item = '<a href="%1$s?%2$s" class="item">';
if ($GLOBALS['cfg']['NavigationBarIconic']) {
- $separator = ' <span class="separator"><img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'item_' . $GLOBALS['text_dir'] . '.png" width="5" height="9" alt="-" /></span>' . "\n";
- $item .= ' <img class="icon" src="' . $GLOBALS['pmaThemeImage'] . '%5$s" width="16" height="16" alt="" /> ' . "\n";
+ $separator = ' <span class="separator"><img class="icon ic_item_' . $GLOBALS['text_dir'] . '" src="themes/dot.gif" alt="-" /></span>' . "\n";
+ $item .= ' <img class="icon %5$s" src="themes/dot.gif" alt="" /> ' . "\n";
} else {
$separator = ' <span class="separator"> - </span>' . "\n";
}
@@ -127,7 +127,7 @@ if (isset($GLOBALS['is_ajax_request']) && !$GLOBALS['is_ajax_request']) {
PMA_generate_common_url(),
htmlspecialchars($server_info),
__('Server'),
- 's_host.png');
+ 'ic_s_host');
if (strlen($GLOBALS['db'])) {
@@ -137,7 +137,7 @@ if (isset($GLOBALS['is_ajax_request']) && !$GLOBALS['is_ajax_request']) {
PMA_generate_common_url($GLOBALS['db']),
htmlspecialchars($GLOBALS['db']),
__('Database'),
- 's_db.png');
+ 'ic_s_db');
// if the table is being dropped, $_REQUEST['purge'] is set to '1'
// so do not display the table name in upper div
if (strlen($GLOBALS['table']) && ! (isset($_REQUEST['purge']) && $_REQUEST['purge'] == '1')) {
@@ -149,7 +149,7 @@ if (isset($GLOBALS['is_ajax_request']) && !$GLOBALS['is_ajax_request']) {
PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']),
str_replace(' ', ' ', htmlspecialchars($GLOBALS['table'])),
(isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view'] ? __('View') : __('Table')),
- (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view'] ? 'b_views' : 's_tbl') . '.png');
+ (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view'] ? 'ic_b_views' : 'ic_s_tbl'));
/**
* Displays table comment
diff --git a/libraries/navigation_header.inc.php b/libraries/navigation_header.inc.php
index e8db6a2..7f7c530 100644
--- a/libraries/navigation_header.inc.php
+++ b/libraries/navigation_header.inc.php
@@ -56,8 +56,7 @@ if ($GLOBALS['cfg']['LeftDisplayLogo']) {
echo '<a href="main.php?' . $query_url . '"'
.' title="' . __('Home') . '">'
.($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon" src="' . $pmaThemeImage . 'b_home.png" width="16" '
- .' height="16" alt="' . __('Home') . '" />'
+ ? '<img class="icon ic_b_home" src="themes/dot.gif" alt="' . __('Home') . '" />'
: __('Home'))
.'</a>' . "\n";
// if we have chosen server
@@ -69,8 +68,7 @@ if ($GLOBALS['cfg']['LeftDisplayLogo']) {
.urlencode($PHP_AUTH_USER) . '" target="_parent"'
.' title="' . __('Log out') . '" >'
.($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon" src="' . $pmaThemeImage . 's_loggoff.png" '
- .' width="16" height="16" alt="' . __('Log out') . '" />'
+ ? '<img class="icon ic_s_loggoff" src="themes/dot.gif" alt="' . __('Log out') . '" />'
: __('Log out'))
.'</a>' . "\n";
} // end if ($GLOBALS['cfg']['Server']['auth_type'] != 'config'
@@ -79,8 +77,7 @@ if ($GLOBALS['cfg']['LeftDisplayLogo']) {
if ($GLOBALS['cfg']['MainPageIconic']) {
$query_frame_link_text =
- '<img class="icon" src="' . $pmaThemeImage . 'b_selboard.png"'
- .' width="16" height="16" alt="' . __('Query window') . '" />';
+ '<img class="icon ic_b_selboard" src="themes/dot.gif" alt="' . __('Query window') . '" />';
} else {
echo '<br />' . "\n";
$query_frame_link_text = __('Query window');
@@ -95,7 +92,7 @@ if ($GLOBALS['cfg']['LeftDisplayLogo']) {
.' title="' . __('phpMyAdmin documentation') . '" >';
if ($GLOBALS['cfg']['MainPageIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_docs.png" width="16" height="16"'
+ echo '<img class="icon ic_b_docs" src="themes/dot.gif"'
.' alt="' . __('phpMyAdmin documentation') . '" />';
}
echo '</a>';
@@ -107,7 +104,7 @@ if ($GLOBALS['cfg']['LeftDisplayLogo']) {
}
echo '<a href="navigation.php?' . PMA_generate_common_url($params) . '" target="frame_navigation">';
if ($GLOBALS['cfg']['MainPageIconic']) {
- echo '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 's_reload.png"'
+ echo '<img class="icon ic_s_reload" src="themes/dot.gif"'
. ' title="' . __('Reload navigation frame') . '"'
. ' alt="' . __('Reload navigation frame') . '" />';
} else {
diff --git a/libraries/schema/User_Schema.class.php b/libraries/schema/User_Schema.class.php
index d610ac0..eb96835 100644
--- a/libraries/schema/User_Schema.class.php
+++ b/libraries/schema/User_Schema.class.php
@@ -336,8 +336,7 @@ class PMA_User_Schema
<?php
echo PMA_generate_common_hidden_inputs($db);
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_view.png"'
- .' alt="" width="16" height="16" />';
+ echo '<img class="icon ic_b_views" src="themes/dot.gif" />';
}
echo __('Display relational schema');
?>:
diff --git a/libraries/server_links.inc.php b/libraries/server_links.inc.php
index e8e2fc9..4b7198e 100644
--- a/libraries/server_links.inc.php
+++ b/libraries/server_links.inc.php
@@ -38,15 +38,15 @@ if (!$GLOBALS['is_ajax_request']) {
*/
$tabs = array();
- $tabs['databases']['icon'] = 's_db.png';
+ $tabs['databases']['icon'] = 'ic_s_db';
$tabs['databases']['link'] = 'server_databases.php';
$tabs['databases']['text'] = __('Databases');
- $tabs['sql']['icon'] = 'b_sql.png';
+ $tabs['sql']['icon'] = 'ic_b_sql';
$tabs['sql']['link'] = 'server_sql.php';
$tabs['sql']['text'] = __('SQL');
- $tabs['status']['icon'] = 's_status.png';
+ $tabs['status']['icon'] = 'ic_s_status';
$tabs['status']['link'] = 'server_status.php';
$tabs['status']['text'] = __('Status');
@@ -55,50 +55,50 @@ if (!$GLOBALS['is_ajax_request']) {
$tabs['process']['text'] = __('Processes');*/
if ($is_superuser) {
- $tabs['rights']['icon'] = 's_rights.png';
+ $tabs['rights']['icon'] = 'ic_s_rights';
$tabs['rights']['link'] = 'server_privileges.php';
$tabs['rights']['text'] = __('Privileges');
}
- $tabs['export']['icon'] = 'b_export.png';
+ $tabs['export']['icon'] = 'ic_b_export';
$tabs['export']['link'] = 'server_export.php';
$tabs['export']['text'] = __('Export');
- $tabs['import']['icon'] = 'b_import.png';
+ $tabs['import']['icon'] = 'ic_b_import';
$tabs['import']['link'] = 'server_import.php';
$tabs['import']['text'] = __('Import');
- $tabs['settings']['icon'] = 'b_tblops.png';
+ $tabs['settings']['icon'] = 'ic_b_tblops';
$tabs['settings']['link'] = 'prefs_manage.php';
$tabs['settings']['text'] = __('Settings');
$tabs['settings']['active'] = in_array(basename($GLOBALS['PMA_PHP_SELF']),
array('prefs_forms.php', 'prefs_manage.php'));
- $tabs['synchronize']['icon'] = 's_sync.png';
+ $tabs['synchronize']['icon'] = 'ic_s_sync';
$tabs['synchronize']['link'] = 'server_synchronize.php';
$tabs['synchronize']['text'] = __('Synchronize');
if (! empty($binary_logs)) {
- $tabs['binlog']['icon'] = 's_tbl.png';
+ $tabs['binlog']['icon'] = 'ic_s_tbl';
$tabs['binlog']['link'] = 'server_binlog.php';
$tabs['binlog']['text'] = __('Binary log');
}
if ($is_superuser) {
- $tabs['replication']['icon'] = 's_replication.png';
+ $tabs['replication']['icon'] = 'ic_s_replication';
$tabs['replication']['link'] = 'server_replication.php';
$tabs['replication']['text'] = __('Replication');
}
- $tabs['vars']['icon'] = 's_vars.png';
+ $tabs['vars']['icon'] = 'ic_s_vars';
$tabs['vars']['link'] = 'server_variables.php';
$tabs['vars']['text'] = __('Variables');
- $tabs['charset']['icon'] = 's_asci.png';
+ $tabs['charset']['icon'] = 'ic_s_asci';
$tabs['charset']['link'] = 'server_collations.php';
$tabs['charset']['text'] = __('Charsets');
- $tabs['engine']['icon'] = 'b_engine.png';
+ $tabs['engine']['icon'] = 'ic_b_engine';
$tabs['engine']['link'] = 'server_engines.php';
$tabs['engine']['text'] = __('Engines');
diff --git a/libraries/sql_query_form.lib.php b/libraries/sql_query_form.lib.php
index 13d866e..1a3fd92 100644
--- a/libraries/sql_query_form.lib.php
+++ b/libraries/sql_query_form.lib.php
@@ -383,8 +383,7 @@ function PMA_sqlQueryFormBookmark()
if ($GLOBALS['cfg']['ReplaceHelpImg']) {
echo ' <a href="./Documentation.html#faqbookmark"'
.' target="documentation">'
- .'<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_help.png"'
- .' border="0" width="11" height="11" align="middle"'
+ .'<img class="icon ic_b_help_s" src="themes/dot.gif"'
.' alt="' . __('Documentation') . '" /></a> ';
} else {
echo ' (<a href="./Documentation.html#faqbookmark"'
diff --git a/libraries/tbl_links.inc.php b/libraries/tbl_links.inc.php
index 82c9784..ac5bfb3 100644
--- a/libraries/tbl_links.inc.php
+++ b/libraries/tbl_links.inc.php
@@ -51,30 +51,30 @@ if (! isset($db_is_information_schema)) {
*/
$tabs = array();
-$tabs['browse']['icon'] = 'b_browse.png';
+$tabs['browse']['icon'] = 'ic_b_browse';
$tabs['browse']['text'] = __('Browse');
$tabs['browse']['link'] = 'sql.php';
$tabs['browse']['args']['pos'] = 0;
-$tabs['structure']['icon'] = 'b_props.png';
+$tabs['structure']['icon'] = 'ic_b_props';
$tabs['structure']['link'] = 'tbl_structure.php';
$tabs['structure']['text'] = __('Structure');
-$tabs['sql']['icon'] = 'b_sql.png';
+$tabs['sql']['icon'] = 'ic_b_sql';
$tabs['sql']['link'] = 'tbl_sql.php';
$tabs['sql']['text'] = __('SQL');
-$tabs['search']['icon'] = 'b_search.png';
+$tabs['search']['icon'] = 'ic_b_search';
$tabs['search']['text'] = __('Search');
$tabs['search']['link'] = 'tbl_select.php';
if (!$db_is_information_schema) {
- $tabs['insert']['icon'] = 'b_insrow.png';
+ $tabs['insert']['icon'] = 'ic_b_insrow';
$tabs['insert']['link'] = 'tbl_change.php';
$tabs['insert']['text'] = __('Insert');
}
-$tabs['export']['icon'] = 'b_tblexport.png';
+$tabs['export']['icon'] = 'ic_b_tblexport';
$tabs['export']['link'] = 'tbl_export.php';
$tabs['export']['args']['single_table'] = 'true';
$tabs['export']['text'] = __('Export');
@@ -84,16 +84,16 @@ $tabs['export']['text'] = __('Export');
* for views and information_schema
*/
if (! $tbl_is_view && !$db_is_information_schema) {
- $tabs['import']['icon'] = 'b_tblimport.png';
+ $tabs['import']['icon'] = 'ic_b_tblimport';
$tabs['import']['link'] = 'tbl_import.php';
$tabs['import']['text'] = __('Import');
- $tabs['operation']['icon'] = 'b_tblops.png';
+ $tabs['operation']['icon'] = 'ic_b_tblops';
$tabs['operation']['link'] = 'tbl_operations.php';
$tabs['operation']['text'] = __('Operations');
}
if(PMA_Tracker::isActive()) {
- $tabs['tracking']['icon'] = 'eye.png';
+ $tabs['tracking']['icon'] = 'ic_eye';
$tabs['tracking']['text'] = __('Tracking');
$tabs['tracking']['link'] = 'tbl_tracking.php';
}
@@ -109,7 +109,7 @@ if (!$db_is_information_schema && !PMA_DRIZZLE) {
* Views support a limited number of operations
*/
if ($tbl_is_view && !$db_is_information_schema) {
- $tabs['operation']['icon'] = 'b_tblops.png';
+ $tabs['operation']['icon'] = 'ic_b_tblops';
$tabs['operation']['link'] = 'view_operations.php';
$tabs['operation']['text'] = __('Operations');
}
diff --git a/libraries/user_preferences.inc.php b/libraries/user_preferences.inc.php
index 7d1a2d7..1b04217 100644
--- a/libraries/user_preferences.inc.php
+++ b/libraries/user_preferences.inc.php
@@ -20,12 +20,12 @@ if (! isset($forms[$form_param])) {
$form_param = array_shift($forms_keys);
}
$tabs_icons = array(
- 'Features' => 'b_tblops.png',
- 'Sql_queries' => 'b_sql.png',
- 'Left_frame' => 'b_select.png',
- 'Main_frame' => 'b_props.png',
- 'Import' => 'b_import.png',
- 'Export' => 'b_export.png');
+ 'Features' => 'ic_b_tblops',
+ 'Sql_queries' => 'ic_b_sql',
+ 'Left_frame' => 'ic_b_select',
+ 'Main_frame' => 'ic_b_props',
+ 'Import' => 'ic_b_import',
+ 'Export' => 'ic_b_export');
echo '<ul id="topmenu2">';
echo PMA_generate_html_tab(array(
'link' => 'prefs_manage.php',
diff --git a/navigation.php b/navigation.php
index 8e42014..27859fe 100644
--- a/navigation.php
+++ b/navigation.php
@@ -113,9 +113,6 @@ require_once './libraries/header_http.inc.php';
?>
<script type="text/javascript">
// <![CDATA[
- var image_minus = '<?php echo $GLOBALS['pmaThemeImage']; ?>b_minus.png';
- var image_plus = '<?php echo $GLOBALS['pmaThemeImage']; ?>b_plus.png';
-
// INIT PMA_setFrameSize
var onloadCnt = 0;
var onLoadHandler = window.onload;
@@ -230,9 +227,9 @@ if (! $GLOBALS['server']) {
// or $GLOBALS['cfg']['Servers']['only_db'] is defined and is not an array)
// In this case, the database should not be collapsible/expandable
-$img_plus = '<img class="icon" id="el%dImg" src="' . $pmaThemeImage . 'b_plus.png"'
+$img_plus = '<img class="icon ic_b_plus" id="el%dImg" src="themes/dot.gif"'
.' alt="+" />';
-$img_minus = '<img class="icon" id="el%dImg" src="' . $pmaThemeImage . 'b_minus.png"'
+$img_minus = '<img class="icon ic_b_minus" id="el%dImg" src="themes/dot.gif"'
.' alt="-" />';
$href_left = '<a onclick="if (toggle(\'%d\')) return false;"'
@@ -303,7 +300,7 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
$class = '';
$GLOBALS['cfg']['AjaxEnable'] ? $class="ajax" : '';
echo '<ul id="newtable"><li><a target="frame_content" href="tbl_create.php' . PMA_generate_common_url(array('db' => $GLOBALS['db'])) . '" class="'.$class .'" >'
- .'<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_snewtbl.png" id="icon_newtable" alt="' . _pgettext('short form', 'Create table') . '" />'
+ .'<img class="icon ic_b_snewtbl" src="themes/dot.gif" id="icon_newtable" alt="' . _pgettext('short form', 'Create table') . '" />'
. _pgettext('short form', 'Create table') . '</a></li></ul>';
}
} elseif ($GLOBALS['cfg']['LeftFrameLight']) {
@@ -597,11 +594,11 @@ function PMA_displayTableList($tables, $visible = false,
.'&table=' . urlencode($table['Name'])
.'&goto=' . $GLOBALS['cfg']['LeftDefaultTabTable']
. '" >'
- .'<img class="icon"';
+ .'<img src="themes/dot.gif"';
if ('VIEW' === strtoupper($table['Comment'])) {
- echo ' src="' . $GLOBALS['pmaThemeImage'] . 's_views.png"';
+ echo ' class="icon ic_s_views"';
} else {
- echo ' src="' . $GLOBALS['pmaThemeImage'] . 'b_sbrowse.png"';
+ echo ' class="icon ic_b_sbrowse"';
}
echo ' id="icon_' . htmlspecialchars($table_db . '.' . $table['Name']) . '"'
.' alt="' . htmlspecialchars($link_title) . '" /></a>' . "\n";
diff --git a/pmd/scripts/history.js b/pmd/scripts/history.js
index ace5bae..478bd82 100644
--- a/pmd/scripts/history.js
+++ b/pmd/scripts/history.js
@@ -71,12 +71,12 @@ function display(init,final) {
else {
str +='<img src="pmd/images/and_icon.png" onclick="and_or('+i+')" title="AND"/></td>';
}
- str +='<td style="padding-left: 5px;" align="right"><img src="./themes/original/img/b_sbrowse.png" title="column name"/></td><td width="175" style="padding-left: 5px">' + history_array[i].get_column_name();
+ str +='<td style="padding-left: 5px;" align="right"><img class="icon ic_b_sbrowse" src="themes/dot.gif" title="column name"/></td><td width="175" style="padding-left: 5px">' + history_array[i].get_column_name();
if (history_array[i].get_type() == "GroupBy" || history_array[i].get_type() == "OrderBy") {
- str += '</td><td align="center"><img src="themes/original/img/b_info.png" title="'+detail(i)+'"/><td title="' + detail(i) +'">' + history_array[i].get_type() + '</td></td><td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_delete('+ i +')><img src="themes/original/img/b_drop.png" title="Delete"></td></tr></thead>';
+ str += '</td><td align="center"><img class="icon ic_b_info" src="themes/dot.gif" title="'+detail(i)+'"/><td title="' + detail(i) +'">' + history_array[i].get_type() + '</td></td><td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_delete('+ i +')><img class="icon ic_b_drop" src="themes/dot.gif" title="Delete"></td></tr></thead>';
}
else {
- str += '</td><td align="center"><img src="themes/original/img/b_info.png" title="'+detail(i)+'"/></td><td title="' + detail(i) +'">' + history_array[i]. get_type() + '</td><td <td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_edit('+ i +')><img src="themes/original/img/b_edit.png" title="Edit"/></td><td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_delete('+ i +')><img src="themes/original/img/b_drop.png" title="Delete"></td></tr></thead>';
+ str += '</td><td align="center"><img class="icon ic_b_info" src="themes/dot.gif" title="'+detail(i)+'"/></td><td title="' + detail(i) +'">' + history_array[i]. get_type() + '</td><td <td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_edit('+ i +')><img class="icon ic_b_edit" src="themes/dot.gif" title="Edit"/></td><td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_delete('+ i +')><img src="themes/original/img/b_drop.png" title="Delete"></td></tr></thead>';
}
i++;
if(i >= history_array.length) {
diff --git a/querywindow.php b/querywindow.php
index 3e5207c..76e2a3b 100644
--- a/querywindow.php
+++ b/querywindow.php
@@ -60,17 +60,17 @@ if ($no_js) {
$tabs = false;
} else {
$tabs = array();
- $tabs['sql']['icon'] = 'b_sql.png';
+ $tabs['sql']['icon'] = 'ic_b_sql';
$tabs['sql']['text'] = __('SQL');
$tabs['sql']['fragment'] = '#';
$tabs['sql']['attr'] = 'onclick="javascript:PMA_querywindowCommit(\'sql\');return false;"';
$tabs['sql']['active'] = (bool) ($querydisplay_tab == 'sql');
- $tabs['import']['icon'] = 'b_import.png';
+ $tabs['import']['icon'] = 'ic_b_import';
$tabs['import']['text'] = __('Import files');
$tabs['import']['fragment'] = '#';
$tabs['import']['attr'] = 'onclick="javascript:PMA_querywindowCommit(\'files\');return false;"';
$tabs['import']['active'] = (bool) ($querydisplay_tab == 'files');
- $tabs['history']['icon'] = 'b_bookmark.png';
+ $tabs['history']['icon'] = 'ic_b_bookmark';
$tabs['history']['text'] = __('SQL history');
$tabs['history']['fragment'] = '#';
$tabs['history']['attr'] = 'onclick="javascript:PMA_querywindowCommit(\'history\');return false;"';
@@ -86,8 +86,8 @@ if ($no_js) {
if ($GLOBALS['cfg']['PropertiesIconic']) {
$titles['Change'] =
- '<img class="icon" width="16" height="16" src="' . $pmaThemeImage
- . 'b_edit.png" alt="' . __('Change') . '" title="' . __('Change')
+ '<img class="icon ic_b_edit" src="themes/dot.gif" alt="'
+ . __('Change') . '" title="' . __('Change')
. '" />';
if ('both' === $GLOBALS['cfg']['PropertiesIconic']) {
diff --git a/server_binlog.php b/server_binlog.php
index 02b0800..1b55452 100644
--- a/server_binlog.php
+++ b/server_binlog.php
@@ -73,7 +73,7 @@ if (empty($_REQUEST['dontlimitchars'])) {
* Displays the sub-page heading
*/
echo '<h2>' . "\n"
- . ($GLOBALS['cfg']['MainPageIconic'] ? '<img src="' . $pmaThemeImage . 's_tbl.png" width="16" height="16" border="0" hspace="2" align="middle" alt="" />' : '')
+ . ($GLOBALS['cfg']['MainPageIconic'] ? '<img src="themes/dot.gif" class="icon ic_s_tbl" alt="" />' : '')
. ' ' . __('Binary log') . "\n"
. '</h2>' . "\n";
diff --git a/server_collations.php b/server_collations.php
index 44d5157..ccd41d4 100644
--- a/server_collations.php
+++ b/server_collations.php
@@ -34,7 +34,7 @@ require './libraries/server_links.inc.php';
*/
echo '<h2>' . "\n"
. ' ' . ($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 's_asci.png" alt="" />'
+ ? '<img class="icon ic_s_asci" src="themes/dot.gif" alt="" />'
: '')
. '' . __('Character Sets and Collations') . "\n"
. '</h2>' . "\n";
diff --git a/server_databases.php b/server_databases.php
index 051345d..fb9d1d6 100644
--- a/server_databases.php
+++ b/server_databases.php
@@ -94,8 +94,7 @@ require './libraries/server_links.inc.php';
*/
echo '<h2>' . "\n"
. ($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon" src="' . $pmaThemeImage . 's_db.png" width="16"'
- .' height="16" alt="" />'
+ ? '<img class="icon ic_s_db" src="themes/dot.gif" alt="" />'
: '')
. ($dbstats ? __('Databases statistics') : __('Databases')) . "\n"
.'</h2>' . "\n";
@@ -155,7 +154,7 @@ if ($databases_count > 0) {
. ($is_superuser || $cfg['AllowUserDropDatabase'] ? ' <th></th>' . "\n" : '')
. ' <th><a href="./server_databases.php' . PMA_generate_common_url($_url_params) . '">' . "\n"
. ' ' . __('Database') . "\n"
- . ($sort_by == 'SCHEMA_NAME' ? ' <img class="icon" src="' . $pmaThemeImage . 's_' . $sort_order . '.png" width="11" height="9" alt="' . ($sort_order == 'asc' ? __('Ascending') : __('Descending')) . '" />' . "\n" : '')
+ . ($sort_by == 'SCHEMA_NAME' ? ' <img class="icon ic_s_' . $sort_order . '" src="themes/dot.gif" alt="' . ($sort_order == 'asc' ? __('Ascending') : __('Descending')) . '" />' . "\n" : '')
. ' </a></th>' . "\n";
$table_columns = 3;
foreach ($column_order as $stat_name => $stat) {
@@ -172,7 +171,7 @@ if ($databases_count > 0) {
echo ' <th' . $colspan . '>'
.'<a href="./server_databases.php' . PMA_generate_common_url($_url_params) . '">' . "\n"
.' ' . $stat['disp_name'] . "\n"
- .($sort_by == $stat_name ? ' <img class="icon" src="' . $pmaThemeImage . 's_' . $sort_order . '.png" width="11" height="9" alt="' . ($sort_order == 'asc' ? __('Ascending') : __('Descending')) . '" />' . "\n" : '')
+ .($sort_by == $stat_name ? ' <img class="icon ic_s_' . $sort_order . '" src="themes/dot.gif" alt="' . ($sort_order == 'asc' ? __('Ascending') : __('Descending')) . '" />' . "\n" : '')
.' </a></th>' . "\n";
}
}
diff --git a/server_engines.php b/server_engines.php
index 4eb5312..c668777 100644
--- a/server_engines.php
+++ b/server_engines.php
@@ -42,8 +42,7 @@ if (empty($_REQUEST['engine'])
*/
echo '<h2>' . "\n"
. ($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon" src="' . $pmaThemeImage . 'b_engine.png"'
- .' width="16" height="16" alt="" />' : '')
+ ? '<img class="icon ic_b_engine" src="themes/dot.gif" alt="" />' : '')
. "\n" . __('Storage Engines') . "\n"
. '</h2>' . "\n";
@@ -107,8 +106,7 @@ if (empty($_REQUEST['engine'])
$engine_plugin = PMA_StorageEngine::getEngine($_REQUEST['engine']);
echo '<h2>' . "\n"
. ($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon" src="' . $pmaThemeImage . 'b_engine.png"'
- .' width="16" height="16" alt="" />' : '')
+ ? '<img class="icon ic_b_engine" src="themes/dot.gif" alt="" />' : '')
. ' ' . htmlspecialchars($engine_plugin->getTitle()) . "\n"
. ' ' . PMA_showMySQLDocu('', $engine_plugin->getMysqlHelpPage()) . "\n"
. '</h2>' . "\n\n";
diff --git a/server_replication.php b/server_replication.php
index 5576914..c2fa555 100644
--- a/server_replication.php
+++ b/server_replication.php
@@ -158,7 +158,7 @@ require './libraries/server_links.inc.php';
echo '<div id="replication">';
echo ' <h2>';
-echo ' <img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 's_replication.png" width="16" height="16" alt="" />';
+echo ' <img class="icon ic_s_replication" src="themes/dot.gif" alt="" />';
echo __('Replication');
echo ' </h2>';
diff --git a/server_status.php b/server_status.php
index b1dea55..cf02da7 100644
--- a/server_status.php
+++ b/server_status.php
@@ -220,7 +220,8 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
preg_match('/^(\w+)\s/',$row['argument'],$match);
$type = strtolower($match[1]);
// Ignore undefined index warning, just increase counter by one
- @$return['sum'][$type]++;
+ @$return['sum'][$type] += $row['#'];
+
if($type=='insert' || $type=='update') {
// Group inserts if selected
if($type=='insert' && isset($_REQUEST['groupInserts']) && $_REQUEST['groupInserts'] && preg_match('/^INSERT INTO (`|\'|"|)([^\s\\1]+)\\1/i',$row['argument'],$matches)) {
@@ -229,8 +230,8 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
$return['rows'][$insertTablesFirst]['#'] = $insertTables[$matches[2]];
// Add a ... to the end of this query to indicate that there's been other queries
- $return['rows'][$insertTablesFirst]['argument'][strlen($return['rows'][$insertTablesFirst]['argument'])-1] != '.';
- $return['rows'][$insertTablesFirst]['argument'] .= '<br/>...';
+ if($return['rows'][$insertTablesFirst]['argument'][strlen($return['rows'][$insertTablesFirst]['argument'])-1] != '.')
+ $return['rows'][$insertTablesFirst]['argument'] .= '<br/>...';
// Group this value, thus do not add to the result list
continue;
@@ -251,6 +252,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
}
$return['sum']['TOTAL'] = array_sum($return['sum']);
+ $return['numRows'] = count($return['rows']);
PMA_DBI_free_result($result);
@@ -277,6 +279,7 @@ $GLOBALS['js_include'][] = 'jquery/jquery.cookie.js'; // For tab persistence
$GLOBALS['js_include'][] = 'jquery/jquery.json-2.2.js';
$GLOBALS['js_include'][] = 'jquery/jquery.sprintf.js';
$GLOBALS['js_include'][] = 'jquery/jquery.sortableTable.js';
+$GLOBALS['js_include'][] = 'jquery/timepicker.js';
// Charting
$GLOBALS['js_include'][] = 'highcharts/highcharts.js';
/* Files required for chart exporting */
@@ -575,7 +578,7 @@ server_db_isLocal = <?php echo ($server_db_isLocal)?'true':'false'; ?>;
* Displays the sub-page heading
*/
if ($GLOBALS['cfg']['MainPageIconic']) {
- echo '<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 's_status.png" width="16" height="16" alt="" />';
+ echo '<img class="icon ic_s_status" src="themes/dot.gif" width="16" height="16" alt="" />';
}
echo __('Runtime Information');
@@ -583,7 +586,7 @@ echo __('Runtime Information');
?></h2>
<div id="serverStatusTabs">
<ul>
- <li><a href="#statustabs_traffic"><?php echo __('Server traffic'); ?></a></li>
+ <li><a href="#statustabs_traffic"><?php echo __('Server'); ?></a></li>
<li><a href="#statustabs_queries"><?php echo __('Query statistics'); ?></a></li>
<li><a href="#statustabs_allvars"><?php echo __('All status variables'); ?></a></li>
<li><a href="#statustabs_charting"><?php echo __('Monitor'); ?></a></li>
@@ -817,7 +820,7 @@ function printServerTraffic() {
?>
</h3>
- <p class="notice">
+ <p>
<?php
echo sprintf(__('This MySQL server has been running for %1$s. It started up on %2$s.'),
PMA_timespanFormat($server_status['Uptime']),
@@ -1286,26 +1289,26 @@ function printMonitor() {
?>
<div class="monitorLinks">
<a href="#pauseCharts">
- <img src="<?php echo $GLOBALS['pmaThemeImage'];?>play.png" alt="" />
+ <img src="themes/dot.gif" class="icon ic_play" alt="" />
<?php echo __('Start Monitor'); ?>
</a>
<a href="#settingsPopup" rel="popupLink" style="display:none;">
- <img src="<?php echo $GLOBALS['pmaThemeImage'];?>s_cog.png" alt="" />
+ <img src="themes/dot.gif" class="icon ic_s_cog" alt="" />
<?php echo __('Settings'); ?>
</a>
<a href="#monitorInstructionsDialog">
- <img src="<?php echo $GLOBALS['pmaThemeImage'];?>b_help.png" alt="" />
+ <img src="themes/dot.gif" class="icon ic_b_help" alt="" />
<?php echo __('Instructions/Setup'); ?>
</a>
<a href="#endChartEditMode" style="display:none;">
- <img src="<?php echo $GLOBALS['pmaThemeImage'];?>s_okay.png" alt="" />
+ <img src="themes/dot.gif" class="icon ic_s_okay" alt="" />
<?php echo __('Done rearranging/editing charts'); ?>
</a>
</div>
<div class="popupContent settingsPopup">
<a href="#addNewChart">
- <img src="<?php echo $GLOBALS['pmaThemeImage'];?>b_chart.png" alt="" />
+ <img src="themes/dot.gif" class="icon ic_b_chart" alt="" />
<?php echo __('Add chart'); ?>
</a> |
<a href="#rearrangeCharts"> <?php echo __('Rearrange/edit charts'); ?></a><br>
@@ -1332,7 +1335,8 @@ function printMonitor() {
<div id="monitorInstructionsDialog" title="<?php echo __('Monitor Instructions'); ?>" style="display:none;">
<?php echo __('The phpMyAdmin Monitor can assist you in optimizing the server configuration and track down time intensive
- queries. For the latter you will need to set log_output to \'TABLE\' and have either the slow_query_log or general_log enabled.'); ?>
+ queries. For the latter you will need to set log_output to \'TABLE\' and have either the slow_query_log or general_log enabled. Note however, that the
+ general_log produces a lot of data and increases server load by up to 15%'); ?>
<p></p>
<img class="ajaxIcon" src="<?php echo $GLOBALS['pmaThemeImage']; ?>ajax_clock_small.gif" alt="Loading">
<div class="ajaxContent">
@@ -1345,11 +1349,15 @@ function printMonitor() {
using the cog icon on each respective chart.
<p>When you get to see a sudden spike in activity, select the relevant time span on any chart by holding down the
left mouse button and panning over the chart. This will load statistics from the logs helping you find what caused the
- activity spike.</p>
- <p><b>Please note:</b>
- Enabling the general_log may increase the server load by up to 5-15%. Also be aware that generating statistics out of the logs is a
- very load intensive task, thus it is advisable to select only a small time span.
- </p>'); ?>
+ activity spike.</p>');
+ ?>
+ <p>
+ <img class="icon ic_s_attention" src="themes/dot.gif" alt="">
+ <?php echo __('<b>Please note:</b>
+ Enabling the general_log may increase the server load by 5-15%. Also be aware that generating statistics from the logs is a
+ load intensive task, so it is advisable to select only a small time span and to disable the general_log and empty its table once monitoring is not required any more.
+ '); ?>
+ </p>
</div>
</div>
diff --git a/server_synchronize.php b/server_synchronize.php
index 9ff9cd4..2cb6898 100644
--- a/server_synchronize.php
+++ b/server_synchronize.php
@@ -1081,8 +1081,7 @@ if (isset($_REQUEST['synchronize_db'])) {
* Displays the sub-page heading
*/
echo '<h2>' . ($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon" src="' . $pmaThemeImage . 's_sync.png" width="18"'
- . ' height="18" alt="" />'
+ ? '<img class="icon ic_s_sync" src="themes/dot.gif" alt="" />'
: '')
. __('Synchronize')
.'</h2>';
diff --git a/server_variables.php b/server_variables.php
index 29abc1d..fbe7094 100644
--- a/server_variables.php
+++ b/server_variables.php
@@ -73,7 +73,7 @@ require './libraries/server_links.inc.php';
* Displays the sub-page heading
*/
echo '<h2>' . "\n"
- . ($cfg['MainPageIconic'] ? '<img class="icon" src="' . $pmaThemeImage . 's_vars.png" width="16" height="16" alt="" />' : '')
+ . ($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')
. '</h2>' . "\n";
diff --git a/sql.php b/sql.php
index c36ea1f..a954286 100644
--- a/sql.php
+++ b/sql.php
@@ -1013,7 +1013,7 @@ $(document).ready(createProfilingChart);
<input type="hidden" name="fields[query]" value="<?php echo urlencode(isset($complete_query) ? $complete_query : $sql_query); ?>" />
<fieldset>
<legend><?php
- echo ($cfg['PropertiesIconic'] ? '<img class="icon" src="' . $pmaThemeImage . 'b_bookmark.png" width="16" height="16" alt="' . __('Bookmark this SQL query') . '" />' : '')
+ echo ($cfg['PropertiesIconic'] ? '<img class="icon ic_b_bookmark" src="themes/dot.gif" alt="' . __('Bookmark this SQL query') . '" />' : '')
. __('Bookmark this SQL query');
?>
</legend>
diff --git a/tbl_create.php b/tbl_create.php
index e3e743b..5259374 100644
--- a/tbl_create.php
+++ b/tbl_create.php
@@ -266,9 +266,9 @@ if (isset($_REQUEST['do_save_data'])) {
if (PMA_Tracker::isActive()) {
$truename = str_replace(' ', ' ', htmlspecialchars($table));
if (PMA_Tracker::isTracked($db, $truename)) {
- $new_table_string .= '<a href="tbl_tracking.php' . PMA_generate_common_url($tbl_url_params) . '"><img class="icon" width="14" height="14" src="' . $pmaThemeImage . 'eye.png" alt="' . __('Tracking is active.') . '" title="' . __('Tracking is active.') . '" /></a>';
+ $new_table_string .= '<a href="tbl_tracking.php' . PMA_generate_common_url($tbl_url_params) . '"><img class="icon ic_eye" src="themes/dot.gif" alt="' . __('Tracking is active.') . '" title="' . __('Tracking is active.') . '" /></a>';
} elseif (PMA_Tracker::getVersion($db, $truename) > 0) {
- $new_table_string .= '<a href="tbl_tracking.php' . PMA_generate_common_url($tbl_url_params) . '"><img class="icon" width="14" height="14" src="' . $pmaThemeImage . 'eye_grey.png" alt="' . __('Tracking is not active.') . '" title="' . __('Tracking is not active.') . '" /></a>';
+ $new_table_string .= '<a href="tbl_tracking.php' . PMA_generate_common_url($tbl_url_params) . '"><img class="icon ic_eye_grey" src="themes/dot.gif" alt="' . __('Tracking is not active.') . '" title="' . __('Tracking is not active.') . '" /></a>';
}
unset($truename);
}
diff --git a/tbl_structure.php b/tbl_structure.php
index afca2ea..3cad9d8 100644
--- a/tbl_structure.php
+++ b/tbl_structure.php
@@ -494,7 +494,7 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
echo "\n";
?>
<td class="more_opts" id="more_opts<?php echo $rownum; ?>">
- <?php echo __('More'); ?> <img src="<?php echo $pmaThemeImage . 'more.png'; ?>" alt="<?php echo __('Show more actions'); ?>" />
+ <?php echo __('More'); ?> <img class="icon ic_more" src="themes/dot.gif" alt="<?php echo __('Show more actions'); ?>" />
<div class="structure_actions_dropdown" id="row_<?php echo $rownum; ?>">
<div class="action_browse">
@@ -625,7 +625,7 @@ if (! $tbl_is_view && ! $db_is_information_schema) {
?>
<a href="tbl_printview.php?<?php echo $url_query; ?>"><?php
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_print.png" width="16" height="16" alt="' . __('Print view') . '"/>';
+ echo '<img class="icon ic_b_print" src="themes/dot.gif" alt="' . __('Print view') . '"/>';
}
echo __('Print view');
?></a>
@@ -639,7 +639,7 @@ if (! $tbl_is_view && ! $db_is_information_schema) {
?>
<a href="tbl_relation.php?<?php echo $url_query; ?>"><?php
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_relations.png" width="16" height="16" alt="' . __('Relation view') . '"/>';
+ echo '<img class="icon ic_b_relations" src="themes/dot.gif" alt="' . __('Relation view') . '"/>';
}
echo __('Relation view');
?></a>
@@ -648,7 +648,7 @@ if (! $tbl_is_view && ! $db_is_information_schema) {
?>
<a href="sql.php?<?php echo $url_query; ?>&session_max_rows=all&sql_query=<?php echo urlencode('SELECT * FROM ' . PMA_backquote($table) . ' PROCEDURE ANALYSE()'); ?>"><?php
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_tblanalyse.png" width="16" height="16" alt="' . __('Propose table structure') . '" />';
+ echo '<img class="icon ic_b_tblanalyse" src="themes/dot.gif" alt="' . __('Propose table structure') . '" />';
}
echo __('Propose table structure');
?></a><?php
@@ -661,7 +661,7 @@ if (! $tbl_is_view && ! $db_is_information_schema) {
if ($cfg['PropertiesIconic'])
{
- echo '<img class="icon" src="' . $pmaThemeImage . 'eye.png" width="16" height="16" alt="' . __('Track table') . '" /> ';
+ echo '<img class="icon ic_eye" src="themes/dot.gif" alt="' . __('Track table') . '" /> ';
}
echo __('Track table') . '</a>';
}
@@ -673,7 +673,7 @@ if (! $tbl_is_view && ! $db_is_information_schema) {
<?php
echo PMA_generate_common_hidden_inputs($db, $table);
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_insrow.png" width="16" height="16" alt="' . __('Add column') . '"/>';
+ echo '<img class="icon ic_b_insrow" src="themes/dot.gif" alt="' . __('Add column') . '"/>';
}
echo sprintf(__('Add %s column(s)'), '<input type="text" name="num_fields" size="2" maxlength="2" value="1" onfocus="this.select()" />');
@@ -839,7 +839,7 @@ if ($cfg['ShowStats']) {
<td colspan="3" align="center">
<a href="sql.php?<?php echo $url_query; ?>&pos=0&sql_query=<?php echo urlencode('OPTIMIZE TABLE ' . PMA_backquote($table)); ?>"><?php
if ($cfg['PropertiesIconic']) {
- echo '<img class="icon" src="' . $pmaThemeImage . 'b_tbloptimize.png" width="16" height="16" alt="' . __('Optimize table'). '" />';
+ echo '<img class="icon ic_b_tbloptimize" src="themes/dot.gif" alt="' . __('Optimize table'). '" />';
}
echo __('Optimize table');
?></a>
diff --git a/tbl_tracking.php b/tbl_tracking.php
index 29cf83a..edfc237 100644
--- a/tbl_tracking.php
+++ b/tbl_tracking.php
@@ -429,7 +429,7 @@ if (isset($_REQUEST['report']) || isset($_REQUEST['report_export'])) {
// Prepare delete link content here
$drop_image_or_text = '';
if (true == $GLOBALS['cfg']['PropertiesIconic']) {
- $drop_image_or_text .= '<img class="icon" width="16" height="16" src="' . $pmaThemeImage . 'b_drop.png" alt="' . __('Delete tracking data row from report') . '" title="' . __('Delete tracking data row from report') . '" />';
+ $drop_image_or_text .= '<img class="icon ic_b_drop" src="themes/dot.gif" alt="' . __('Delete tracking data row from report') . '" title="' . __('Delete tracking data row from report') . '" />';
}
if ('both' === $GLOBALS['cfg']['PropertiesIconic'] || false === $GLOBALS['cfg']['PropertiesIconic']) {
$drop_image_or_text .= __('Delete');
diff --git a/test/theme.php b/test/theme.php
index 0242e09..1750b33 100644
--- a/test/theme.php
+++ b/test/theme.php
@@ -39,10 +39,10 @@ header('Content-Type: text/html; charset=utf-8');
$separator = '<span class="separator">'
- .'<img class="icon" src=../"' . $GLOBALS['pmaThemeImage'] . 'item_ltr.png"'
+ .'<img class="icon ic_item_ltr" src="../themes/dot.gif"'
.' width="5" height="9" alt="-" /></span>' . "\n";
$item = '<a href="%1$s?%2$s" class="item">'
- .' <img class="icon" src="../' . $GLOBALS['pmaThemeImage'] . '%5$s"'
+ .' <img class="icon %5$s" src="../themes/dot.gif"'
.' width="16" height="16" alt="" /> ' . "\n"
.'%4$s: %3$s</a>' . "\n";
@@ -52,7 +52,7 @@ printf($item,
PMA_generate_common_url(),
'Server',
__('Server'),
- 's_host.png');
+ 'ic_s_host');
echo $separator;
printf($item,
@@ -60,7 +60,7 @@ printf($item,
'',
'Database',
__('Database'),
- 's_db.png');
+ 'ic_s_db');
echo $separator;
printf($item,
@@ -71,8 +71,8 @@ printf($item,
? __('View')
: __('Table')),
(isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view']
- ? 'b_views'
- : 's_tbl') . '.png');
+ ? 'ic_b_views'
+ : 'ic_s_tbl'));
echo '<span class="table_comment" id="span_table_comment">'
.'"Table comment"</span>' . "\n";
@@ -85,56 +85,56 @@ echo '</div>';
*/
$tabs = array();
-$tabs['databases']['icon'] = '../../../../' . $pmaThemeImage . 's_db.png';
+$tabs['databases']['icon'] = 'ic_s_db';
$tabs['databases']['link'] = 'server_databases.php';
$tabs['databases']['text'] = __('Databases');
-$tabs['sql']['icon'] = '../../../../' . $pmaThemeImage . 'b_sql.png';
+$tabs['sql']['icon'] = 'b_sql.png';
$tabs['sql']['link'] = 'server_sql.php';
$tabs['sql']['text'] = __('SQL');
-$tabs['status']['icon'] = '../../../../' . $pmaThemeImage . 's_status.png';
+$tabs['status']['icon'] = 'ic_s_status';
$tabs['status']['link'] = 'server_status.php';
$tabs['status']['text'] = __('Status');
-$tabs['vars']['icon'] = '../../../../' . $pmaThemeImage . 's_vars.png';
+$tabs['vars']['icon'] = 'ic_s_vars';
$tabs['vars']['link'] = 'server_variables.php';
$tabs['vars']['text'] = __('Variables');
-$tabs['charset']['icon'] = '../../../../' . $pmaThemeImage . 's_asci.png';
+$tabs['charset']['icon'] = 'ic_s_asci';
$tabs['charset']['link'] = 'server_collations.php';
$tabs['charset']['text'] = __('Charsets');
-$tabs['engine']['icon'] = '../../../../' . $pmaThemeImage . 'b_engine.png';
+$tabs['engine']['icon'] = 'ic_b_engine';
$tabs['engine']['link'] = 'server_engines.php';
$tabs['engine']['text'] = __('Engines');
-$tabs['rights']['icon'] = '../../../../' . $pmaThemeImage . 's_rights.png';
+$tabs['rights']['icon'] = 'ic_s_rights';
$tabs['rights']['link'] = 'server_privileges.php';
$tabs['rights']['text'] = __('Privileges');
-$tabs['binlog']['icon'] = '../../../../' . $pmaThemeImage . 's_tbl.png';
+$tabs['binlog']['icon'] = 'ic_s_tbl';
$tabs['binlog']['link'] = 'server_binlog.php';
$tabs['binlog']['text'] = __('Binary log');
-$tabs['process']['icon'] = '../../../../' . $pmaThemeImage . 's_process.png';
+$tabs['process']['icon'] = 'ic_s_process';
$tabs['process']['link'] = 'server_processlist.php';
$tabs['process']['text'] = 'caution';
$tabs['process']['class'] = 'caution';
-$tabs['export']['icon'] = '../../../../' . $pmaThemeImage . 'b_export.png';
+$tabs['export']['icon'] = 'ic_b_export';
$tabs['export']['text'] = 'disabled';
-$tabs['export2']['icon'] = '../../../../' . $pmaThemeImage . 'b_export.png';
+$tabs['export2']['icon'] = 'ic_b_export';
$tabs['export2']['text'] = 'disabled caution';
$tabs['export2']['class'] = 'caution';
-$tabs['import']['icon'] = '../../../../' . $pmaThemeImage . 'b_import.png';
+$tabs['import']['icon'] = 'ic_b_import';
$tabs['import']['link'] = 'server_import.php';
$tabs['import']['text'] = 'active';
$tabs['import']['class'] = 'active';
-echo PMA_generate_html_tabs($tabs, array());
+echo PMA_generate_html_tabs($tabs, array(), '../../../../');
unset($tabs);
if (@file_exists($pmaThemeImage . 'logo_right.png')) {
@@ -260,12 +260,9 @@ echo sprintf(__('Welcome to %s'),
value="1" /></td>
<th><label for="checkbox_1">th label</label></th>
<td class="value">td.value</td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
<td>table.data tbody tr.odd td</td>
</tr>
<tr class="even">
@@ -273,12 +270,9 @@ echo sprintf(__('Welcome to %s'),
value="1" /></td>
<th><label for="checkbox_2">th label</label></th>
<td class="value">td.value</td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
<td>table.data tbody tr.even td</td>
</tr>
<tr class="odd">
@@ -286,12 +280,9 @@ echo sprintf(__('Welcome to %s'),
value="1" /></td>
<th><label for="checkbox_3">th label</label></th>
<td class="value">td.value</td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
<td>table.data tbody tr.odd td</td>
</tr>
<tr class="even">
@@ -299,12 +290,9 @@ echo sprintf(__('Welcome to %s'),
value="1" /></td>
<th><label for="checkbox_4">th label</label></th>
<td class="value">td.value</td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
- <td><img class="icon" src="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
- width="16" height="16" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
+ <td><img class="icon ic_bd_drop" src="../themes/dot.gif" alt="drop" /></td>
<td>table.data tbody tr.even td</td>
</tr>
</tbody>
diff --git a/themes/original/css/theme_left.css.php b/themes/original/css/theme_left.css.php
index 9901ed4..7ffbb69 100644
--- a/themes/original/css/theme_left.css.php
+++ b/themes/original/css/theme_left.css.php
@@ -64,17 +64,33 @@ button {
display: inline;
}
+/* Icon sprites */
-/******************************************************************************/
-/* classes */
-
-/* leave some space between icons and text */
.icon {
+ /* leave some space between icons and text */
vertical-align: middle;
margin-right: 0.3em;
margin-left: 0.3em;
+ width:16px;
+ height:16px;
+ background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>iconsprites.png) no-repeat top left;
}
+/* 2 px more on the menu icons, for being centered */
+.ic_b_home { background-position: 2px -335px; }
+.ic_b_selboard { background-position: 2px -688px; }
+.ic_b_docs { background-position: 2px -142px; }
+.ic_b_sqlhelp { background-position: 2px -772px; }
+.ic_s_reload { background-position: 2px -1671px; }
+.ic_s_loggoff { background-position: 2px -1604px; }
+
+.ic_b_browse { background-position: 0 -18px; }
+.ic_b_sbrowse { background-position: 0 -660px; width: 10px; height: 10px; }
+.ic_b_view { background-position: 0 -1044px; }
+
+/******************************************************************************/
+/* classes */
+
/******************************************************************************/
/* specific elements */
@@ -141,12 +157,12 @@ div#leftframelinks .icon {
div#leftframelinks a img.icon {
margin: 0;
- padding: 0.2em;
border: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
+ padding: 2px;
}
div#leftframelinks a:hover img {
- background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
+ background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}
diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php
index c949262..1e1e2e5 100644
--- a/themes/original/css/theme_right.css.php
+++ b/themes/original/css/theme_right.css.php
@@ -147,6 +147,142 @@ button {
vertical-align: middle;
}
+/* Icon sprites */
+
+.icon, .footnotemarker {
+ vertical-align: -3px;
+ margin-right: 0.3em;
+ margin-left: 0.3em;
+ width:16px;
+ height:16px;
+ background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>iconsprites.png) no-repeat top left;
+}
+
+.ic_b_bookmark { background-position: 0 0; }
+.ic_b_browse { background-position: 0 -18px; }
+.ic_b_calendar { background-position: 0 -36px; }
+.ic_b_chart { background-position: 0 -54px; }
+.ic_b_close { background-position: 0 -72px; }
+.ic_b_comment { background-position: 0 -90px; }
+.ic_b_dbstatistics { background-position: 0 -108px; }
+.ic_b_deltbl { background-position: 0 -126px; }
+.ic_b_docs { background-position: 0 -144px; }
+.ic_b_drop { background-position: 0 -162px; }
+.ic_b_edit { background-position: 0 -180px; }
+.ic_b_empty { background-position: 0 -198px; }
+.ic_b_engine { background-position: 0 -216px; }
+.ic_b_event_add { background-position: 0 -234px; }
+.ic_b_events { background-position: 0 -252px; }
+.ic_b_export { background-position: 0 -270px; }
+.ic_b_ftext { background-position: 0 -288px; }
+.ic_b_globe { background-position: 0 -306px; }
+.ic_b_help { background-position: 0 -324px; width: 11px; height: 11px; }
+.ic_b_home { background-position: 0 -337px; }
+.ic_b_import { background-position: 0 -355px; }
+.ic_b_index { background-position: 0 -373px; }
+.ic_b_info { background-position: 0 -391px; width: 11px; height: 11px; }
+.ic_b_inline_edit { background-position: 0 -404px; }
+.ic_b_insrow { background-position: 0 -422px; }
+.ic_b_minus { background-position: 0 -440px; width: 9px; height: 9px; }
+.ic_b_more { background-position: 0 -451px; }
+.ic_b_newdb { background-position: 0 -469px; }
+.ic_b_newtbl { background-position: 0 -487px; }
+.ic_b_nextpage, .ic_play { background-position: 0 -505px; }
+.ic_b_plus { background-position: 0 -523px; width: 9px; height: 9px; }
+.ic_b_primary { background-position: 0 -534px; }
+.ic_b_print { background-position: 0 -552px; }
+.ic_b_props { background-position: 0 -570px; }
+.ic_b_relations { background-position: 0 -588px; }
+.ic_b_routine_add { background-position: 0 -606px; }
+.ic_b_routines { background-position: 0 -624px; }
+.ic_b_save { background-position: 0 -642px; }
+.ic_b_sbrowse { background-position: 0 -660px; width: 10px; height: 10px; }
+.ic_b_search { background-position: 0 -672px; }
+.ic_b_selboard { background-position: 0 -690px; }
+.ic_b_select { background-position: 0 -708px; }
+.ic_b_snewtbl { background-position: 0 -726px; width: 10px; height: 10px; }
+.ic_b_spatial { background-position: 0 -738px; }
+.ic_b_sql { background-position: 0 -756px; }
+.ic_b_sqlhelp { background-position: 0 -774px; }
+.ic_b_tblanalyse { background-position: 0 -792px; }
+.ic_b_tblexport { background-position: 0 -810px; }
+.ic_b_tblimport { background-position: 0 -828px; }
+.ic_b_tblops { background-position: 0 -846px; }
+.ic_b_tbloptimize { background-position: 0 -864px; }
+.ic_b_tipp { background-position: 0 -882px; }
+.ic_b_trigger_add { background-position: 0 -900px; }
+.ic_b_triggers { background-position: 0 -918px; }
+.ic_b_unique { background-position: 0 -936px; }
+.ic_b_usradd { background-position: 0 -954px; }
+.ic_b_usrcheck { background-position: 0 -972px; }
+.ic_b_usrdrop { background-position: 0 -990px; }
+.ic_b_usredit { background-position: 0 -1008px; }
+.ic_b_usrlist { background-position: 0 -1026px; }
+.ic_b_view { background-position: 0 -1044px; }
+.ic_b_views { background-position: 0 -1062px; }
+.ic_bd_browse { background-position: 0 -1080px; }
+.ic_bd_deltbl { background-position: 0 -1098px; }
+.ic_bd_drop { background-position: 0 -1116px; }
+.ic_bd_edit { background-position: 0 -1134px; }
+.ic_bd_empty { background-position: 0 -1152px; }
+.ic_bd_export { background-position: 0 -1170px; }
+.ic_bd_ftext { background-position: 0 -1188px; }
+.ic_bd_index { background-position: 0 -1206px; }
+.ic_bd_insrow { background-position: 0 -1224px; }
+.ic_bd_nextpage { background-position: 0 -1242px; width: 8px; height: 13px; }
+.ic_bd_primary { background-position: 0 -1257px; }
+.ic_bd_sbrowse { background-position: 0 -1275px; width: 10px; height: 10px; }
+.ic_bd_select { background-position: 0 -1287px; }
+.ic_bd_spatial { background-position: 0 -1305px; }
+.ic_bd_unique { background-position: 0 -1323px; }
+.ic_col_drop { background-position: 0 -1341px; }
+.ic_eye { background-position: 0 -1359px; }
+.ic_eye_grey { background-position: 0 -1377px; }
+.ic_item_ltr { background-position: 0 -1395px; width: 5px; height: 9px; }
+.ic_item_rtl { background-position: 0 -1406px; width: 5px; height: 9px; }
+.ic_more { background-position: 0 -1417px; width: 13px; height: 8px; }
+.ic_pause { background-position: 0 -1427px; }
+.ic_s_asc { background-position: 0 -1445px; width: 11px; height: 9px; }
+.ic_s_asci { background-position: 0 -1456px; }
+.ic_s_cancel { background-position: 0 -1474px; }
+.ic_s_cog { background-position: 0 -1492px; }
+.ic_s_db { background-position: 0 -1510px; }
+.ic_s_desc { background-position: 0 -1528px; width: 11px; height: 9px; }
+.ic_s_error { background-position: 0 -1539px; }
+.ic_s_error2 { background-position: 0 -1557px; width: 11px; height: 11px; }
+.ic_s_host { background-position: 0 -1570px; }
+.ic_s_lang { background-position: 0 -1588px; }
+.ic_s_loggoff { background-position: 0 -1606px; }
+.ic_s_notice { background-position: 0 -1624px; }
+.ic_s_passwd { background-position: 0 -1642px; }
+.ic_s_really { background-position: 0 -1660px; width: 11px; height: 11px; }
+.ic_s_reload { background-position: 0 -1673px; }
+.ic_s_replication { background-position: 0 -1691px; }
+.ic_s_rights { background-position: 0 -1709px; }
+.ic_s_sortable { background-position: 0 -1727px; }
+.ic_s_status { background-position: 0 -1745px; }
+.ic_s_success { background-position: 0 -1763px; }
+.ic_s_sync { background-position: 0 -1781px; }
+.ic_s_tbl { background-position: 0 -1799px; }
+.ic_s_theme { background-position: 0 -1817px; }
+.ic_s_vars { background-position: 0 -1835px; }
+.ic_s_views { background-position: 0 -1853px; width: 10px; height: 10px; }
+.ic_window-new { background-position: 0 -1865px; }
+
+/* Same as s_notice */
+.ic_s_attention { background-position: 0 -1624px; }
+
+/* Same as ic_b_help, but applied to place where width=11, height=11 attributes were used */
+.ic_b_help_s { background-position: -324px 0; width: 11px; height: 11px; }
+
+/* Same as ic_s_sortable */
+img.sortableIcon { background-position: -1727px 0; }
+
+/* Same as s_asc */
+th.headerSortUp img.sortableIcon { background-position: 0 -1445px; width: 11px; height: 9px; }
+
+/* Same as s_desc */
+th.headerSortDown img.sortableIcon { background-position: 0 -1528px; width: 11px; height: 9px; }
/******************************************************************************/
/* classes */
@@ -957,28 +1093,21 @@ div#tablestatistics table {
/* serverstatus */
-img.sortableIcon {
- width:16px;
- height:16px;
- float:right;
- background-repeat:no-repeat;
-}
-
h3#serverstatusqueries span {
font-size:60%;
display:inline;
}
-th.headerSortUp img.sortableIcon, th.headerSortUp img.sortableIcon {
- background-image:url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_desc.png);
-}
-th.headerSortDown img.sortableIcon, th.headerSortDown img.sortableIcon {
- background-image:url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asc.png);
+img.sortableIcon {
+ float:right;
+ background-repeat:no-repeat;
+ margin:0;
}
-.statuslinks {
+.buttonlinks {
float: <?php echo $right; ?>;
white-space: nowrap;
+ display: none; /* Made visible with js */
}
/* Also used for the variables page */
@@ -1013,37 +1142,30 @@ table#serverstatusconnections {
margin-<?php echo $left; ?>: 30px;
}
-
.clearfloat {
clear: both;
}
-div#serverstatussection table {
+
+table#serverstatusvariables {
width: 100%;
margin-bottom: 1em;
}
-div#serverstatussection table .name {
+table#serverstatusvariables .name {
width: 18em;
+ white-space:nowrap;
}
-div#serverstatussection table .value {
+table#serverstatusvariables .value {
width: 6em;
}
+table#serverstatusconnections {
+ float: <?php echo $left; ?>;
+ margin-<?php echo $left; ?>: 30px;
+}
div#serverstatus table tbody td.descr a,
div#serverstatus table .tblFooters a {
white-space: nowrap;
}
-div#serverstatus div#statuslinks a:before,
-div#serverstatus div#sectionlinks a:before,
-div#serverstatus table tbody td.descr a:before,
-div#serverstatus table .tblFooters a:before {
- content: '[';
-}
-div#serverstatus div#statuslinks a:after,
-div#serverstatus div#sectionlinks a:after,
-div#serverstatus table tbody td.descr a:after,
-div#serverstatus table .tblFooters a:after {
- content: ']';
-}
div.liveChart {
clear:both;
@@ -1052,6 +1174,51 @@ div.liveChart {
padding-bottom:80px;
}
+#addChartDialog input[type="text"] {
+ margin:0px;
+ padding:3px;
+}
+
+div#chartVariableSettings {
+ border:1px solid #ddd;
+ background-color:#E6E6E6;
+ margin-left:10px;
+}
+
+table#chartGrid div.monitorChart {
+ background: #EBEBEB;
+}
+
+div#statustabs_charting div.monitorLinks {
+ float:<?php echo $left; ?>;
+}
+
+.popupContent {
+ display: none;
+ position: absolute;
+ border: 1px solid #CCC;
+ margin:0;
+ padding:3px;
+ -moz-box-shadow: 1px 1px 6px #ddd;
+ -webkit-box-shadow: 2px 2px 3px #666;
+ box-shadow: 2px 2px 3px #666;
+ background-color:white;
+ z-index: 2;
+}
+
+div#logTable {
+ padding-top: 10px;
+ clear: both;
+}
+
+div#logTable table {
+ width:100%;
+}
+
+.smallIndent {
+ padding-left: 7px;
+}
+
/* end serverstatus */
/* server variables */
@@ -1062,23 +1229,23 @@ a.editLink {
}
table.serverVariableEditTable {
- border:0;
- margin:0;
- padding:0;
- width:100%;
+ border:0;
+ margin:0;
+ padding:0;
+ width:100%;
}
table.serverVariableEditTable td {
- border:0;
- margin:0;
- padding:0;
+ border:0;
+ margin:0;
+ padding:0;
}
table.serverVariableEditTable td:first-child {
- white-space:nowrap;
- vertical-align:middle;
+ white-space:nowrap;
+ vertical-align:middle;
}
table.serverVariableEditTable input {
- width:95%;
+ width:95%;
}
table#serverVariables td {
diff --git a/themes/original/img/iconsprites.png b/themes/original/img/iconsprites.png
new file mode 100644
index 0000000..4c324ad
Binary files /dev/null and b/themes/original/img/iconsprites.png differ
diff --git a/themes/pmahomme/css/theme_left.css.php b/themes/pmahomme/css/theme_left.css.php
index e0a6393..cd1eadf 100644
--- a/themes/pmahomme/css/theme_left.css.php
+++ b/themes/pmahomme/css/theme_left.css.php
@@ -72,17 +72,30 @@ button {
display: inline;
}
+/* Icon sprites */
-/******************************************************************************/
-/* classes */
-
-/* leave some space between icons and text */
.icon {
+ /* leave some space between icons and text */
vertical-align: middle;
margin-right: 0.3em;
margin-left: 0.3em;
+ width:16px;
+ height:16px;
+ background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>iconsprites.png) no-repeat top left;
}
+.ic_b_home { background-position: -357px 0; }
+.ic_b_selboard { background-position: -754px 0; }
+.ic_b_docs { background-position: -136px 0; }
+.ic_b_sqlhelp { background-position: -856px 0; }
+.ic_s_reload { background-position: -1761px 0; }
+.ic_s_loggoff { background-position: -1698px 0; }
+.ic_b_browse, .ic_b_sbrowse { background-position: -34px 0; }
+.ic_b_view { background-position: -1077px 0; }
+
+/******************************************************************************/
+/* classes */
+
.navi_dbName {
font-weight: bold;
color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
@@ -157,9 +170,9 @@ div#leftframelinks .icon {
div#reloadlink a img,
div#leftframelinks a img.icon {
- margin: 10px 2px 0 0;
- padding: 0.2em;
- border: 0px;
+ margin: 0.3em;
+ margin-top: 0.7em;
+ border: 0px;
}
div#leftframelinks a:hover img {
diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php
index 6c685c2..ac4f5d8 100644
--- a/themes/pmahomme/css/theme_right.css.php
+++ b/themes/pmahomme/css/theme_right.css.php
@@ -20,6 +20,7 @@ function PMA_ieFilter($start_color, $end_color)
}
?>
/******************************************************************************/
+
/* general tags */
html {
font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : (
@@ -58,14 +59,15 @@ h2 {
padding: 10px 0 10px 3px;
color: #777;
}
+
/* Hiding icons in the page titles */
h2 img{display:none;}
h2 a img{display:inline;}
.data{
-margin: 0 0 12px 0;
-position: relative;
+ margin: 0 0 12px 0;
+ position: relative;
}
h3 {
@@ -317,6 +319,151 @@ select[multiple] {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#f2f2f2");
}
+/* Icon sprites */
+
+.icon, .footnotemarker {
+ vertical-align: -3px;
+ margin-right: 0.3em;
+ margin-left: 0.3em;
+ width:16px;
+ height:16px;
+ background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>iconsprites.png) no-repeat top left;
+}
+
+.ic_asc_order, .ic_s_desc { background-position: 0 0; }
+.ic_b_bookmark { background-position: -17px 0; }
+.ic_b_browse, .ic_b_sbrowse { background-position: -34px 0; }
+.ic_b_calendar { background-position: -51px 0; }
+.ic_b_chart, .ic_b_dbstatistics { background-position: -68px 0; }
+.ic_b_close { background-position: -85px 0; }
+.ic_b_comment { background-position: -102px 0; }
+.ic_b_deltbl { background-position: -119px 0; }
+.ic_b_docs { background-position: -136px 0; }
+.ic_b_docsql { background-position: -153px 0; }
+.ic_b_drop { background-position: -170px 0; }
+.ic_b_edit { background-position: -187px 0; }
+.ic_b_empty { background-position: -204px 0; }
+.ic_b_engine { background-position: -221px 0; }
+.ic_b_event_add { background-position: -238px 0; }
+.ic_b_events { background-position: -255px 0; }
+.ic_b_export, .ic_b_tblexport { background-position: -272px 0; }
+.ic_b_firstpage { background-position: -289px 0; }
+.ic_b_ftext { background-position: -306px 0; }
+.ic_b_globe { background-position: -323px 0; }
+.ic_b_help { background-position: -340px 0; }
+.ic_b_help_s { background-position: -340px 0; }
+.ic_b_home { background-position: -357px 0; }
+.ic_b_import, .ic_b_tblimport { background-position: -374px 0; }
+.ic_b_index { background-position: -391px 0; }
+.ic_b_info { background-position: -408px 0; width: 11px; height: 11px; }
+.ic_b_inline_edit { background-position: -420px 0; }
+.ic_b_insrow { background-position: -437px 0; }
+.ic_b_lastpage { background-position: -454px 0; }
+.ic_b_minus { background-position: -471px 0; }
+.ic_b_more, .ic_col_drop { background-position: -488px 0; }
+.ic_b_newdb { background-position: -505px 0; }
+.ic_b_newtbl { background-position: -522px 0; }
+.ic_b_nextpage, .ic_play { background-position: -539px 0; }
+.ic_b_pdfdoc { background-position: -556px 0; }
+.ic_b_plus { background-position: -573px 0; }
+.ic_b_prevpage { background-position: -590px 0; }
+.ic_b_primary { background-position: -607px 0; }
+.ic_b_print { background-position: -624px 0; }
+.ic_b_props { background-position: -641px 0; }
+.ic_b_relations { background-position: -658px 0; }
+.ic_b_routine_add { background-position: -675px 0; }
+.ic_b_routines { background-position: -692px 0; }
+.ic_b_save { background-position: -709px 0; }
+.ic_b_sdb { background-position: -726px 0; width: 10px; height: 10px; }
+.ic_b_search { background-position: -737px 0; }
+.ic_b_selboard { background-position: -754px 0; }
+.ic_b_select { background-position: -771px 0; }
+.ic_b_snewtbl { background-position: -788px 0; }
+.ic_b_spatial { background-position: -805px 0; }
+.ic_b_sql { background-position: -822px 0; }
+.ic_b_sqldoc { background-position: -839px 0; }
+.ic_b_sqlhelp { background-position: -856px 0; }
+.ic_b_tblanalyse { background-position: -873px 0; }
+.ic_b_tblops { background-position: -890px 0; }
+.ic_b_tbloptimize { background-position: -907px 0; }
+.ic_b_tipp { background-position: -924px 0; }
+.ic_b_trigger_add { background-position: -941px 0; }
+.ic_b_triggers { background-position: -958px 0; }
+.ic_b_unique { background-position: -975px 0; }
+.ic_b_usradd { background-position: -992px 0; }
+.ic_b_usrcheck { background-position: -1009px 0; }
+.ic_b_usrdrop { background-position: -1026px 0; }
+.ic_b_usredit { background-position: -1043px 0; }
+.ic_b_usrlist { background-position: -1060px 0; }
+.ic_b_view { background-position: -1077px 0; }
+.ic_b_views, .ic_s_views { background-position: -1094px 0; }
+.ic_bd_browse { background-position: -1111px 0; }
+.ic_bd_deltbl { background-position: -1128px 0; }
+.ic_bd_drop { background-position: -1145px 0; }
+.ic_bd_edit { background-position: -1162px 0; }
+.ic_bd_empty { background-position: -1179px 0; }
+.ic_bd_export { background-position: -1196px 0; }
+.ic_bd_firstpage { background-position: -1213px 0; width: 16px; height: 13px; }
+.ic_bd_ftext { background-position: -1230px 0; }
+.ic_bd_index { background-position: -1247px 0; }
+.ic_bd_insrow { background-position: -1264px 0; }
+.ic_bd_lastpage { background-position: -1281px 0; width: 16px; height: 13px; }
+.ic_bd_nextpage { background-position: -1298px 0; width: 8px; height: 13px; }
+.ic_bd_prevpage { background-position: -1307px 0; width: 8px; height: 13px; }
+.ic_bd_primary { background-position: -1316px 0; }
+.ic_bd_sbrowse { background-position: -1333px 0; width: 10px; height: 10px; }
+.ic_bd_select { background-position: -1344px 0; }
+.ic_bd_spatial { background-position: -1361px 0; }
+.ic_bd_unique { background-position: -1378px 0; }
+.ic_database, .ic_s_db { background-position: -1395px 0; }
+.ic_eye { background-position: -1412px 0; }
+.ic_eye_grey { background-position: -1429px 0; }
+.ic_item { background-position: -1446px 0; width: 9px; height: 9px; }
+.ic_item_ltr { background-position: -1456px 0; width: 5px; height: 9px; }
+.ic_item_rtl { background-position: -1462px 0; width: 5px; height: 9px; }
+.ic_more { background-position: -1468px 0; width: 13px; height: 8px; }
+.ic_pause { background-position: -1482px 0; }
+.ic_php_sym { background-position: -1499px 0; }
+.ic_s_asc { background-position: -1516px 0; }
+.ic_s_asci { background-position: -1533px 0; }
+.ic_s_attention, .ic_s_notice { background-position: -1550px 0; }
+.ic_s_cancel { background-position: -1567px 0; }
+.ic_s_cancel2 { background-position: -1584px 0; }
+.ic_s_cog { background-position: -1601px 0; }
+.ic_s_error { background-position: -1618px 0; }
+.ic_s_error2 { background-position: -1635px 0; width: 11px; height: 11px; }
+.ic_s_host { background-position: -1647px 0; }
+.ic_s_info { background-position: -1664px 0; }
+.ic_s_lang { background-position: -1681px 0; }
+.ic_s_loggoff { background-position: -1698px 0; }
+.ic_s_okay { background-position: -1715px 0; }
+.ic_s_passwd { background-position: -1732px 0; }
+.ic_s_really { background-position: -1749px 0; width: 11px; height: 11px; }
+.ic_s_reload { background-position: -1761px 0; }
+.ic_s_replication { background-position: -1778px 0; }
+.ic_s_rights { background-position: -1795px 0; }
+.ic_s_sortable { background-position: -1812px 0; }
+.ic_s_status { background-position: -1829px 0; }
+.ic_s_success { background-position: -1846px 0; }
+.ic_s_sync { background-position: -1863px 0; }
+.ic_s_tbl { background-position: -1880px 0; }
+.ic_s_theme { background-position: -1897px 0; }
+.ic_s_vars { background-position: -1914px 0; }
+.ic_window-new { background-position: -1931px 0; }
+
+/* Same as ic_b_help, but applied to place where width=11, height=11 attributes were used */
+.ic_b_help_s { background-position: -340px 0; }
+
+/* Same as ic_s_sortable */
+img.sortableIcon { background-position: -1812px 0; }
+
+/* Same as s_asc */
+th.headerSortUp img.sortableIcon { background-position: -1516px 0; }
+
+/* Same as s_desc */
+th.headerSortDown img.sortableIcon { background-position: 0 0; }
+
+
/******************************************************************************/
/* classes */
div.tools {
@@ -555,12 +702,6 @@ img.lightbulb {
}
/* leave some space between icons and text */
-.icon, img.footnotemarker {
- vertical-align: -3px;
- margin-right: 0.3em;
- margin-left: 0.3em;
-}
-
img.footnotemarker {
display: none;
}
@@ -622,8 +763,8 @@ div.footnotes {
color: #000000;
background-color: #ebf8a4;
}
-h1.success,
-div.success {
+
+h1.success, div.success {
border-color: #a2d246;
<?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_success.png);
@@ -643,6 +784,7 @@ div.success {
color: #000;
background-color: #e8eef1;
}
+
h1.notice,
div.notice,
div.footnotes {
@@ -657,6 +799,7 @@ div.footnotes {
<?php } ?>
<?php } ?>
}
+
.notice h1 {
border-color: #ffb10a;
}
@@ -680,24 +823,23 @@ div.error {
<?php } ?>
<?php } ?>
}
+
div.error h1 {
border-color: #ff0000;
}
-
-
.confirmation {
color: #000000;
background-color: pink;
}
-fieldset.confirmation {
+fieldset.confirmation {
}
-fieldset.confirmation legend {
+fieldset.confirmation legend {
}
-/* end messageboxes */
+/* end messageboxes */
.tblcomment {
font-size: 70%;
@@ -802,9 +944,13 @@ form.login label {
/* specific elements */
/* topmenu */
-#topmenu a {text-shadow:0px 1px 0px #fff;}
+#topmenu a {
+ text-shadow:0px 1px 0px #fff;
+}
-#topmenu .error{background:#eee;border:0px !important;color:#aaa;}
+#topmenu .error {
+ background:#eee;border:0px !important;color:#aaa;
+}
ul#topmenu, ul#topmenu2, ul.tabs {
font-weight: bold;
@@ -831,7 +977,10 @@ ul#topmenu li, ul#topmenu2 li {
vertical-align:-3px;
}
-#topmenucontainer{background:url(./themes/pmahomme/img/tab_bg.png) repeat-x; border-top:1px solid #aaa;}
+#topmenucontainer{
+ background:url(./themes/pmahomme/img/tab_bg.png) repeat-x;
+ border-top:1px solid #aaa;
+}
/* default tab styles */
.tabactive {
@@ -851,8 +1000,8 @@ ul#topmenu ul a {
}
ul#topmenu .submenu {
- display: none;
- position: relative;
+ display: none;
+ position: relative;
}
ul#topmenu .shown {
@@ -878,7 +1027,6 @@ ul#topmenu li:hover ul, ul#topmenu .submenuhover ul {
display: block;
font-weight:3em;
background:#fff;
-
}
ul#topmenu ul li {
@@ -947,12 +1095,10 @@ ul#topmenu ul a {
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
-
}
ul#topmenu ul li:first-child a {
border-width: 0;
-
}
/* enabled hover/active tabs */
@@ -1048,16 +1194,15 @@ div#tablestatistics table {
/* END server privileges */
-
/* Heading */
#serverinfo {
-border-bottom:1px solid #fff;
--moz-border-radius: 4px 4px 0 0;
--webkit-border-radius: 4px 4px 0 0;
-border-radius:4px 4px 0 0;
-background:#888;
-padding:10px;
-text-shadow:0 1px 0 #000000;
+ border-bottom:1px solid #fff;
+ -moz-border-radius: 4px 4px 0 0;
+ -webkit-border-radius: 4px 4px 0 0;
+ border-radius:4px 4px 0 0;
+ background:#888;
+ padding:10px;
+ text-shadow:0 1px 0 #000000;
}
#serverinfo .item {
@@ -1163,26 +1308,15 @@ text-shadow:0 1px 0 #000000;
/* serverstatus */
-img.sortableIcon {
- width:16px;
- height:16px;
- float:right;
- background-repeat:no-repeat;
-}
-
h3#serverstatusqueries span {
font-size:60%;
display:inline;
}
-th img.sortableIcon, th img.sortableIcon {
- background-image:url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_sortable.png);
-}
-th.headerSortUp img.sortableIcon, th.headerSortUp img.sortableIcon {
- background-image:url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_desc.png);
-}
-th.headerSortDown img.sortableIcon, th.headerSortDown img.sortableIcon {
- background-image:url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asc.png);
+img.sortableIcon {
+ float:right;
+ background-repeat:no-repeat;
+ margin:0;
}
.buttonlinks {
@@ -1288,7 +1422,7 @@ div#logTable {
}
div#logTable table {
- width:100%;
+ width:100%;
}
.smallIndent {
diff --git a/themes/pmahomme/img/iconsprites.png b/themes/pmahomme/img/iconsprites.png
new file mode 100644
index 0000000..339dd81
Binary files /dev/null and b/themes/pmahomme/img/iconsprites.png differ
diff --git a/themes/pmahomme/img/pause.png b/themes/pmahomme/img/pause.png
deleted file mode 100644
index a131617..0000000
Binary files a/themes/pmahomme/img/pause.png and /dev/null differ
diff --git a/themes/pmahomme/img/play.png b/themes/pmahomme/img/play.png
deleted file mode 100644
index e252606..0000000
Binary files a/themes/pmahomme/img/play.png and /dev/null differ
hooks/post-receive
--
phpMyAdmin
1
0
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11272-gce3f308
by Marc Delisle 21 Jul '11
by Marc Delisle 21 Jul '11
21 Jul '11
The branch, master has been updated
via ce3f3087414ebb87acf75346c17a69962e699e62 (commit)
from bb3cb6d99cbba59caef8e91e621c282b192704c9 (commit)
- Log -----------------------------------------------------------------
commit ce3f3087414ebb87acf75346c17a69962e699e62
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Jul 21 09:41:49 2011 -0400
Typo in variable name
-----------------------------------------------------------------------
Summary of changes:
js/db_structure.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/js/db_structure.js b/js/db_structure.js
index 1f2d0e6..e7eb7ca 100644
--- a/js/db_structure.js
+++ b/js/db_structure.js
@@ -57,10 +57,10 @@ $(document).ready(function() {
* @uses PMA_ajaxShowMessage()
* @see $cfg['AjaxEnable']
*/
- var currrent_insert_table;
+ var current_insert_table;
$("td.insert_table a.ajax").live('click', function(event){
event.preventDefault();
- currrent_insert_table = $(this);
+ current_insert_table = $(this);
var $url = $(this).attr("href");
if ($url.substring(0, 15) == "tbl_change.php?") {
$url = $url.substring(15);
@@ -144,7 +144,7 @@ $(document).ready(function() {
$("#insert_table_dialog").dialog("close").remove();
}
/**Update the row count at the tableForm*/
- currrent_insert_table.closest('tr').find('.value.tbl_rows').html(data.row_count);
+ current_insert_table.closest('tr').find('.value.tbl_rows').html(data.row_count);
}) // end $.post()
}) // end insert table button "Go"
@@ -170,7 +170,7 @@ $(document).ready(function() {
}
if (selected_after_insert == "new_insert") {
/**Trigger the insert dialog for new_insert option*/
- currrent_insert_table.trigger('click');
+ current_insert_table.trigger('click');
}
} else {
@@ -180,7 +180,7 @@ $(document).ready(function() {
$("#insert_table_dialog").dialog("close").remove();
}
/**Update the row count at the tableForm*/
- currrent_insert_table.closest('tr').find('.value.tbl_rows').html(data.row_count);
+ current_insert_table.closest('tr').find('.value.tbl_rows').html(data.row_count);
}) // end $.post()
});
hooks/post-receive
--
phpMyAdmin
1
0
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11271-gbb3cb6d
by Michal Čihař 21 Jul '11
by Michal Čihař 21 Jul '11
21 Jul '11
The branch, master has been updated
via bb3cb6d99cbba59caef8e91e621c282b192704c9 (commit)
via aa459619652ae510b04f99abaa6965acc898ae57 (commit)
from 810d1a21c88d9756ddad030adb7dceaead1c0098 (commit)
- Log -----------------------------------------------------------------
commit bb3cb6d99cbba59caef8e91e621c282b192704c9
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 15:32:11 2011 +0200
Fix docblocks
commit aa459619652ae510b04f99abaa6965acc898ae57
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Thu Jul 21 15:28:39 2011 +0200
Add missing docs
-----------------------------------------------------------------------
Summary of changes:
libraries/common.lib.php | 62 +++++++++++++++++++++++-----------------------
1 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index cb85c10..b7df61a 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -9,10 +9,10 @@
/**
* Exponential expression / raise number into power
*
- * @param string $base
- * @param string $exp
- * @param mixed $use_function pow function to use, or false for auto-detect
- * @return mixed string or float
+ * @param string $base base to raise
+ * @param string $exp exponent to use
+ * @param mixed $use_function pow function to use, or false for auto-detect
+ * @return mixed string or float
*/
function PMA_pow($base, $exp, $use_function = false)
{
@@ -62,10 +62,10 @@ function PMA_pow($base, $exp, $use_function = false)
/**
* string PMA_getIcon(string $icon)
*
- * @param string $icon name of icon file
- * @param string $alternate alternate text
- * @param boolean $container include in container
- * @param boolean $force_text whether to force alternate text to be displayed
+ * @param string $icon name of icon file
+ * @param string $alternate alternate text
+ * @param boolean $container include in container
+ * @param boolean $force_text whether to force alternate text to be displayed
* @return html img tag
*/
function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = false)
@@ -118,8 +118,8 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
/**
* Displays the maximum size for an upload
*
- * @param integer $max_upload_size the size
- * @return string the message
+ * @param integer $max_upload_size the size
+ * @return string the message
*
* @access public
*/
@@ -135,8 +135,8 @@ function PMA_displayMaximumUploadSize($max_upload_size)
* Generates a hidden field which should indicate to the browser
* the maximum size for upload
*
- * @param integer $max_size the size
- * @return string the INPUT field
+ * @param integer $max_size the size
+ * @return string the INPUT field
*
* @access public
*/
@@ -149,13 +149,13 @@ function PMA_generateHiddenMaxFileSize($max_size)
* Add slashes before "'" and "\" characters so a value containing them can
* be used in a sql comparison.
*
- * @param string $a_string the string to slash
- * @param bool $is_like whether the string will be used in a 'LIKE' clause
- * (it then requires two more escaped sequences) or not
- * @param bool $crlf whether to treat cr/lfs as escape-worthy entities
- * (converts \n to \\n, \r to \\r)
- * @param bool $php_code whether this function is used as part of the
- * "Create PHP code" dialog
+ * @param string $a_string the string to slash
+ * @param bool $is_like whether the string will be used in a 'LIKE' clause
+ * (it then requires two more escaped sequences) or not
+ * @param bool $crlf whether to treat cr/lfs as escape-worthy entities
+ * (converts \n to \\n, \r to \\r)
+ * @param bool $php_code whether this function is used as part of the
+ * "Create PHP code" dialog
*
* @return string the slashed string
*
@@ -190,8 +190,8 @@ function PMA_sqlAddSlashes($a_string = '', $is_like = false, $crlf = false, $php
* database, table and field names.
* Note: This function does not escape backslashes!
*
- * @param string $name the string to escape
- * @return string the escaped string
+ * @param string $name the string to escape
+ * @return string the escaped string
*
* @access public
*/
@@ -224,9 +224,9 @@ function PMA_unescape_mysql_wildcards($name)
*
* checks if the sting is quoted and removes this quotes
*
- * @param string $quoted_string string to remove quotes from
- * @param string $quote type of quote to remove
- * @return string unqoted string
+ * @param string $quoted_string string to remove quotes from
+ * @param string $quote type of quote to remove
+ * @return string unqoted string
*/
function PMA_unQuote($quoted_string, $quote = null)
{
@@ -257,8 +257,8 @@ function PMA_unQuote($quoted_string, $quote = null)
* format sql strings
*
* @todo move into PMA_Sql
- * @param mixed $parsed_sql pre-parsed SQL structure
- * @param string $unparsed_sql
+ * @param mixed $parsed_sql pre-parsed SQL structure
+ * @param string $unparsed_sql raw SQL string
* @return string the formatted sql
*
* @global array the configuration array
@@ -314,11 +314,11 @@ function PMA_formatSql($parsed_sql, $unparsed_sql = '')
/**
* Displays a link to the official MySQL documentation
*
- * @param string $chapter chapter of "HTML, one page per chapter" documentation
- * @param string $link contains name of page/anchor that is being linked
- * @param bool $big_icon whether to use big icon (like in left frame)
- * @param string $anchor anchor to page part
- * @param bool $just_open whether only the opening <a> tag should be returned
+ * @param string $chapter chapter of "HTML, one page per chapter" documentation
+ * @param string $link contains name of page/anchor that is being linked
+ * @param bool $big_icon whether to use big icon (like in left frame)
+ * @param string $anchor anchor to page part
+ * @param bool $just_open whether only the opening <a> tag should be returned
*
* @return string the html link
*
hooks/post-receive
--
phpMyAdmin
1
0
[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11269-g810d1a2
by Marc Delisle 21 Jul '11
by Marc Delisle 21 Jul '11
21 Jul '11
The branch, master has been updated
via 810d1a21c88d9756ddad030adb7dceaead1c0098 (commit)
from 938e807173a997b4ce69095d7189262cd3b8273a (commit)
- Log -----------------------------------------------------------------
commit 810d1a21c88d9756ddad030adb7dceaead1c0098
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Jul 21 09:24:03 2011 -0400
Typos
-----------------------------------------------------------------------
Summary of changes:
js/functions.js | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/js/functions.js b/js/functions.js
index 5dac084..eff6759 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -2283,10 +2283,10 @@ function checkIndexName(form_id)
/**
* function to convert the footnotes to tooltips
*
- * @param jquery-Object $div a div jquery object which crries the domain
- * for searching footnootes. If we ommit this
- * parameter the function searches the footnotes
- * in the whole body
+ * @param jquery-Object $div a div jquery object which specifies the
+ * domain for searching footnootes. If we
+ * ommit this parameter the function searches
+ * the footnotes in the whole body
**/
function PMA_convertFootnotesToTooltips($div) {
// Hide the footnotes from the footer (which are displayed for
@@ -2312,8 +2312,8 @@ function PMA_convertFootnotesToTooltips($div) {
$div.find("img.footnotemarker").each(function() {
var img_class = $(this).attr("class");
- /** img contains two classes, as example "footnotemarker footnote_1_1".
- * We spit it by second classs and take it for the id of span
+ /** img contains two classes, as example "footnotemarker footnote_1".
+ * We split it by second class and take it for the id of span
*/
img_class = img_class.split(" ");
for (i = 0; i < img_class.length; i++) {
@@ -2323,7 +2323,7 @@ function PMA_convertFootnotesToTooltips($div) {
}
/**
* Now we get the #id of the span with span_id variable. As an example if we
- * initially get the img class as "footnotemarker footnote_2_3", now we get
+ * initially get the img class as "footnotemarker footnote_2", now we get
* #2 as the span_id. Using that we can find footnote_2 in footnotes.
* */
var tooltip_text = $footnotes.find("span[id='footnote_" + span_id + "']").html();
hooks/post-receive
--
phpMyAdmin
1
0