For Insert row and Export: use post when query is too big
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-07-12 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* sql.php: for Insert row and Export, use post when the query is too big
|
||||||
|
|
||||||
2005-07-11 Marc Delisle <lem9@users.sourceforge.net>
|
2005-07-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_relations.php: bug #1227710, unsaved relations lost when changing
|
* tbl_relations.php: bug #1227710, unsaved relations lost when changing
|
||||||
field to display
|
field to display
|
||||||
|
23
sql.php
23
sql.php
@@ -790,8 +790,12 @@ else {
|
|||||||
. '&sql_query=' . urlencode($sql_query)
|
. '&sql_query=' . urlencode($sql_query)
|
||||||
. '&goto=' . urlencode($lnk_goto);
|
. '&goto=' . urlencode($lnk_goto);
|
||||||
|
|
||||||
echo ' <!-- Insert a new row -->' . "\n"
|
echo ' <!-- Insert a new row -->' . "\n";
|
||||||
. ' <a href="tbl_change.php' . $url_query . '">' . ($cfg['PropertiesIconic'] ? '<img src="' . $pmaThemeImage . 'b_insrow.png" border="0" height="16" width="16" align="middle" hspace="2" alt="' . $strInsertNewRow . '"/>' : '') . $strInsertNewRow . '</a>';
|
echo PMA_linkOrButton(
|
||||||
|
'tbl_change.php' . $url_query,
|
||||||
|
($cfg['PropertiesIconic'] ? '<img src="' . $pmaThemeImage . 'b_insrow.png" border="0" height="16" width="16" align="middle" hspace="2" alt="' . $strInsertNewRow . '"/>' : '') . $strInsertNewRow,
|
||||||
|
'', TRUE, TRUE, '') . "\n";
|
||||||
|
|
||||||
if ($disp_mode[9] == '1') {
|
if ($disp_mode[9] == '1') {
|
||||||
echo ' ';
|
echo ' ';
|
||||||
}
|
}
|
||||||
@@ -815,7 +819,7 @@ else {
|
|||||||
'', TRUE, TRUE, 'print_view') . "\n";
|
'', TRUE, TRUE, 'print_view') . "\n";
|
||||||
|
|
||||||
if (!$dontlimitchars) {
|
if (!$dontlimitchars) {
|
||||||
echo ' ' . "\n";
|
echo ' ' . "\n";
|
||||||
echo PMA_linkOrButton(
|
echo PMA_linkOrButton(
|
||||||
'sql.php' . $url_query . '&dontlimitchars=1',
|
'sql.php' . $url_query . '&dontlimitchars=1',
|
||||||
($cfg['PropertiesIconic'] ? '<img src="' . $pmaThemeImage . 'b_print.png" border="0" height="16" width="16" align="middle" hspace="2" alt="' . $strPrintViewFull . '"/>' : '') . $strPrintViewFull,
|
($cfg['PropertiesIconic'] ? '<img src="' . $pmaThemeImage . 'b_print.png" border="0" height="16" width="16" align="middle" hspace="2" alt="' . $strPrintViewFull . '"/>' : '') . $strPrintViewFull,
|
||||||
@@ -836,13 +840,12 @@ else {
|
|||||||
} else {
|
} else {
|
||||||
$single_table = '';
|
$single_table = '';
|
||||||
}
|
}
|
||||||
echo ' <!-- Export -->' . "\n"
|
echo ' <!-- Export -->' . "\n";
|
||||||
. ' <a href="tbl_properties_export.php' . $url_query
|
echo ' ' . "\n";
|
||||||
. '&unlim_num_rows=' . $unlim_num_rows
|
echo PMA_linkOrButton(
|
||||||
. $single_table
|
'tbl_properties_export.php' . $url_query . '&unlim_num_rows=' . $unlim_num_rows . $single_table,
|
||||||
. '">'
|
($cfg['PropertiesIconic'] ? '<img src="' . $pmaThemeImage . 'b_tblexport.png" border="0" height="16" width="16" align="middle" hspace="2" alt="' . $strExport . '" />' : '') . $strExport,
|
||||||
. ($cfg['PropertiesIconic'] ? '<img src="' . $pmaThemeImage . 'b_tblexport.png" border="0" height="16" width="16" align="middle" hspace="2" alt="' . $strExport . '" />' : '')
|
'', TRUE, TRUE, '') . "\n";
|
||||||
. $strExport . '</a>' . "\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bookmark Support if required
|
// Bookmark Support if required
|
||||||
|
Reference in New Issue
Block a user