Emphasized the sql query texteareas
This commit is contained in:
@@ -32,6 +32,9 @@ $Source$
|
||||
* tbl_properties.php3; tbl_properties_operations.php3: moved tables
|
||||
comments and type features and referential integrity checkings to the
|
||||
"table operations" page.
|
||||
* config.inc.php3, lines 184-185; db_details.php3, line 572;
|
||||
Documentation.html, lines 916-917; tbl_properties.php3, line 556:
|
||||
emphasized the sql query texteareas.
|
||||
|
||||
2002-04-27 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_properties.php3, new tbl_properties_links.php3:
|
||||
|
@@ -913,7 +913,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
||||
<b>$cfg['TextareaRows'] </b>integer
|
||||
</dt>
|
||||
<dd>
|
||||
Number of columns and rows for the textareas.
|
||||
Number of columns and rows for the textareas.<br />
|
||||
This value will be emphasized (*2) for sql query textareas.
|
||||
<br /><br />
|
||||
</dd>
|
||||
|
||||
|
@@ -181,6 +181,8 @@ $cfg['BrowseMarkerColor'] = '#FFCC99'; // color of the marker (visually mar
|
||||
// by clicking on it) in browse mode
|
||||
// (blank for no marker)
|
||||
$cfg['TextareaCols'] = 40; // textarea size (columns) in edit mode
|
||||
// (this value will be emphasized (*2) for sql
|
||||
// query textareas)
|
||||
$cfg['TextareaRows'] = 7; // textarea size (rows) in edit mode
|
||||
$cfg['LimitChars'] = 50; // max field data length in browse mode
|
||||
$cfg['ModifyDeleteAtLeft'] = TRUE; // show edit/delete links on left side of browse
|
||||
|
@@ -569,7 +569,7 @@ $is_upload = (PMA_PHP_INT_VERSION >= 40000 && function_exists('ini_get'))
|
||||
<input type="hidden" name="prev_sql_query" value="<?php echo ((!empty($query_to_display)) ? urlencode($query_to_display) : ''); ?>" />
|
||||
<?php echo sprintf($strRunSQLQuery, $db) . ' ' . PMA_showDocuShort('S/E/SELECT.html'); ?> :<br />
|
||||
<div style="margin-bottom: 5px">
|
||||
<textarea name="sql_query" cols="<?php echo $cfg['TextareaCols']; ?>" rows="<?php echo $cfg['TextareaRows']; ?>" wrap="virtual"
|
||||
<textarea name="sql_query" cols="<?php echo $cfg['TextareaCols'] * 2; ?>" rows="<?php echo $cfg['TextareaRows']; ?>" wrap="virtual"
|
||||
onfocus="if (typeof(document.layers) == 'undefined' || typeof(textarea_selected) == 'undefined') {textarea_selected = 1; this.form.elements['sql_query'].select();}">
|
||||
<?php echo ((!empty($query_to_display)) ? htmlspecialchars($query_to_display) : ''); ?>
|
||||
</textarea><br />
|
||||
|
@@ -553,7 +553,7 @@ $is_upload = (PMA_PHP_INT_VERSION >= 40000 && function_exists('ini_get'))
|
||||
<input type="hidden" name="prev_sql_query" value="<?php echo ((!empty($query_to_display)) ? urlencode($query_to_display) : ''); ?>" />
|
||||
<?php echo sprintf($strRunSQLQuery, htmlspecialchars($db)) . ' ' . PMA_showDocuShort('S/E/SELECT.html'); ?> :<br />
|
||||
<div style="margin-bottom: 5px">
|
||||
<textarea name="sql_query" rows="<?php echo $cfg['TextareaRows']; ?>" cols="<?php echo $cfg['TextareaCols']; ?>" wrap="virtual"
|
||||
<textarea name="sql_query" rows="<?php echo $cfg['TextareaRows']; ?>" cols="<?php echo $cfg['TextareaCols'] * 2; ?>" wrap="virtual"
|
||||
onfocus="if (typeof(document.layers) == 'undefined' || typeof(textarea_selected) == 'undefined') {textarea_selected = 1; this.form.elements['sql_query'].select();}">
|
||||
<?php echo ((!empty($query_to_display)) ? htmlspecialchars($query_to_display) : 'SELECT * FROM ' . PMA_backquote($table) . ' WHERE 1'); ?>
|
||||
</textarea><br />
|
||||
|
Reference in New Issue
Block a user