@@ -84,7 +84,7 @@ |
||
84 | 84 | $lang = $this->lang; |
85 | 85 | $data = $misc->getDatabaseAccessor(); |
86 | 86 | |
87 | - $renderUseExpires = function ($val) use ($lang) { |
|
87 | + $renderUseExpires = function($val) use ($lang) { |
|
88 | 88 | return $val == 'infinity' ? $lang['strnever'] : htmlspecialchars($val); |
89 | 89 | }; |
90 | 90 |
@@ -95,7 +95,7 @@ |
||
95 | 95 | |
96 | 96 | $reqvars = $misc->getRequestVars('schema'); |
97 | 97 | |
98 | - $getIcon = function ($f) { |
|
98 | + $getIcon = function($f) { |
|
99 | 99 | switch ($f['contype']) { |
100 | 100 | case 'u': |
101 | 101 | return 'UniqueConstraint'; |
@@ -127,7 +127,7 @@ |
||
127 | 127 | ], |
128 | 128 | ]; |
129 | 129 | |
130 | - $svPre = function (&$rowdata) use ($actions) { |
|
130 | + $svPre = function(&$rowdata) use ($actions) { |
|
131 | 131 | $actions['logout']['disable'] = empty($rowdata->fields['username']); |
132 | 132 | return $actions; |
133 | 133 | }; |
@@ -248,7 +248,7 @@ |
||
248 | 248 | $this->printTitle($lang['strproperties'], 'pg.type'); |
249 | 249 | $this->printMsg($msg); |
250 | 250 | |
251 | - $attPre = function (&$rowdata) use ($data) { |
|
251 | + $attPre = function(&$rowdata) use ($data) { |
|
252 | 252 | $rowdata->fields['+type'] = $data->formatType($rowdata->fields['type'], $rowdata->fields['atttypmod']); |
253 | 253 | }; |
254 | 254 |
@@ -142,7 +142,7 @@ |
||
142 | 142 | foreach ($alltabs as $tab_id => $tab) { |
143 | 143 | if (!isset($tab['hide']) || $tab['hide'] !== true) { |
144 | 144 | $tabs[$tab_id] = $tab; |
145 | - $tabs[$tab_id]['active'] = $active = ($tab_id == $activetab) ? ' active' : ''; |
|
145 | + $tabs[$tab_id]['active'] = $active = ($tab_id == $activetab) ? ' active' : ''; |
|
146 | 146 | $tabs[$tab_id]['tablink'] = str_replace(['&', '.php'], ['&', ''], htmlentities($this->getActionUrl($tab, $_REQUEST, $from))); |
147 | 147 | if (isset($tab['icon']) && $icon = $misc->icon($tab['icon'])) { |
148 | 148 | $tabs[$tab_id]['iconurl'] = $icon; |
@@ -92,7 +92,7 @@ |
||
92 | 92 | $lang = $this->lang; |
93 | 93 | $data = $misc->getDatabaseAccessor(); |
94 | 94 | |
95 | - $attPre = function (&$rowdata) use ($data) { |
|
95 | + $attPre = function(&$rowdata) use ($data) { |
|
96 | 96 | $rowdata->fields['+type'] = $data->formatType($rowdata->fields['type'], $rowdata->fields['atttypmod']); |
97 | 97 | }; |
98 | 98 |
@@ -92,7 +92,7 @@ |
||
92 | 92 | $lang = $this->lang; |
93 | 93 | $data = $misc->getDatabaseAccessor(); |
94 | 94 | |
95 | - $attPre = function (&$rowdata) use ($data) { |
|
95 | + $attPre = function(&$rowdata) use ($data) { |
|
96 | 96 | $rowdata->fields['+type'] = $data->formatType($rowdata->fields['type'], $rowdata->fields['atttypmod']); |
97 | 97 | }; |
98 | 98 |
@@ -212,7 +212,7 @@ |
||
212 | 212 | $status = -1; // ini |
213 | 213 | if ($rs->recordCount() and ($rs->fields['vacrelid'] == $toid)) { |
214 | 214 | // table exists in pg_autovacuum, UPDATE |
215 | - $sql = sprintf("UPDATE \"pg_catalog\".\"pg_autovacuum\" SET |
|
215 | + $sql = sprintf("UPDATE \"pg_catalog\".\"pg_autovacuum\" SET |
|
216 | 216 | enabled = '%s', |
217 | 217 | vac_base_thresh = %s, |
218 | 218 | vac_scale_factor = %s, |
@@ -45,7 +45,7 @@ |
||
45 | 45 | $lang = $this->lang; |
46 | 46 | $data = $misc->getDatabaseAccessor(); |
47 | 47 | |
48 | - $renderCastContext = function ($val) use ($lang) { |
|
48 | + $renderCastContext = function($val) use ($lang) { |
|
49 | 49 | switch ($val) { |
50 | 50 | case 'e':return $lang['strno']; |
51 | 51 | case 'a':return $lang['strinassignment']; |