Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Figueroa <amenadiel@gmail.com>2018-02-15 22:17:10 +0300
committerStyleCI Bot <bot@styleci.io>2018-02-15 22:17:10 +0300
commitb0dfd36560280099ec02aac7e46f4c36166f0b7e (patch)
treeb338938e9412d108e1e4bb60e4ea59d33cbc6f7d /src/controllers/SchemasController.php
parentb4944af333e89b9aa9d3bb5e975a4787599a40fc (diff)
Apply fixes from StyleCI
[ci skip] [skip ci]
Diffstat (limited to 'src/controllers/SchemasController.php')
-rw-r--r--src/controllers/SchemasController.php44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/controllers/SchemasController.php b/src/controllers/SchemasController.php
index d43f4158..dcc2f2a9 100644
--- a/src/controllers/SchemasController.php
+++ b/src/controllers/SchemasController.php
@@ -22,7 +22,7 @@ class SchemasController extends BaseController
{
$conf = $this->conf;
- $lang = $this->lang;
+ $lang = $this->lang;
$action = $this->action;
if ('tree' == $action) {
@@ -109,8 +109,8 @@ class SchemasController extends BaseController
'schema' => [
'title' => $lang['strschema'],
'field' => Decorator::field('nspname'),
- 'url' => \SUBFOLDER."/redirect/schema?{$this->misc->href}&amp;",
- 'vars' => ['schema' => 'nspname'],
+ 'url' => \SUBFOLDER."/redirect/schema?{$this->misc->href}&amp;",
+ 'vars' => ['schema' => 'nspname'],
],
'owner' => [
'title' => $lang['strowner'],
@@ -128,16 +128,16 @@ class SchemasController extends BaseController
$actions = [
'multiactions' => [
'keycols' => ['nsp' => 'nspname'],
- 'url' => 'schemas.php',
+ 'url' => 'schemas.php',
],
'drop' => [
'content' => $lang['strdrop'],
- 'attr' => [
+ 'attr' => [
'href' => [
- 'url' => 'schemas.php',
+ 'url' => 'schemas.php',
'urlvars' => [
'action' => 'drop',
- 'nsp' => Decorator::field('nspname'),
+ 'nsp' => Decorator::field('nspname'),
],
],
],
@@ -145,21 +145,21 @@ class SchemasController extends BaseController
],
'privileges' => [
'content' => $lang['strprivileges'],
- 'attr' => [
+ 'attr' => [
'href' => [
- 'url' => 'privileges.php',
+ 'url' => 'privileges.php',
'urlvars' => [
'subject' => 'schema',
- 'schema' => Decorator::field('nspname'),
+ 'schema' => Decorator::field('nspname'),
],
],
],
],
'alter' => [
'content' => $lang['stralter'],
- 'attr' => [
+ 'attr' => [
'href' => [
- 'url' => 'schemas.php',
+ 'url' => 'schemas.php',
'urlvars' => [
'action' => 'alter',
'schema' => Decorator::field('nspname'),
@@ -178,10 +178,10 @@ class SchemasController extends BaseController
$this->printNavLinks(['create' => [
'attr' => [
'href' => [
- 'url' => 'schemas.php',
+ 'url' => 'schemas.php',
'urlvars' => [
- 'action' => 'create',
- 'server' => $_REQUEST['server'],
+ 'action' => 'create',
+ 'server' => $_REQUEST['server'],
'database' => $_REQUEST['database'],
],
],
@@ -207,15 +207,15 @@ class SchemasController extends BaseController
//$this->prtrace($reqvars);
$attrs = [
- 'text' => Decorator::field('nspname'),
- 'icon' => 'Schema',
+ 'text' => Decorator::field('nspname'),
+ 'icon' => 'Schema',
'toolTip' => Decorator::field('nspcomment'),
- 'action' => Decorator::redirecturl(
+ 'action' => Decorator::redirecturl(
'redirect.php',
$reqvars,
[
'subject' => 'schema',
- 'schema' => Decorator::field('nspname'),
+ 'schema' => Decorator::field('nspname'),
]
),
'branch' => Decorator::url(
@@ -247,8 +247,8 @@ class SchemasController extends BaseController
//$this->prtrace($reqvars);
$attrs = [
- 'text' => Decorator::field('title'),
- 'icon' => Decorator::field('icon'),
+ 'text' => Decorator::field('title'),
+ 'icon' => Decorator::field('icon'),
'action' => Decorator::actionurl(
Decorator::field('url'),
$reqvars,
@@ -486,7 +486,7 @@ class SchemasController extends BaseController
echo "</form>\n";
} else {
if (is_array($_POST['nsp'])) {
- $msg = '';
+ $msg = '';
$status = $data->beginTransaction();
if (0 == $status) {
foreach ($_POST['nsp'] as $s) {