diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2017-07-08 20:20:15 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2017-07-09 14:11:56 +0300 |
commit | aed46acb8130bde35b7f1b9c3fd7bc731b92f94c (patch) | |
tree | 1df59c09b6970bf62c46f56d2f7534b69fb61736 /view_create.php | |
parent | b2ad33ca474ba2c3355d8e118703331209d10f3d (diff) |
Added Format button on edit view form.
Fixes #13448.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
Diffstat (limited to 'view_create.php')
-rw-r--r-- | view_create.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view_create.php b/view_create.php index fbe8e6747c..f11784edad 100644 --- a/view_create.php +++ b/view_create.php @@ -275,7 +275,9 @@ $htmlString .= '<tr><td class="nowrap">AS</td>' if ($GLOBALS['cfg']['TextareaAutoSelect'] || true) { $htmlString .= ' onclick="selectContent(this, sql_box_locked, true)"'; } -$htmlString .= '>' . htmlspecialchars($view['as']) . '</textarea>' +$htmlString .= '>' . htmlspecialchars($view['as']) . '</textarea><br/>' + . '<input type="button" value="Format" id="format" class="button sqlbutton">' + . '<span id="querymessage"></span>' . '</td></tr>'; $htmlString .= '<tr><td class="nowrap">WITH CHECK OPTION</td>' |