Merge remote-tracking branch 'origin/master' into rte
This commit is contained in:
commit
255d7dcf00
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,14 +1,14 @@
|
||||
# Directory for creating releases
|
||||
release
|
||||
/release/
|
||||
# Configuration files
|
||||
config.inc.php
|
||||
config.header.inc.php
|
||||
config.footer.inc.php
|
||||
# Upload/save dirs
|
||||
upload
|
||||
save
|
||||
/upload/
|
||||
/save/
|
||||
# For setup script
|
||||
config
|
||||
/config/
|
||||
# ctags
|
||||
tags
|
||||
# Editor files
|
||||
@ -22,12 +22,12 @@ phpmyadmin.wpj
|
||||
.idea
|
||||
*.sw[op]
|
||||
# Locales
|
||||
locale
|
||||
/locale/
|
||||
# Backups
|
||||
*~
|
||||
# Javascript sources
|
||||
sources
|
||||
/sources/
|
||||
# API documentation
|
||||
apidoc
|
||||
/apidoc/
|
||||
# Demo server
|
||||
revision-info.php
|
||||
|
||||
@ -1936,14 +1936,12 @@ $cfg['TrustedProxies'] =
|
||||
<dd>Maximum number of characters shown in any non-numeric field on browse view.
|
||||
Can be turned off by a toggle button on the browse page.</dd>
|
||||
|
||||
<dt><span id="cfg_ModifyDeleteAtLeft">$cfg['ModifyDeleteAtLeft'] </span>boolean
|
||||
<span id="cfg_ModifyDeleteAtRight">$cfg['ModifyDeleteAtRight'] </span>boolean
|
||||
<dt><span id="cfg_RowActionLinks">$cfg['RowActionLinks'] </span>string
|
||||
</dt>
|
||||
<dd>Defines the place where table row links (Edit, Inline edit, Copy,
|
||||
Delete) would be put when
|
||||
tables contents are displayed (you may have them displayed both at the
|
||||
left and at the right).
|
||||
"Left" and "right" are parsed as "top"
|
||||
Delete) would be put when tables contents are displayed (you may
|
||||
have them displayed at the left side, right side, both sides or nowhere).
|
||||
"left" and "right" are parsed as "top"
|
||||
and "bottom" with vertical display mode.</dd>
|
||||
|
||||
<dt id="cfg_DefaultDisplay">$cfg['DefaultDisplay'] string</dt>
|
||||
|
||||
@ -66,7 +66,7 @@ function appendInlineAnchor() {
|
||||
|
||||
if (disp_mode == 'vertical') {
|
||||
// there can be one or two tr containing this class, depending
|
||||
// on the ModifyDeleteAtLeft and ModifyDeleteAtRight cfg parameters
|
||||
// on the RowActionLinks cfg parameter
|
||||
$('#table_results tr')
|
||||
.find('.edit_row_anchor')
|
||||
.removeClass('edit_row_anchor')
|
||||
|
||||
@ -2249,20 +2249,14 @@ $cfg['CharTextareaRows'] = 2;
|
||||
$cfg['LimitChars'] = 50;
|
||||
|
||||
/**
|
||||
* show edit/delete links on left side of browse
|
||||
* (or at the top with vertical browse)
|
||||
* Where to show the edit/inline_edit/delete links in browse mode
|
||||
* Possible values are 'left', 'right', 'both' and 'none';
|
||||
* which will be interpreted as 'top', 'bottom', 'both' and 'none'
|
||||
* respectively for vertical display mode
|
||||
*
|
||||
* @global boolean $cfg['ModifyDeleteAtLeft']
|
||||
* @global string $cfg['RowActionLinks']
|
||||
*/
|
||||
$cfg['ModifyDeleteAtLeft'] = true;
|
||||
|
||||
/**
|
||||
* show edit/delete links on right side of browse
|
||||
* (or at the bottom with vertical browse)
|
||||
*
|
||||
* @global boolean $cfg['ModifyDeleteAtRight']
|
||||
*/
|
||||
$cfg['ModifyDeleteAtRight'] = false;
|
||||
$cfg['RowActionLinks'] = 'left';
|
||||
|
||||
/**
|
||||
* default display direction (horizontal|vertical|horizontalflipped)
|
||||
|
||||
@ -44,6 +44,7 @@ $cfg_db['LeftFrameDBSeparator'] = 'short_string';
|
||||
$cfg_db['LeftFrameTableSeparator'] = 'short_string';
|
||||
$cfg_db['NavigationBarIconic'] = array(true => __('Yes'), false => __('No'), 'both' => __('Both'));
|
||||
$cfg_db['Order'] = array('ASC', 'DESC', 'SMART');
|
||||
$cfg_db['RowActionLinks'] = array('none' => __('Nowhere'), 'left' => __('Left'), 'right' => __('Right'), 'both' => __('Both'));
|
||||
$cfg_db['ProtectBinary'] = array(false, 'blob', 'all');
|
||||
$cfg_db['DefaultDisplay'] = array('horizontal', 'vertical', 'horizontalflipped');
|
||||
$cfg_db['CharEditing'] = array('input', 'textarea');
|
||||
|
||||
@ -314,9 +314,8 @@ $strConfigMcryptDisableWarning_desc = __('Disable the default warning that is di
|
||||
$strConfigMcryptDisableWarning_name = __('mcrypt warning');
|
||||
$strConfigMemoryLimit_desc = __('The number of bytes a script is allowed to allocate, eg. [kbd]32M[/kbd] ([kbd]0[/kbd] for no limit)');
|
||||
$strConfigMemoryLimit_name = __('Memory limit');
|
||||
$strConfigModifyDeleteAtLeft_desc = __('These are Edit, Inline edit, Copy and Delete links');
|
||||
$strConfigModifyDeleteAtLeft_name = __('Show table row links on left side');
|
||||
$strConfigModifyDeleteAtRight_name = __('Show table row links on right side');
|
||||
$strConfigRowActionLinks_desc = __('These are Edit, Inline edit, Copy and Delete links');
|
||||
$strConfigRowActionLinks_name = __('Where to show the table row links');
|
||||
$strConfigNaturalOrder_desc = __('Use natural order for sorting table and database names');
|
||||
$strConfigNaturalOrder_name = __('Natural order');
|
||||
$strConfigNavigationBarIconic_desc = __('Use only icons, only text or both');
|
||||
|
||||
@ -199,8 +199,7 @@ $forms['Main_frame']['Browse'] = array(
|
||||
'BrowseMarkerEnable',
|
||||
'RepeatCells',
|
||||
'LimitChars',
|
||||
'ModifyDeleteAtLeft',
|
||||
'ModifyDeleteAtRight',
|
||||
'RowActionLinks',
|
||||
'DefaultDisplay',
|
||||
'RememberSorting');
|
||||
$forms['Main_frame']['Edit'] = array(
|
||||
|
||||
@ -109,8 +109,7 @@ $forms['Main_frame']['Browse'] = array(
|
||||
'BrowseMarkerEnable',
|
||||
'RepeatCells',
|
||||
'LimitChars',
|
||||
'ModifyDeleteAtLeft',
|
||||
'ModifyDeleteAtRight',
|
||||
'RowActionLinks',
|
||||
'DefaultDisplay',
|
||||
'RememberSorting');
|
||||
$forms['Main_frame']['Edit'] = array(
|
||||
|
||||
@ -661,7 +661,8 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
|
||||
|
||||
// ... at the left column of the result table header if possible
|
||||
// and required
|
||||
elseif ($GLOBALS['cfg']['ModifyDeleteAtLeft'] && $is_display['text_btn'] == '1') {
|
||||
elseif (($GLOBALS['cfg']['RowActionLinks'] == 'left' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& $is_display['text_btn'] == '1') {
|
||||
$vertical_display['emptypre'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 4 : 0;
|
||||
if ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped') {
|
||||
@ -677,7 +678,7 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
|
||||
}
|
||||
|
||||
// ... elseif no button, displays empty(ies) col(s) if required
|
||||
elseif ($GLOBALS['cfg']['ModifyDeleteAtLeft']
|
||||
elseif (($GLOBALS['cfg']['RowActionLinks'] == 'left' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& ($is_display['edit_lnk'] != 'nn' || $is_display['del_lnk'] != 'nn')) {
|
||||
$vertical_display['emptypre'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 4 : 0;
|
||||
if ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
@ -691,6 +692,12 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
|
||||
} // end vertical mode
|
||||
}
|
||||
|
||||
// ... elseif display an empty column if the actions links are disabled to match the rest of the table
|
||||
elseif ($GLOBALS['cfg']['RowActionLinks'] == 'none' && ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped')) {
|
||||
echo '<td></td>';
|
||||
}
|
||||
|
||||
// 2. Displays the fields' name
|
||||
// 2.0 If sorting links should be used, checks if the query is a "JOIN"
|
||||
// statement (see 2.1.3)
|
||||
@ -912,9 +919,9 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
|
||||
|
||||
// 3. Displays the needed checkboxes at the right
|
||||
// column of the result table header if possible and required...
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtRight']
|
||||
&& ($is_display['edit_lnk'] != 'nn' || $is_display['del_lnk'] != 'nn')
|
||||
&& $is_display['text_btn'] == '1') {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'right' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& ($is_display['edit_lnk'] != 'nn' || $is_display['del_lnk'] != 'nn')
|
||||
&& $is_display['text_btn'] == '1') {
|
||||
$vertical_display['emptyafter'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 4 : 1;
|
||||
if ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped') {
|
||||
@ -933,7 +940,7 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
|
||||
|
||||
// ... elseif no button, displays empty columns if required
|
||||
// (unless coming from Browse mode print view)
|
||||
elseif ($GLOBALS['cfg']['ModifyDeleteAtRight']
|
||||
elseif (($GLOBALS['cfg']['RowActionLinks'] == 'left' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& ($is_display['edit_lnk'] == 'nn' && $is_display['del_lnk'] == 'nn')
|
||||
&& (!$GLOBALS['is_header_sent'])) {
|
||||
$vertical_display['emptyafter'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 4 : 1;
|
||||
@ -1249,13 +1256,20 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
|
||||
} // end if (1.2.2)
|
||||
|
||||
// 1.3 Displays the links at left if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtLeft']
|
||||
&& ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped')) {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'left' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped')) {
|
||||
if (! isset($js_conf)) {
|
||||
$js_conf = '';
|
||||
}
|
||||
echo PMA_generateCheckboxAndLinks('left', $del_url, $is_display, $row_no, $where_clause, $where_clause_html, $del_query, 'l', $edit_url, $copy_url, $edit_anchor_class, $edit_str, $copy_str, $del_str, $js_conf);
|
||||
} else if (($GLOBALS['cfg']['RowActionLinks'] == 'none')
|
||||
&& ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped')) {
|
||||
if (! isset($js_conf)) {
|
||||
$js_conf = '';
|
||||
}
|
||||
echo PMA_generateCheckboxAndLinks('none', $del_url, $is_display, $row_no, $where_clause, $where_clause_html, $del_query, 'l', $edit_url, $copy_url, $edit_anchor_class, $edit_str, $copy_str, $del_str, $js_conf);
|
||||
} // end if (1.3)
|
||||
} // end if (1)
|
||||
|
||||
@ -1465,13 +1479,13 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
|
||||
} // end for (2)
|
||||
|
||||
// 3. Displays the modify/delete links on the right if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtRight']
|
||||
&& ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped')) {
|
||||
if (! isset($js_conf)) {
|
||||
$js_conf = '';
|
||||
}
|
||||
echo PMA_generateCheckboxAndLinks('right', $del_url, $is_display, $row_no, $where_clause, $where_clause_html, $del_query, 'r', $edit_url, $copy_url, $edit_anchor_class, $edit_str, $copy_str, $del_str, $js_conf);
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'right' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped')) {
|
||||
if (! isset($js_conf)) {
|
||||
$js_conf = '';
|
||||
}
|
||||
echo PMA_generateCheckboxAndLinks('right', $del_url, $is_display, $row_no, $where_clause, $where_clause_html, $del_query, 'r', $edit_url, $copy_url, $edit_anchor_class, $edit_str, $copy_str, $del_str, $js_conf);
|
||||
} // end if (3)
|
||||
|
||||
if ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|
||||
@ -1551,15 +1565,19 @@ function PMA_displayVerticalTable()
|
||||
global $vertical_display;
|
||||
|
||||
// Displays "multi row delete" link at top if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtLeft'] && is_array($vertical_display['row_delete']) && (count($vertical_display['row_delete']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] != 'right')
|
||||
&& is_array($vertical_display['row_delete']) && (count($vertical_display['row_delete']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
echo '<tr>' . "\n";
|
||||
if ($GLOBALS['cfg']['RowActionLinks'] == 'none') {
|
||||
// if we are not showing the RowActionLinks, then we need to show the Multi-Row-Action checkboxes
|
||||
echo '<th></th>' . "\n";
|
||||
}
|
||||
echo $vertical_display['textbtn'];
|
||||
$foo_counter = 0;
|
||||
foreach ($vertical_display['row_delete'] as $val) {
|
||||
if (($foo_counter != 0) && ($_SESSION['tmp_user_values']['repeat_cells'] != 0) && !($foo_counter % $_SESSION['tmp_user_values']['repeat_cells'])) {
|
||||
echo '<th></th>' . "\n";
|
||||
}
|
||||
|
||||
echo str_replace('[%_PMA_CHECKBOX_DIR_%]', '_left', $val);
|
||||
$foo_counter++;
|
||||
} // end while
|
||||
@ -1567,7 +1585,8 @@ function PMA_displayVerticalTable()
|
||||
} // end if
|
||||
|
||||
// Displays "edit" link at top if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtLeft'] && is_array($vertical_display['edit']) && (count($vertical_display['edit']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'left' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& is_array($vertical_display['edit']) && (count($vertical_display['edit']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
echo '<tr>' . "\n";
|
||||
if (! is_array($vertical_display['row_delete'])) {
|
||||
echo $vertical_display['textbtn'];
|
||||
@ -1585,7 +1604,8 @@ function PMA_displayVerticalTable()
|
||||
} // end if
|
||||
|
||||
// Displays "copy" link at top if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtLeft'] && is_array($vertical_display['copy']) && (count($vertical_display['copy']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'left' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& is_array($vertical_display['copy']) && (count($vertical_display['copy']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
echo '<tr>' . "\n";
|
||||
if (! is_array($vertical_display['row_delete'])) {
|
||||
echo $vertical_display['textbtn'];
|
||||
@ -1603,7 +1623,8 @@ function PMA_displayVerticalTable()
|
||||
} // end if
|
||||
|
||||
// Displays "delete" link at top if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtLeft'] && is_array($vertical_display['delete']) && (count($vertical_display['delete']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'left' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& is_array($vertical_display['delete']) && (count($vertical_display['delete']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
echo '<tr>' . "\n";
|
||||
if (! is_array($vertical_display['edit']) && ! is_array($vertical_display['row_delete'])) {
|
||||
echo $vertical_display['textbtn'];
|
||||
@ -1640,7 +1661,8 @@ function PMA_displayVerticalTable()
|
||||
} // end while
|
||||
|
||||
// Displays "multi row delete" link at bottom if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtRight'] && is_array($vertical_display['row_delete']) && (count($vertical_display['row_delete']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'right' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& is_array($vertical_display['row_delete']) && (count($vertical_display['row_delete']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
echo '<tr>' . "\n";
|
||||
echo $vertical_display['textbtn'];
|
||||
$foo_counter = 0;
|
||||
@ -1656,7 +1678,8 @@ function PMA_displayVerticalTable()
|
||||
} // end if
|
||||
|
||||
// Displays "edit" link at bottom if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtRight'] && is_array($vertical_display['edit']) && (count($vertical_display['edit']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'right' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& is_array($vertical_display['edit']) && (count($vertical_display['edit']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
echo '<tr>' . "\n";
|
||||
if (! is_array($vertical_display['row_delete'])) {
|
||||
echo $vertical_display['textbtn'];
|
||||
@ -1674,7 +1697,8 @@ function PMA_displayVerticalTable()
|
||||
} // end if
|
||||
|
||||
// Displays "copy" link at bottom if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtRight'] && is_array($vertical_display['copy']) && (count($vertical_display['copy']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'right' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& is_array($vertical_display['copy']) && (count($vertical_display['copy']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
echo '<tr>' . "\n";
|
||||
if (! is_array($vertical_display['row_delete'])) {
|
||||
echo $vertical_display['textbtn'];
|
||||
@ -1692,7 +1716,8 @@ function PMA_displayVerticalTable()
|
||||
} // end if
|
||||
|
||||
// Displays "delete" link at bottom if required
|
||||
if ($GLOBALS['cfg']['ModifyDeleteAtRight'] && is_array($vertical_display['delete']) && (count($vertical_display['delete']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
if (($GLOBALS['cfg']['RowActionLinks'] == 'right' || $GLOBALS['cfg']['RowActionLinks'] == 'both')
|
||||
&& is_array($vertical_display['delete']) && (count($vertical_display['delete']) > 0 || !empty($vertical_display['textbtn']))) {
|
||||
echo '<tr>' . "\n";
|
||||
if (! is_array($vertical_display['edit']) && ! is_array($vertical_display['row_delete'])) {
|
||||
echo $vertical_display['textbtn'];
|
||||
@ -2680,6 +2705,8 @@ function PMA_generateCheckboxAndLinks($position, $del_url, $is_display, $row_no,
|
||||
$ret .= PMA_generateEditLink($edit_url, $class, $edit_str, $where_clause, $where_clause_html, '');
|
||||
|
||||
$ret .= PMA_generateCheckboxForMulti($del_url, $is_display, $row_no, $where_clause_html, $del_query, $id_suffix='_right', '', '', '');
|
||||
} else { // $position == 'none'
|
||||
$ret .= PMA_generateCheckboxForMulti($del_url, $is_display, $row_no, $where_clause_html, $del_query, $id_suffix='_left', '', '', '');
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
563
po/be@latin.po
563
po/be@latin.po
File diff suppressed because it is too large
Load Diff
588
po/en_GB.po
588
po/en_GB.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
565
po/pt_BR.po
565
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
563
po/sr@latin.po
563
po/sr@latin.po
File diff suppressed because it is too large
Load Diff
572
po/uz@latin.po
572
po/uz@latin.po
File diff suppressed because it is too large
Load Diff
573
po/zh_CN.po
573
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
4094
po/zh_TW.po
4094
po/zh_TW.po
File diff suppressed because it is too large
Load Diff
@ -40,12 +40,11 @@ CREATE TABLE IF NOT EXISTS `pma_bookmark` (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`dbase` varchar(255) NOT NULL default '',
|
||||
`user` varchar(255) NOT NULL default '',
|
||||
`label` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default '',
|
||||
`label` varchar(255) COLLATE utf8_general_ci NOT NULL default '',
|
||||
`query` text NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='Bookmarks'
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ENGINE=MyISAM COMMENT='Bookmarks';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -58,15 +57,14 @@ CREATE TABLE IF NOT EXISTS `pma_column_info` (
|
||||
`db_name` varchar(64) NOT NULL default '',
|
||||
`table_name` varchar(64) NOT NULL default '',
|
||||
`column_name` varchar(64) NOT NULL default '',
|
||||
`comment` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default '',
|
||||
`mimetype` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default '',
|
||||
`comment` varchar(255) COLLATE utf8_general_ci NOT NULL default '',
|
||||
`mimetype` varchar(255) COLLATE utf8_general_ci NOT NULL default '',
|
||||
`transformation` varchar(255) NOT NULL default '',
|
||||
`transformation_options` varchar(255) NOT NULL default '',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `db_name` (`db_name`,`table_name`,`column_name`)
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='Column information for phpMyAdmin'
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ENGINE=MyISAM COMMENT='Column information for phpMyAdmin';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -84,8 +82,7 @@ CREATE TABLE IF NOT EXISTS `pma_history` (
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `username` (`username`,`db`,`table`,`timevalue`)
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='SQL history for phpMyAdmin'
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ENGINE=MyISAM COMMENT='SQL history for phpMyAdmin';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -96,12 +93,11 @@ CREATE TABLE IF NOT EXISTS `pma_history` (
|
||||
CREATE TABLE IF NOT EXISTS `pma_pdf_pages` (
|
||||
`db_name` varchar(64) NOT NULL default '',
|
||||
`page_nr` int(10) unsigned NOT NULL auto_increment,
|
||||
`page_descr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default '',
|
||||
`page_descr` varchar(50) COLLATE utf8_general_ci NOT NULL default '',
|
||||
PRIMARY KEY (`page_nr`),
|
||||
KEY `db_name` (`db_name`)
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='PDF relation pages for phpMyAdmin'
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ENGINE=MyISAM COMMENT='PDF relation pages for phpMyAdmin';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -110,10 +106,11 @@ CREATE TABLE IF NOT EXISTS `pma_pdf_pages` (
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `pma_recent` (
|
||||
`username` varchar(64) COLLATE utf8_bin NOT NULL,
|
||||
`tables` blob NOT NULL,
|
||||
`username` varchar(64) NOT NULL,
|
||||
`tables` text NOT NULL,
|
||||
PRIMARY KEY (`username`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='Recently accessed tables';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -122,13 +119,13 @@ CREATE TABLE IF NOT EXISTS `pma_recent` (
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `pma_table_uiprefs` (
|
||||
`username` varchar(64) COLLATE utf8_bin NOT NULL,
|
||||
`db_name` varchar(64) COLLATE utf8_bin NOT NULL,
|
||||
`table_name` varchar(64) COLLATE utf8_bin NOT NULL,
|
||||
`prefs` blob NOT NULL,
|
||||
`username` varchar(64) NOT NULL,
|
||||
`db_name` varchar(64) NOT NULL,
|
||||
`table_name` varchar(64) NOT NULL,
|
||||
`prefs` text NOT NULL,
|
||||
PRIMARY KEY (`username`,`db_name`,`table_name`)
|
||||
) ENGINE=MyISAM COMMENT='tables'' UI preferences'
|
||||
DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='Tables'' UI preferences';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -146,8 +143,7 @@ CREATE TABLE IF NOT EXISTS `pma_relation` (
|
||||
PRIMARY KEY (`master_db`,`master_table`,`master_field`),
|
||||
KEY `foreign_field` (`foreign_db`,`foreign_table`)
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='Relation table'
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ENGINE=MyISAM COMMENT='Relation table';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -163,8 +159,7 @@ CREATE TABLE IF NOT EXISTS `pma_table_coords` (
|
||||
`y` float unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`db_name`,`table_name`,`pdf_page_number`)
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='Table coordinates for phpMyAdmin PDF output'
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ENGINE=MyISAM COMMENT='Table coordinates for phpMyAdmin PDF output';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -178,8 +173,7 @@ CREATE TABLE IF NOT EXISTS `pma_table_info` (
|
||||
`display_field` varchar(64) NOT NULL default '',
|
||||
PRIMARY KEY (`db_name`,`table_name`)
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='Table information for phpMyAdmin'
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ENGINE=MyISAM COMMENT='Table information for phpMyAdmin';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -196,8 +190,7 @@ CREATE TABLE IF NOT EXISTS `pma_designer_coords` (
|
||||
`h` TINYINT,
|
||||
PRIMARY KEY (`db_name`,`table_name`)
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='Table coordinates for Designer'
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ENGINE=MyISAM COMMENT='Table coordinates for Designer';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -206,18 +199,19 @@ CREATE TABLE IF NOT EXISTS `pma_designer_coords` (
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `pma_tracking` (
|
||||
`db_name` varchar(64) collate utf8_bin NOT NULL,
|
||||
`table_name` varchar(64) collate utf8_bin NOT NULL,
|
||||
`db_name` varchar(64) NOT NULL,
|
||||
`table_name` varchar(64) NOT NULL,
|
||||
`version` int(10) unsigned NOT NULL,
|
||||
`date_created` datetime NOT NULL,
|
||||
`date_updated` datetime NOT NULL,
|
||||
`schema_snapshot` text collate utf8_bin NOT NULL,
|
||||
`schema_sql` text collate utf8_bin,
|
||||
`data_sql` longtext collate utf8_bin,
|
||||
`tracking` set('UPDATE','REPLACE','INSERT','DELETE','TRUNCATE','CREATE DATABASE','ALTER DATABASE','DROP DATABASE','CREATE TABLE','ALTER TABLE','RENAME TABLE','DROP TABLE','CREATE INDEX','DROP INDEX','CREATE VIEW','ALTER VIEW','DROP VIEW') collate utf8_bin default NULL,
|
||||
`schema_snapshot` text NOT NULL,
|
||||
`schema_sql` text,
|
||||
`data_sql` longtext,
|
||||
`tracking` set('UPDATE','REPLACE','INSERT','DELETE','TRUNCATE','CREATE DATABASE','ALTER DATABASE','DROP DATABASE','CREATE TABLE','ALTER TABLE','RENAME TABLE','DROP TABLE','CREATE INDEX','DROP INDEX','CREATE VIEW','ALTER VIEW','DROP VIEW') default NULL,
|
||||
`tracking_active` int(1) unsigned NOT NULL default '1',
|
||||
PRIMARY KEY (`db_name`,`table_name`,`version`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT;
|
||||
)
|
||||
ENGINE=MyISAM ROW_FORMAT=COMPACT COMMENT='Database changes tracking for phpMyAdmin';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -231,5 +225,4 @@ CREATE TABLE IF NOT EXISTS `pma_userconfig` (
|
||||
`config_data` text NOT NULL,
|
||||
PRIMARY KEY (`username`)
|
||||
)
|
||||
ENGINE=MyISAM COMMENT='User preferences storage for phpMyAdmin'
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ENGINE=MyISAM COMMENT='User preferences storage for phpMyAdmin';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user