diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2021-03-16 09:56:55 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2021-03-16 09:56:55 +0300 |
commit | 978c0359fc0d332f175b6c9af314886dfa77f340 (patch) | |
tree | 179c098505f4be2ac911744a380d174d8d5ec8d0 /src/controllers/DomainsController.php | |
parent | 4c18f3e766270c68a9ae0d7c49a2de76cbfca0e2 (diff) |
got new layout working
Diffstat (limited to 'src/controllers/DomainsController.php')
-rw-r--r-- | src/controllers/DomainsController.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/controllers/DomainsController.php b/src/controllers/DomainsController.php index a09c0ff8..469789ac 100644 --- a/src/controllers/DomainsController.php +++ b/src/controllers/DomainsController.php @@ -289,7 +289,7 @@ class DomainsController extends BaseController } // Display domain info - echo '<form action="' . \containerInstance()->subFolder . '/src/views/domains" method="post">' . \PHP_EOL; + echo '<form action="domains" method="post">' . \PHP_EOL; echo '<table>' . \PHP_EOL; echo \sprintf( '<tr><th class="data left required" style="width: 70px">%s</th>', @@ -366,7 +366,7 @@ class DomainsController extends BaseController $this->printTitle($this->lang['straddcheck'], 'pg.constraint.check'); $this->printMsg($msg); - echo '<form action="' . \containerInstance()->subFolder . '/src/views/domains" method="post">' . \PHP_EOL; + echo '<form action="domains" method="post">' . \PHP_EOL; echo '<table>' . \PHP_EOL; echo \sprintf( '<tr><th class="data">%s</th>', @@ -439,7 +439,7 @@ class DomainsController extends BaseController $this->misc->printVal($_REQUEST['constraint']), $this->misc->printVal($_REQUEST['domain']) ), '</p>' . \PHP_EOL; - echo '<form action="' . \containerInstance()->subFolder . '/src/views/domains" method="post">' . \PHP_EOL; + echo '<form action="domains" method="post">' . \PHP_EOL; echo '<input type="hidden" name="action" value="drop_con" />' . \PHP_EOL; echo '<input type="hidden" name="domain" value="', \htmlspecialchars($_REQUEST['domain']), '" />' . \PHP_EOL; echo '<input type="hidden" name="constraint" value="', \htmlspecialchars($_REQUEST['constraint']), '" />' . \PHP_EOL; @@ -639,7 +639,7 @@ class DomainsController extends BaseController $this->lang['strconfdropdomain'], $this->misc->printVal($_REQUEST['domain']) ), '</p>' . \PHP_EOL; - echo '<form action="' . \containerInstance()->subFolder . '/src/views/domains" method="post">' . \PHP_EOL; + echo '<form action="domains" method="post">' . \PHP_EOL; echo \sprintf( '<p><input type="checkbox" id="cascade" name="cascade" /><label for="cascade">%s</label></p>', $this->lang['strcascade'] @@ -695,7 +695,7 @@ class DomainsController extends BaseController $this->printTitle($this->lang['strcreatedomain'], 'pg.domain.create'); $this->printMsg($msg); - echo '<form action="' . \containerInstance()->subFolder . '/src/views/domains" method="post">' . \PHP_EOL; + echo '<form action="domains" method="post">' . \PHP_EOL; echo '<table>' . \PHP_EOL; echo \sprintf( '<tr><th class="data left required" style="width: 70px">%s</th>', |