@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | $lang = $this->lang; |
83 | 83 | $data = $this->misc->getDatabaseAccessor(); |
84 | 84 | |
85 | - $indPre = function (&$rowdata, $actions) use ($data, $lang) { |
|
85 | + $indPre = function(&$rowdata, $actions) use ($data, $lang) { |
|
86 | 86 | if ($data->phpBool($rowdata->fields['indisprimary'])) { |
87 | 87 | $rowdata->fields['+constraints'] = $lang['strprimarykey']; |
88 | 88 | $actions['drop']['disable'] = true; |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | |
219 | 219 | $reqvars = $this->misc->getRequestVars($subject); |
220 | 220 | |
221 | - $getIcon = function ($f) { |
|
221 | + $getIcon = function($f) { |
|
222 | 222 | if ($f['indisprimary'] == 't') { |
223 | 223 | return 'PrimaryKey'; |
224 | 224 | } |
@@ -91,7 +91,7 @@ |
||
91 | 91 | $lang = $this->lang; |
92 | 92 | $data = $this->misc->getDatabaseAccessor(); |
93 | 93 | |
94 | - $attPre = function (&$rowdata) use ($data) { |
|
94 | + $attPre = function(&$rowdata) use ($data) { |
|
95 | 95 | $rowdata->fields['+type'] = $data->formatType($rowdata->fields['type'], $rowdata->fields['atttypmod']); |
96 | 96 | }; |
97 | 97 |
@@ -93,7 +93,7 @@ |
||
93 | 93 | |
94 | 94 | $reqvars = $this->misc->getRequestVars('schema'); |
95 | 95 | |
96 | - $getIcon = function ($f) { |
|
96 | + $getIcon = function($f) { |
|
97 | 97 | switch ($f['contype']) { |
98 | 98 | case 'u': |
99 | 99 | return 'UniqueConstraint'; |
@@ -141,7 +141,7 @@ |
||
141 | 141 | foreach ($alltabs as $tab_id => $tab) { |
142 | 142 | if (!isset($tab['hide']) || $tab['hide'] !== true) { |
143 | 143 | $tabs[$tab_id] = $tab; |
144 | - $tabs[$tab_id]['active'] = $active = ($tab_id == $activetab) ? ' active' : ''; |
|
144 | + $tabs[$tab_id]['active'] = $active = ($tab_id == $activetab) ? ' active' : ''; |
|
145 | 145 | $tabs[$tab_id]['tablink'] = str_replace(['&', '.php'], ['&', ''], htmlentities($this->getActionUrl($tab, $_REQUEST, $from))); |
146 | 146 | if (isset($tab['icon']) && $icon = $this->misc->icon($tab['icon'])) { |
147 | 147 | $tabs[$tab_id]['iconurl'] = $icon; |