diff options
author | Kasun Chathuranga <chathuranga.jayaneththi@gmail.com> | 2013-07-12 08:50:09 +0400 |
---|---|---|
committer | Kasun Chathuranga <chathuranga.jayaneththi@gmail.com> | 2013-07-12 08:50:09 +0400 |
commit | c625e934403d9bc2c5dfd42ef8418e1e30bef5c8 (patch) | |
tree | bafacd676519069e949d4e7b706f91c48d108e09 /view_create.php | |
parent | e1ec1d24cecdd15cae75226339c66294851630ab (diff) |
Wrap some long lines
Diffstat (limited to 'view_create.php')
-rw-r--r-- | view_create.php | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/view_create.php b/view_create.php index d7689ab089..ea20d67b73 100644 --- a/view_create.php +++ b/view_create.php @@ -61,7 +61,8 @@ if (isset($_REQUEST['createview']) || isset($_REQUEST['alterview'])) { if (isset($_REQUEST['view']['sql_security'])) { if (in_array($_REQUEST['view']['sql_security'], $view_sql_security_options)) { - $sql_query .= $sep . ' SQL SECURITY ' . $_REQUEST['view']['sql_security']; + $sql_query .= $sep . ' SQL SECURITY ' + . $_REQUEST['view']['sql_security']; } } @@ -75,7 +76,8 @@ if (isset($_REQUEST['createview']) || isset($_REQUEST['alterview'])) { if (isset($_REQUEST['view']['with'])) { if (in_array($_REQUEST['view']['with'], $view_with_options)) { - $sql_query .= $sep . ' WITH ' . $_REQUEST['view']['with'] . ' CHECK OPTION'; + $sql_query .= $sep . ' WITH ' . $_REQUEST['view']['with'] + . ' CHECK OPTION'; } } @@ -171,7 +173,10 @@ $htmlString = '<!-- CREATE VIEW options -->' . PMA_generate_common_hidden_inputs($url_params) . '<fieldset>' . '<legend>' - . (isset($_REQUEST['ajax_dialog']) ? __('Details') : ($view['operation'] == 'create' ? __('Create view') : __('Edit view'))) + . (isset($_REQUEST['ajax_dialog']) ? + __('Details') : + ($view['operation'] == 'create' ? __('Create view') : __('Edit view')) + ) . '</legend>' . '<table class="rte_table">'; @@ -218,7 +223,8 @@ $htmlString .= '<select>' if ($view['operation'] == 'create') { $htmlString .= '<tr><td>' . __('VIEW name') . '</td>' - . '<td><input type="text" size="20" name="view[name]" onfocus="this.select()"' + . '<td><input type="text" size="20" name="view[name]"' + . ' onfocus="this.select()"' . ' value="' . htmlspecialchars($view['name']) . '" />' . '</td></tr>'; } else { |