Merge remote-tracking branch 'origin/master'

This commit is contained in:
Michal Čihař 2012-04-08 21:09:51 +02:00
commit aff93e24f9
83 changed files with 153 additions and 131 deletions

View File

@ -21,6 +21,7 @@ phpMyAdmin - ChangeLog
+ Removed the PHP version of the ENUM editor
+ Patch #3507111 Display distinct results, linked to corresponding data rows
+ Update to jQuery 1.7.2
- bug #3507917 [export] JSON has unescaped values for allegedly numeric columns
3.5.1.0 (not yet released)
- bug #3510784 [edit] Limit clause ignored when sort order is remembered

View File

@ -259,7 +259,7 @@ $(document).ready(function() {
*/
$(".fkc_switch").click(function(event){
if ($("#fkc_checkbox").prop('checked')) {
$("#fkc_checkbox").removeProp('checked');
$("#fkc_checkbox").prop('checked', false);
$("#fkc_status").html(PMA_messages['strForeignKeyCheckDisabled']);
return;
}

View File

@ -136,13 +136,14 @@ function toggle_sql_include_comments()
* For SQL plugin, if "CREATE TABLE options" is checked/unchecked, check/uncheck each of its sub-options
*/
$(document).ready(function() {
$("#checkbox_sql_create_table_statements").change(function() {
if($("#checkbox_sql_create_table_statements:checked").length == 0) {
$("#checkbox_sql_if_not_exists").removeProp('checked');
$("#checkbox_sql_auto_increment").removeProp('checked');
} else {
$("#checkbox_sql_if_not_exists").prop('checked', true);
$("#checkbox_sql_auto_increment").prop('checked', true);
var $create = $("#checkbox_sql_create_table_statements");
var $create_options = $("#ul_create_table_statements input");
$create.change(function() {
$create_options.prop('checked', $(this).prop("checked"));
});
$create_options.change(function() {
if ($create_options.is(":checked")) {
$create.prop('checked', true);
}
});
});

View File

@ -681,16 +681,10 @@ function unMarkAllRows( container_id )
* @param boolean state new value for checkbox (true or false)
* @return boolean always true
*/
function setCheckboxes( container_id, state )
function setCheckboxes(container_id, state)
{
if (state) {
$("#"+container_id).find("input:checkbox").prop('checked', true);
}
else {
$("#"+container_id).find("input:checkbox").removeProp('checked');
}
$("#" + container_id).find("input:checkbox").prop('checked', state);
return true;
} // end of the 'setCheckboxes()' function

View File

@ -68,7 +68,8 @@ function PMA_getImage(image, alternate, attributes) {
// this is private
alt: '',
title: '',
src: 'themes/dot.gif'
src: (typeof PMA_TEST_THEME == 'undefined' ? '' : '../')
+ 'themes/dot.gif'
},
isSprite: true,
attr: function (name, value) {

View File

@ -66,11 +66,11 @@ $(document).ready(function() {
*/
$("#input_import_file").bind("focus change", function() {
$("#radio_import_file").prop('checked', true);
$("#radio_local_import_file").removeProp('checked');
$("#radio_local_import_file").prop('checked', false);
});
$("#select_local_import_file").focus(function() {
$("#radio_local_import_file").prop('checked', true);
$("#radio_import_file").removeProp('checked');
$("#radio_import_file").prop('checked', false);
});
/**

View File

@ -437,14 +437,13 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
) {
text += text.length > 0 ? '<br />' : '';
text += g.markHint;
text += text.length > 0 ? '<br />' : '';
text += g.copyHint;
}
if (g.showColVisibHint && g.colVisibHint) {
text += text.length > 0 ? '<br />' : '';
text += g.colVisibHint;
}
text += text.length > 0 ? '<br />' : '';
text += g.copyHint;
// hide the hint if no text and the event is mouseenter
if (g.qtip) {
g.qtip.disable(!text && e.type == 'mouseenter');
@ -478,7 +477,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
.hide();
});
g.colVisib[n] = 0;
$(g.cList).find('.lDiv div:eq(' + n + ') input').removeProp('checked');
$(g.cList).find('.lDiv div:eq(' + n + ') input').prop('checked', false);
} else {
// cannot hide, force the checkbox to stay checked
$(g.cList).find('.lDiv div:eq(' + n + ') input').prop('checked', true);

View File

@ -483,6 +483,12 @@ if (! PMA_isValid($_REQUEST['token']) || $_SESSION[' PMA_token '] != $_REQUEST['
/* Possible login form */
'pma_servername', 'pma_username', 'pma_password'
);
/**
* Allow changing themes in test/theme.php
*/
if (defined('PMA_TEST_THEME')) {
$allow_list[] = 'set_theme';
}
/**
* Require cleanup functions
*/
@ -596,11 +602,11 @@ require './libraries/select_lang.lib.php';
* this check is done here after loading language files to present errors in locale
*/
if ($GLOBALS['PMA_Config']->error_config_file) {
$error = '<h1>' . __('Failed to read configuration file') . '</h1>'
$error = '[strong]' . __('Failed to read configuration file') . '[/strong][br][br]'
. _('This usually means there is a syntax error in it, please check any errors shown below.')
. '<br />'
. '<br />'
. '<iframe src="show_config_errors.php" />';
. '[br]'
. '[br]'
. '[conferr]';
trigger_error($error, E_USER_ERROR);
}
if ($GLOBALS['PMA_Config']->error_config_default_file) {
@ -611,7 +617,7 @@ if ($GLOBALS['PMA_Config']->error_config_default_file) {
trigger_error($error, E_USER_ERROR);
}
if ($GLOBALS['PMA_Config']->error_pma_uri) {
trigger_error(__('The <code>$cfg[\'PmaAbsoluteUri\']</code> directive MUST be set in your configuration file!'), E_USER_ERROR);
trigger_error(__('The [code]$cfg[\'PmaAbsoluteUri\'][/code] directive MUST be set in your configuration file!'), E_USER_ERROR);
}

View File

@ -140,7 +140,7 @@ function PMA_getImage($image, $alternate = '', $attributes = array())
$class = str_replace(array('.gif','.png'), '', $image);
if (array_key_exists($class, $sprites)) {
$is_sprite = true;
$url = 'themes/dot.gif';
$url = (defined('PMA_TEST_THEME') ? '../' : '') . 'themes/dot.gif';
} else {
$url = $GLOBALS['pmaThemeImage'] . $image;
}

View File

@ -121,6 +121,10 @@ if (isset($plugin_list)) {
$result = PMA_DBI_query($sql_query, null, PMA_DBI_QUERY_UNBUFFERED);
$columns_cnt = PMA_DBI_num_fields($result);
// Get field information
$fields_meta = PMA_DBI_get_fields_meta($result);
for ($i = 0; $i < $columns_cnt; $i++) {
$columns[$i] = stripslashes(PMA_DBI_field_name($result, $i));
}
@ -148,7 +152,7 @@ if (isset($plugin_list)) {
if (is_null($record[$i])) {
$buffer .= '"' . addslashes($column) . '": null' . (! $isLastLine ? ',' : '');
} elseif (is_numeric($record[$i])) {
} elseif ($fields_meta[$i]->numeric) {
$buffer .= '"' . addslashes($column) . '": ' . $record[$i] . (! $isLastLine ? ',' : '');
} else {
$buffer .= '"' . addslashes($column) . '": "' . addslashes($record[$i]) . '"' . (! $isLastLine ? ',' : '');

View File

@ -63,7 +63,7 @@ function PMA_RTN_main()
trigger_error(
__('You are using PHP\'s deprecated \'mysql\' extension, '
. 'which is not capable of handling multi queries. '
. '<b>The execution of some stored routines may fail!</b> '
. '[strong]The execution of some stored routines may fail![/strong] '
. 'Please use the improved \'mysqli\' extension to '
. 'avoid any problems.'),
E_USER_WARNING

View File

@ -110,8 +110,9 @@ function PMA_sanitize($message, $escape = false, $safe = false)
'[/kbd]' => '</kbd>',
'[br]' => '<br />',
'[/a]' => '</a>',
'[sup]' => '<sup>',
'[/sup]' => '</sup>',
'[sup]' => '<sup>',
'[/sup]' => '</sup>',
'[conferr]' => '<iframe src="show_config_errors.php" />' // used in common.inc.php
);
/* Adjust links for setup, which lives in subfolder */
if (defined('PMA_SETUP')) {

View File

@ -289,14 +289,14 @@ if (! @extension_loaded('mbstring')) {
*/
$gc_time = (int)@ini_get('session.gc_maxlifetime');
if ($gc_time < $GLOBALS['cfg']['LoginCookieValidity'] ) {
trigger_error(PMA_Message::decodeBB(__('Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie validity configured in phpMyAdmin, because of this, your login will expire sooner than configured in phpMyAdmin.')), E_USER_WARNING);
trigger_error(__('Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie validity configured in phpMyAdmin, because of this, your login will expire sooner than configured in phpMyAdmin.'), E_USER_WARNING);
}
/**
* Check whether LoginCookieValidity is limited by LoginCookieStore.
*/
if ($GLOBALS['cfg']['LoginCookieStore'] != 0 && $GLOBALS['cfg']['LoginCookieStore'] < $GLOBALS['cfg']['LoginCookieValidity']) {
trigger_error(PMA_Message::decodeBB(__('Login cookie store is lower than cookie validity configured in phpMyAdmin, because of this, your login will expire sooner than configured in phpMyAdmin.')), E_USER_WARNING);
trigger_error(__('Login cookie store is lower than cookie validity configured in phpMyAdmin, because of this, your login will expire sooner than configured in phpMyAdmin.'), E_USER_WARNING);
}
/**

View File

@ -8441,7 +8441,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8394,7 +8394,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8612,7 +8612,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8885,7 +8885,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8873,7 +8873,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8139,7 +8139,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8630,7 +8630,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8181,7 +8181,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8607,7 +8607,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8423,7 +8423,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8366,7 +8366,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8511,7 +8511,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8470,7 +8470,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8515,7 +8515,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8506,7 +8506,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8384,12 +8384,12 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."

View File

@ -8536,7 +8536,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8381,7 +8381,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8566,7 +8566,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8427,7 +8427,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8747,7 +8747,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8474,7 +8474,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -9032,7 +9032,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8565,7 +8565,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8436,7 +8436,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8858,7 +8858,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8536,7 +8536,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -7916,7 +7916,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8193,7 +8193,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8523,7 +8523,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8375,7 +8375,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8804,7 +8804,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""
@ -8821,7 +8821,7 @@ msgid ""
"because of this, your login will expire sooner than configured in phpMyAdmin."
msgstr ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."

View File

@ -7929,7 +7929,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8294,7 +8294,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8412,7 +8412,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8650,7 +8650,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8718,7 +8718,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -7922,7 +7922,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8699,7 +8699,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8485,7 +8485,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8717,7 +8717,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8484,7 +8484,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -7916,7 +7916,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8456,7 +8456,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8492,7 +8492,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8584,7 +8584,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8913,7 +8913,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8476,7 +8476,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8174,7 +8174,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8421,7 +8421,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8415,7 +8415,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8644,7 +8644,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8804,7 +8804,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8794,7 +8794,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8391,7 +8391,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8066,7 +8066,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8269,7 +8269,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8337,7 +8337,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -7924,7 +7924,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8435,7 +8435,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8711,7 +8711,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8371,7 +8371,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8333,7 +8333,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8423,7 +8423,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -9181,7 +9181,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -9215,7 +9215,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8128,7 +8128,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -8425,7 +8425,7 @@ msgstr ""
#: main.php:292
msgid ""
"Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini."
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie "
"session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower than cookie "
"validity configured in phpMyAdmin, because of this, your login will expire "
"sooner than configured in phpMyAdmin."
msgstr ""

View File

@ -7,7 +7,20 @@
*/
$GLOBALS['now'] = gmdate('D, d M Y H:i:s') . ' GMT';
PMA_no_cache_header();
header('Expires: ' . date(DATE_RFC1123)); // rfc2616 - Section 14.21
header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
if (isset($_SERVER['HTTP_USER_AGENT'])
&& stristr($_SERVER['HTTP_USER_AGENT'], 'MSIE')) {
/* FIXME: Why is this special case for IE needed? */
header('Pragma: public');
} else {
header('Pragma: no-cache'); // HTTP/1.0
// test case: exporting a database into a .gz file with Safari
// would produce files not having the current time
// (added this header for Safari but should not harm other browsers)
header('Last-Modified: ' . date(DATE_RFC1123));
}
header('Content-Type: text/html; charset=utf-8');
require 'libraries/vendor_config.php';

View File

@ -6,24 +6,23 @@
* @package PhpMyAdmin-test
*/
define('PMA_TEST_THEME', true);
chdir('..');
/**
* Gets core libraries and defines some variables
*/
require_once './libraries/common.inc.php';
$GLOBALS['pmaThemeImage'] = '../' . $GLOBALS['pmaThemeImage'];
$lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][1];
// start output
header('Content-Type: text/html; charset=utf-8');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="<?php echo $lang_iso_code; ?>"
lang="<?php echo $lang_iso_code; ?>"
dir="<?php echo $GLOBALS['text_dir']; ?>">
<!DOCTYPE HTML>
<html lang="<?php echo $lang_iso_code; ?>" dir="<?php echo $GLOBALS['text_dir']; ?>">
<head>
<title>phpMyAdmin <?php echo PMA_VERSION; ?> -
<?php echo htmlspecialchars($HTTP_HOST); ?> - Theme Test</title>
@ -32,15 +31,19 @@ header('Content-Type: text/html; charset=utf-8');
href="../phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&amp;js_frame=right&amp;nocache=<?php echo $GLOBALS['PMA_Config']->getThemeUniqueValue(); ?>" />
<link rel="stylesheet" type="text/css" media="print"
href="../print.css" />
<script src="../js/jquery/jquery-1.7.2.js" type="text/javascript"></script>
<script src="../js/messages.php" type="text/javascript"></script>
<script type="text/javascript">
var PMA_TEST_THEME = true;
</script>
<script src="../js/get_image.js.php" type="text/javascript"></script>
<script src="../js/functions.js" type="text/javascript"></script>
</head>
<body>
<?php
$separator = '<span class="separator">'
.'<img class="icon ic_item_ltr" src="../themes/dot.gif"'
.' width="5" height="9" alt="-" /></span>' . "\n";
$separator = '<span class=\'separator item\'>&nbsp;»</span>' . "\n";
$item = '<a href="%1$s?%2$s" class="item">'
.' <img class="icon %5$s" src="../themes/dot.gif"'
.' width="16" height="16" alt="" /> ' . "\n"
@ -81,7 +84,7 @@ printf(
);
echo '<span class="table_comment" id="span_table_comment">'
.'&quot;Table comment&quot</span>' . "\n";
.'&quot;Table comment&quot;</span>' . "\n";
echo '</div>';
@ -91,7 +94,7 @@ echo '</div>';
*/
$tabs = array();
$tabs['databases']['icon'] = 'ic_s_db';
$tabs['databases']['icon'] = 's_db.png';
$tabs['databases']['link'] = 'server_databases.php';
$tabs['databases']['text'] = __('Databases');
@ -99,43 +102,43 @@ $tabs['sql']['icon'] = 'b_sql.png';
$tabs['sql']['link'] = 'server_sql.php';
$tabs['sql']['text'] = __('SQL');
$tabs['status']['icon'] = 'ic_s_status';
$tabs['status']['icon'] = 's_status.png';
$tabs['status']['link'] = 'server_status.php';
$tabs['status']['text'] = __('Status');
$tabs['vars']['icon'] = 'ic_s_vars';
$tabs['vars']['icon'] = 's_vars.png';
$tabs['vars']['link'] = 'server_variables.php';
$tabs['vars']['text'] = __('Variables');
$tabs['charset']['icon'] = 'ic_s_asci';
$tabs['charset']['icon'] = 's_asci.png';
$tabs['charset']['link'] = 'server_collations.php';
$tabs['charset']['text'] = __('Charsets');
$tabs['engine']['icon'] = 'ic_b_engine';
$tabs['engine']['icon'] = 'b_engine.png';
$tabs['engine']['link'] = 'server_engines.php';
$tabs['engine']['text'] = __('Engines');
$tabs['rights']['icon'] = 'ic_s_rights';
$tabs['rights']['icon'] = 's_rights.png';
$tabs['rights']['link'] = 'server_privileges.php';
$tabs['rights']['text'] = __('Privileges');
$tabs['binlog']['icon'] = 'ic_s_tbl';
$tabs['binlog']['icon'] = 's_tbl.png';
$tabs['binlog']['link'] = 'server_binlog.php';
$tabs['binlog']['text'] = __('Binary log');
$tabs['process']['icon'] = 'ic_s_process';
$tabs['process']['icon'] = 's_process.png';
$tabs['process']['link'] = 'server_processlist.php';
$tabs['process']['text'] = 'caution';
$tabs['process']['class'] = 'caution';
$tabs['export']['icon'] = 'ic_b_export';
$tabs['export']['icon'] = 'b_export.png';
$tabs['export']['text'] = 'disabled';
$tabs['export2']['icon'] = 'ic_b_export';
$tabs['export2']['icon'] = 'b_export.png';
$tabs['export2']['text'] = 'disabled caution';
$tabs['export2']['class'] = 'caution';
$tabs['import']['icon'] = 'ic_b_import';
$tabs['import']['icon'] = 'b_import.png';
$tabs['import']['link'] = 'server_import.php';
$tabs['import']['text'] = 'active';
$tabs['import']['class'] = 'active';
@ -153,19 +156,18 @@ if (@file_exists($pmaThemeImage . 'logo_right.png')) {
<h1>
<?php
echo sprintf(__('Welcome to %s'),
'<bdo dir="ltr" xml:lang="en">phpMyAdmin ' . PMA_VERSION . '</bdo>');
'<bdo dir="ltr" lang="en">phpMyAdmin ' . PMA_VERSION . '</bdo>');
?>
</h1>
<hr class="clearfloat" />
<form method="post" action="theme.php" target="_parent">
<form method="post" action="theme.php">
<fieldset>
<legend><?php echo __('Theme'); ?></legend>
<?php
echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox(false);
?>
<noscript><input type="submit" value="Go" style="vertical-align: middle" /></noscript>
</fieldset>
</form>
@ -180,7 +182,7 @@ echo sprintf(__('Welcome to %s'),
success message box content!
</div>
<div class="success">
<h1>Auccess message box header!</h1>
<h1>Success message box header!</h1>
success message box content!
</div>