Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
859e6d13fb
@ -43,8 +43,8 @@ $foreign_limit = PMA_getForeignLimit(
|
||||
|
||||
$foreignData = PMA_getForeignData(
|
||||
$foreigners, $_REQUEST['field'], true,
|
||||
isset($_REQUEST['foreign_filter'])
|
||||
? $_REQUEST['foreign_filter']
|
||||
isset($_REQUEST['foreign_filter'])
|
||||
? $_REQUEST['foreign_filter']
|
||||
: '',
|
||||
isset($foreign_limit) ? $foreign_limit : null
|
||||
);
|
||||
|
||||
@ -35,8 +35,8 @@ $back = 'db_sql.php';
|
||||
$response->addHTML(
|
||||
PMA_getHtmlForSqlQueryForm(
|
||||
true, false,
|
||||
isset($_REQUEST['delimiter'])
|
||||
? htmlspecialchars($_REQUEST['delimiter'])
|
||||
isset($_REQUEST['delimiter'])
|
||||
? htmlspecialchars($_REQUEST['delimiter'])
|
||||
: ';'
|
||||
)
|
||||
);
|
||||
|
||||
@ -103,9 +103,9 @@ if ($cfgRelation['pdfwork']) {
|
||||
|
||||
if (isset($_REQUEST['do'])
|
||||
&& ($_REQUEST['do'] == 'edcoord'
|
||||
|| ($_REQUEST['do']== 'selectpage' && isset($user_schema->chosenPage)
|
||||
|| ($_REQUEST['do']== 'selectpage' && isset($user_schema->chosenPage)
|
||||
&& $user_schema->chosenPage != 0)
|
||||
|| ($_REQUEST['do'] == 'createpage' && isset($user_schema->chosenPage)
|
||||
|| ($_REQUEST['do'] == 'createpage' && isset($user_schema->chosenPage)
|
||||
&& $user_schema->chosenPage != 0))
|
||||
) {
|
||||
|
||||
|
||||
@ -96,16 +96,16 @@ if ($server > 0) {
|
||||
*/
|
||||
if ($databases_count > 0) {
|
||||
$html .= PMA_getHtmlForDatabase(
|
||||
$databases,
|
||||
$databases_count,
|
||||
$pos,
|
||||
$dbstats,
|
||||
$sort_by,
|
||||
$sort_order,
|
||||
$is_superuser,
|
||||
$cfg,
|
||||
$replication_types,
|
||||
$replication_info,
|
||||
$databases,
|
||||
$databases_count,
|
||||
$pos,
|
||||
$dbstats,
|
||||
$sort_by,
|
||||
$sort_order,
|
||||
$is_superuser,
|
||||
$cfg,
|
||||
$replication_types,
|
||||
$replication_info,
|
||||
$url_query
|
||||
);
|
||||
} else {
|
||||
|
||||
@ -23,7 +23,7 @@ require 'libraries/server_engines.lib.php';
|
||||
*/
|
||||
$response = PMA_Response::getInstance();
|
||||
$response->addHTML(PMA_getHtmlForSubPageHeader('engines'));
|
||||
|
||||
|
||||
/**
|
||||
* start output
|
||||
*/
|
||||
|
||||
@ -29,8 +29,8 @@ require 'libraries/server_plugins.lib.php';
|
||||
/**
|
||||
* Prepare plugin list
|
||||
*/
|
||||
$sql = "SELECT p.plugin_name, p.plugin_type, p.is_active, m.module_name,
|
||||
m.module_library, m.module_version, m.module_author,
|
||||
$sql = "SELECT p.plugin_name, p.plugin_type, p.is_active, m.module_name,
|
||||
m.module_library, m.module_version, m.module_author,
|
||||
m.module_description, m.module_license
|
||||
FROM data_dictionary.plugins p
|
||||
JOIN data_dictionary.modules m USING (module_name)
|
||||
|
||||
@ -52,9 +52,9 @@ if (isset($_REQUEST['do_save_data'])) {
|
||||
unset($_REQUEST['do_save_data']);
|
||||
|
||||
include_once 'libraries/create_addfield.lib.php';
|
||||
|
||||
|
||||
list($result, $sql_query) = PMA_tryColumnCreationQuery($db, $table, $err_url);
|
||||
|
||||
|
||||
if ($result === true) {
|
||||
// If comments were sent, enable relation stuff
|
||||
include_once 'libraries/transformations.lib.php';
|
||||
@ -93,7 +93,7 @@ if (isset($_REQUEST['do_save_data'])) {
|
||||
} else {
|
||||
$error_message_html = PMA_Util::mysqlDie('', '', '', $err_url, false);
|
||||
$response->addHTML($error_message_html);
|
||||
exit;
|
||||
exit;
|
||||
}
|
||||
} // end do alter table
|
||||
|
||||
|
||||
@ -171,12 +171,12 @@ foreach ($rows as $row_id => $current_row) {
|
||||
}
|
||||
|
||||
$html_output .= PMA_getHtmlForInsertEditRow(
|
||||
$url_params, $table_columns, $column, $comments_map, $timestamp_seen,
|
||||
$url_params, $table_columns, $column, $comments_map, $timestamp_seen,
|
||||
$current_result, $chg_evt_handler, $jsvkey, $vkey, $insert_mode,
|
||||
isset($current_row) ? $current_row : null, $o_rows, $tabindex, $columns_cnt,
|
||||
$is_upload, $tabindex_for_function, $foreigners, $tabindex_for_null,
|
||||
$tabindex_for_value, $table, $db, $row_id, $titles,
|
||||
$biggest_max_file_size, $text_dir
|
||||
$biggest_max_file_size, $text_dir
|
||||
);
|
||||
} // end foreach on multi-edit
|
||||
|
||||
|
||||
@ -349,15 +349,15 @@ if ($response->isAjax() && ! isset($_POST['ajax_page_request'])) {
|
||||
}
|
||||
} // end of loop for each $mime_map
|
||||
}
|
||||
|
||||
|
||||
// Need to check the inline edited value can be truncated by MySQL
|
||||
// without informing while saving
|
||||
$column_name = $_REQUEST['fields_name']['multi_edit'][0][0];
|
||||
|
||||
|
||||
PMA_verifyWhetherValueCanBeTruncatedAndAppendExtraData(
|
||||
$db, $table, $column_name, $extra_data
|
||||
);
|
||||
|
||||
|
||||
/**Get the total row count of the table*/
|
||||
$extra_data['row_count'] = PMA_Table::countRecords(
|
||||
$_REQUEST['db'], $_REQUEST['table']
|
||||
|
||||
@ -42,8 +42,8 @@ require_once 'libraries/tbl_info.inc.php';
|
||||
$response->addHTML(
|
||||
PMA_getHtmlForSqlQueryForm(
|
||||
true, false,
|
||||
isset($_REQUEST['delimiter'])
|
||||
? htmlspecialchars($_REQUEST['delimiter'])
|
||||
isset($_REQUEST['delimiter'])
|
||||
? htmlspecialchars($_REQUEST['delimiter'])
|
||||
: ';'
|
||||
)
|
||||
);
|
||||
|
||||
@ -115,7 +115,7 @@ if (isset($_REQUEST['report']) || isset($_REQUEST['report_export'])) {
|
||||
$html .= PMA_getHtmlForTrackingReport(
|
||||
$url_query, $data, $url_params, $selection_schema, $selection_data,
|
||||
$selection_both, $filter_ts_to, $filter_ts_from, $filter_users
|
||||
);
|
||||
);
|
||||
} // end of report
|
||||
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* Styles for jqplot
|
||||
* Styles for jqplot
|
||||
* for the pmahomme theme
|
||||
*
|
||||
* @package PhpMyAdmin-theme
|
||||
@ -236,7 +236,7 @@ table.jqplot-cursor-tooltip {
|
||||
font-size: 0.75em;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
|
||||
td.jqplot-cursor-legend-swatch {
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user