Double sized textare for LONGTEXT is configurable (RFE #737174).
This commit is contained in:
@@ -5,7 +5,12 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-05-13 Michal Cihar <nijel@users.sourceforge.net>
|
||||
2003-05-15 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* Documentation, config.inc.php3, tbl_change.php3,
|
||||
libraries/config_import.lib.php3: Double sized textare for LONGTEXT is
|
||||
configurable (RFE #737174).
|
||||
|
||||
2003-05-14 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* libraries/display_export.lib.php3, tbl_dump.php3: Support for exporting
|
||||
CSV for multiple tables, it just puts all content into one file, but
|
||||
some people seem to want this (based on patch #735136).
|
||||
|
@@ -1427,6 +1427,14 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
|
||||
<br /><br />
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
<b>$cfg['LongtextDoubleTextarea'] </b>boolean<br />
|
||||
</dt>
|
||||
<dd>
|
||||
Defines whether textarea for LONGTEXT fields should have double size.
|
||||
<br /><br />
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
<b>$cfg['TextareaAutoSelect'] </b>boolean<br />
|
||||
</dt>
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -387,6 +387,7 @@ $cfg['TextareaCols'] = 40; // textarea size (columns) in edit m
|
||||
// (this value will be emphasized (*2) for sql
|
||||
// query textareas and (*1.25) for query window)
|
||||
$cfg['TextareaRows'] = 7; // textarea size (rows) in edit mode
|
||||
$cfg['LongtextDoubleTextarea'] = TRUE; // double size of textarea size for longtext fields
|
||||
$cfg['TextareaAutoSelect'] = TRUE; // autoselect when clicking in the textarea of the querybox
|
||||
$cfg['CharTextareaCols'] = 40; // textarea size (columns) for CHAR/VARCHAR
|
||||
$cfg['CharTextareaRows'] = 2; // textarea size (rows) for CHAR/VARCHAR
|
||||
|
@@ -612,6 +612,10 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($cfg['LongtextDoubleTextarea'])) {
|
||||
$cfg['LongtextDoubleTextarea'] = TRUE;
|
||||
}
|
||||
|
||||
if (!isset($cfg['TextareaRows'])) {
|
||||
if (isset($cfgTextareaRows)) {
|
||||
$cfg['TextareaRows'] = $cfgTextareaRows;
|
||||
|
@@ -449,7 +449,7 @@ for ($i = 0; $i < $fields_cnt; $i++) {
|
||||
echo ' </td>' . "\n";
|
||||
unset($disp);
|
||||
}
|
||||
else if (strstr($row_table_def['True_Type'], 'longtext')) {
|
||||
else if ($cfg['LongtextDoubleTextarea'] && strstr($row_table_def['True_Type'], 'longtext')) {
|
||||
?>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>"> </td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user