diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2020-12-31 04:59:13 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2021-01-06 20:45:01 +0300 |
commit | ef42be11d880af62587b1f66e5cdac689c715d62 (patch) | |
tree | 66a27f76e37d396a9f001012f8d34a1a6eebca86 /src/controllers/DomainsController.php | |
parent | 18079aad800aa31f7cc4c629bf7f391ad59d8eaf (diff) |
change views layout to include the browser tree in the main body instead of an iframe
Diffstat (limited to 'src/controllers/DomainsController.php')
-rw-r--r-- | src/controllers/DomainsController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/controllers/DomainsController.php b/src/controllers/DomainsController.php index 7a6c55c3..a09c0ff8 100644 --- a/src/controllers/DomainsController.php +++ b/src/controllers/DomainsController.php @@ -275,7 +275,7 @@ class DomainsController extends BaseController // Fetch all users $users = $data->getUsers(); - if (0 < $domaindata->recordCount()) { + if (0 < $domaindata->RecordCount()) { if (!isset($_POST['domname'])) { $_POST['domtype'] = $domaindata->fields['domtype']; $_POST['domdefault'] = $domaindata->fields['domdef']; @@ -322,7 +322,7 @@ class DomainsController extends BaseController $uname = $users->fields['usename']; echo '<option value="', \htmlspecialchars($uname), '"', ($uname === $_POST['domowner']) ? ' selected="selected"' : '', '>', \htmlspecialchars($uname), '</option>' . \PHP_EOL; - $users->moveNext(); + $users->MoveNext(); } echo '</select></td></tr>' . \PHP_EOL; echo '</table>' . \PHP_EOL; @@ -483,7 +483,7 @@ class DomainsController extends BaseController $domaindata = $data->getDomain($_REQUEST['domain']); - if (0 < $domaindata->recordCount()) { + if (0 < $domaindata->RecordCount()) { // Show comment if any if (null !== $domaindata->fields['domcomment']) { echo '<p class="comment">', $this->misc->printVal($domaindata->fields['domcomment']), '</p>' . \PHP_EOL; @@ -718,7 +718,7 @@ class DomainsController extends BaseController echo '<option value="', \htmlspecialchars($types->fields['typname']), '"', ($types->fields['typname'] === $_POST['domtype']) ? ' selected="selected"' : '', '>', $this->misc->printVal($types->fields['typname']), '</option>' . \PHP_EOL; - $types->moveNext(); + $types->MoveNext(); } echo '</select>' . \PHP_EOL; |