diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-04-20 15:00:20 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-04-20 15:00:20 +0300 |
commit | e96b0144397a7614532138973ed1caadb18ed9eb (patch) | |
tree | ae8384fb2560678d3decaf0d8fd9b445d3dc7599 /src/controllers/SqlController.php | |
parent | 501708fb7dfd6c974f58c8d042852fd81c719d72 (diff) |
styling improvements
Diffstat (limited to 'src/controllers/SqlController.php')
-rw-r--r-- | src/controllers/SqlController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/controllers/SqlController.php b/src/controllers/SqlController.php index d7568da1..a5cf70c0 100644 --- a/src/controllers/SqlController.php +++ b/src/controllers/SqlController.php @@ -115,7 +115,7 @@ class SqlController extends BaseController $misc = $this->misc; $data = $this->misc->getDatabaseAccessor(); $_connection = $this->misc->getConnection(); - + $lang = $this->lang; /** * This is a callback function to display the result of each separate query. * @@ -150,7 +150,7 @@ class SqlController extends BaseController } echo "</table><br/>\n"; - echo $i, " {$this->lang['strrows']}</p>\n"; + echo $i, " {$lang['strrows']}</p>\n"; break; case \PGSQL_COMMAND_OK: @@ -160,7 +160,7 @@ class SqlController extends BaseController } // Otherwise if any rows have been affected elseif ($data->conn->Affected_Rows() > 0) { - echo $data->conn->Affected_Rows(), " {$this->lang['strrowsaff']}<br/>\n"; + echo $data->conn->Affected_Rows(), " {$lang['strrowsaff']}<br/>\n"; } // Otherwise output nothing... break; @@ -185,7 +185,7 @@ class SqlController extends BaseController $rs = $data->conn->Execute($this->query); - echo '<form method="post" id="sqlform" action="'.$_SERVER['REQUEST_URI'].'">'; + echo '<form method="post" id="sqlform" action="' . $_SERVER['REQUEST_URI'] . '">'; echo '<textarea width="90%" name="query" id="query" rows="5" cols="100" resizable="true">'; echo htmlspecialchars($this->query); |