@@ -91,11 +91,11 @@ |
||
| 91 | 91 | $lang = $this->lang; |
| 92 | 92 | $data = $misc->getDatabaseAccessor(); |
| 93 | 93 | |
| 94 | - $renderRoleConnLimit = function ($val) use ($lang) { |
|
| 94 | + $renderRoleConnLimit = function($val) use ($lang) { |
|
| 95 | 95 | return $val == '-1' ? $lang['strnolimit'] : htmlspecialchars($val); |
| 96 | 96 | }; |
| 97 | 97 | |
| 98 | - $renderRoleExpires = function ($val) use ($lang) { |
|
| 98 | + $renderRoleExpires = function($val) use ($lang) { |
|
| 99 | 99 | return $val == 'infinity' ? $lang['strnever'] : htmlspecialchars($val); |
| 100 | 100 | }; |
| 101 | 101 | |
@@ -1005,7 +1005,7 @@ |
||
| 1005 | 1005 | } |
| 1006 | 1006 | echo "</table>\n"; |
| 1007 | 1007 | |
| 1008 | - if (!isset($_SESSION['counter'])) {$_SESSION['counter'] = 0;} |
|
| 1008 | + if (!isset($_SESSION['counter'])) {$_SESSION['counter'] = 0; } |
|
| 1009 | 1009 | |
| 1010 | 1010 | echo "<input type=\"hidden\" name=\"action\" value=\"insertrow\" />\n"; |
| 1011 | 1011 | echo '<input type="hidden" name="fields" value="', htmlentities(serialize($fields), ENT_QUOTES, 'UTF-8'), "\" />\n"; |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | $lang = $this->lang; |
| 101 | 101 | $data = $misc->getDatabaseAccessor(); |
| 102 | 102 | |
| 103 | - $tgPre = function (&$rowdata, $actions) use ($data) { |
|
| 103 | + $tgPre = function(&$rowdata, $actions) use ($data) { |
|
| 104 | 104 | // toggle enable/disable trigger per trigger |
| 105 | 105 | if (!$data->phpBool($rowdata->fields['tgenabled'])) { |
| 106 | 106 | unset($actions['disable']); |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | $lang = $this->lang; |
| 115 | 115 | $data = $misc->getDatabaseAccessor(); |
| 116 | 116 | |
| 117 | - $cnPre = function (&$rowdata) use ($data) { |
|
| 117 | + $cnPre = function(&$rowdata) use ($data) { |
|
| 118 | 118 | |
| 119 | 119 | if (is_null($rowdata->fields['consrc'])) { |
| 120 | 120 | $atts = $data->getAttributeNames($_REQUEST['table'], explode(' ', $rowdata->fields['indkey'])); |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | $lang = $this->lang; |
| 84 | 84 | $data = $misc->getDatabaseAccessor(); |
| 85 | 85 | |
| 86 | - $indPre = function (&$rowdata, $actions) use ($data, $lang) { |
|
| 86 | + $indPre = function(&$rowdata, $actions) use ($data, $lang) { |
|
| 87 | 87 | if ($data->phpBool($rowdata->fields['indisprimary'])) { |
| 88 | 88 | $rowdata->fields['+constraints'] = $lang['strprimarykey']; |
| 89 | 89 | $actions['drop']['disable'] = true; |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | |
| 221 | 221 | $reqvars = $misc->getRequestVars($subject); |
| 222 | 222 | |
| 223 | - $getIcon = function ($f) { |
|
| 223 | + $getIcon = function($f) { |
|
| 224 | 224 | if ($f['indisprimary'] == 't') { |
| 225 | 225 | return 'PrimaryKey'; |
| 226 | 226 | } |
@@ -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'; |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | $lang = $this->lang; |
| 47 | 47 | $data = $misc->getDatabaseAccessor(); |
| 48 | 48 | |
| 49 | - $renderCastContext = function ($val) use ($lang) { |
|
| 49 | + $renderCastContext = function($val) use ($lang) { |
|
| 50 | 50 | |
| 51 | 51 | switch ($val) { |
| 52 | 52 | case 'e':return $lang['strno']; |
@@ -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 | }; |