diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-03-15 02:32:25 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-03-15 02:32:25 +0300 |
commit | e0687b0863df251f8e00d73a4cca95cb5c1d7af2 (patch) | |
tree | e47db5210e8ccf700d5d166bff921f660f570772 /src/controllers/DomainsController.php | |
parent | 9a39e6b69c86e9c3da875515b46afc9f8399c636 (diff) |
adds align double arrow and align equals to phpcsfixer
Diffstat (limited to 'src/controllers/DomainsController.php')
-rw-r--r-- | src/controllers/DomainsController.php | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/src/controllers/DomainsController.php b/src/controllers/DomainsController.php index f604d83b..72e09d06 100644 --- a/src/controllers/DomainsController.php +++ b/src/controllers/DomainsController.php @@ -126,17 +126,17 @@ class DomainsController extends BaseController 'domain' => [ 'title' => $lang['strdomain'], 'field' => Decorator::field('domname'), - 'url' => "domains.php?action=properties&{$this->misc->href}&", - 'vars' => ['domain' => 'domname'], + 'url' => "domains.php?action=properties&{$this->misc->href}&", + 'vars' => ['domain' => 'domname'], ], 'type' => [ 'title' => $lang['strtype'], 'field' => Decorator::field('domtype'), ], 'notnull' => [ - 'title' => $lang['strnotnull'], - 'field' => Decorator::field('domnotnull'), - 'type' => 'bool', + 'title' => $lang['strnotnull'], + 'field' => Decorator::field('domnotnull'), + 'type' => 'bool', 'params' => ['true' => 'NOT NULL', 'false' => ''], ], 'default' => [ @@ -159,9 +159,9 @@ class DomainsController extends BaseController $actions = [ 'alter' => [ 'content' => $lang['stralter'], - 'attr' => [ + 'attr' => [ 'href' => [ - 'url' => 'domains.php', + 'url' => 'domains.php', 'urlvars' => [ 'action' => 'alter', 'domain' => Decorator::field('domname'), @@ -171,9 +171,9 @@ class DomainsController extends BaseController ], 'drop' => [ 'content' => $lang['strdrop'], - 'attr' => [ + 'attr' => [ 'href' => [ - 'url' => 'domains.php', + 'url' => 'domains.php', 'urlvars' => [ 'action' => 'confirm_drop', 'domain' => Decorator::field('domname'), @@ -193,12 +193,12 @@ class DomainsController extends BaseController 'create' => [ 'attr' => [ 'href' => [ - 'url' => 'domains.php', + 'url' => 'domains.php', 'urlvars' => [ - 'action' => 'create', - 'server' => $_REQUEST['server'], + 'action' => 'create', + 'server' => $_REQUEST['server'], 'database' => $_REQUEST['database'], - 'schema' => $_REQUEST['schema'], + 'schema' => $_REQUEST['schema'], ], ], ], @@ -221,10 +221,10 @@ class DomainsController extends BaseController $reqvars = $this->misc->getRequestVars('domain'); $attrs = [ - 'text' => Decorator::field('domname'), - 'icon' => 'Domain', + 'text' => Decorator::field('domname'), + 'icon' => 'Domain', 'toolTip' => Decorator::field('domcomment'), - 'action' => Decorator::actionurl( + 'action' => Decorator::actionurl( 'domains.php', $reqvars, [ @@ -279,8 +279,8 @@ class DomainsController extends BaseController if ($domaindata->recordCount() > 0) { if (!isset($_POST['domname'])) { - $_POST['domtype'] = $domaindata->fields['domtype']; - $_POST['domdefault'] = $domaindata->fields['domdef']; + $_POST['domtype'] = $domaindata->fields['domtype']; + $_POST['domdefault'] = $domaindata->fields['domdef']; $domaindata->fields['domnotnull'] = $data->phpBool($domaindata->fields['domnotnull']); if ($domaindata->fields['domnotnull']) { $_POST['domnotnull'] = 'on'; @@ -481,14 +481,14 @@ class DomainsController extends BaseController $actions = [ 'drop' => [ 'content' => $lang['strdrop'], - 'attr' => [ + 'attr' => [ 'href' => [ - 'url' => 'domains.php', + 'url' => 'domains.php', 'urlvars' => [ - 'action' => 'confirm_drop_con', - 'domain' => $_REQUEST['domain'], + 'action' => 'confirm_drop_con', + 'domain' => $_REQUEST['domain'], 'constraint' => Decorator::field('conname'), - 'type' => Decorator::field('contype'), + 'type' => Decorator::field('contype'), ], ], ], @@ -505,13 +505,13 @@ class DomainsController extends BaseController 'drop' => [ 'attr' => [ 'href' => [ - 'url' => 'domains.php', + 'url' => 'domains.php', 'urlvars' => [ - 'action' => 'confirm_drop', - 'server' => $_REQUEST['server'], + 'action' => 'confirm_drop', + 'server' => $_REQUEST['server'], 'database' => $_REQUEST['database'], - 'schema' => $_REQUEST['schema'], - 'domain' => $_REQUEST['domain'], + 'schema' => $_REQUEST['schema'], + 'domain' => $_REQUEST['domain'], ], ], ], @@ -522,13 +522,13 @@ class DomainsController extends BaseController $navlinks['addcheck'] = [ 'attr' => [ 'href' => [ - 'url' => 'domains.php', + 'url' => 'domains.php', 'urlvars' => [ - 'action' => 'add_check', - 'server' => $_REQUEST['server'], + 'action' => 'add_check', + 'server' => $_REQUEST['server'], 'database' => $_REQUEST['database'], - 'schema' => $_REQUEST['schema'], - 'domain' => $_REQUEST['domain'], + 'schema' => $_REQUEST['schema'], + 'domain' => $_REQUEST['domain'], ], ], ], @@ -537,13 +537,13 @@ class DomainsController extends BaseController $navlinks['alter'] = [ 'attr' => [ 'href' => [ - 'url' => 'domains.php', + 'url' => 'domains.php', 'urlvars' => [ - 'action' => 'alter', - 'server' => $_REQUEST['server'], + 'action' => 'alter', + 'server' => $_REQUEST['server'], 'database' => $_REQUEST['database'], - 'schema' => $_REQUEST['schema'], - 'domain' => $_REQUEST['domain'], + 'schema' => $_REQUEST['schema'], + 'domain' => $_REQUEST['domain'], ], ], ], |