diff options
author | ffflabs <amenadiel@gmail.com> | 2020-08-31 10:36:10 +0300 |
---|---|---|
committer | ffflabs <amenadiel@gmail.com> | 2020-08-31 10:36:10 +0300 |
commit | b56d61eea3fd4018c235c5da9e222da0af5031a2 (patch) | |
tree | 528a0b98360ee917a098efede065de16dd1ff77f /src/controllers/ViewpropertiesController.php | |
parent | 8fbb9f08cadd108a58156ad193eff8347cd76d6d (diff) |
move form methods to the viewmanager
Diffstat (limited to 'src/controllers/ViewpropertiesController.php')
-rw-r--r-- | src/controllers/ViewpropertiesController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controllers/ViewpropertiesController.php b/src/controllers/ViewpropertiesController.php index d0ce462a..609919fc 100644 --- a/src/controllers/ViewpropertiesController.php +++ b/src/controllers/ViewpropertiesController.php @@ -172,7 +172,7 @@ class ViewpropertiesController extends BaseController <p> <input type="hidden" name="action" value="save_edit" /> <input type="hidden" name="view" value="{$variables->subject}" /> - {$this->misc->form} + {$this->view->form} <input type="submit" value="{$this->lang['stralter']}" /> <input type="submit" name="cancel" value="{$this->lang['strcancel']}" /> </p> @@ -228,7 +228,7 @@ EOT; echo '</table>' . \PHP_EOL; echo '<p><input type="hidden" name="action" value="properties" />' . \PHP_EOL; echo '<input type="hidden" name="stage" value="2" />' . \PHP_EOL; - echo $this->misc->form; + echo $this->view->form; echo '<input type="hidden" name="view" value="', \htmlspecialchars($_REQUEST[$this->subject]), '" />' . \PHP_EOL; echo '<input type="hidden" name="column" value="', \htmlspecialchars($_REQUEST['column']), '" />' . \PHP_EOL; echo '<input type="hidden" name="olddefault" value="', \htmlspecialchars($_REQUEST['olddefault']), '" />' . \PHP_EOL; @@ -343,7 +343,7 @@ EOT; echo '</table>' . \PHP_EOL; echo '<input type="hidden" name="action" value="alter" />' . \PHP_EOL; echo '<input type="hidden" name="view" value="', \htmlspecialchars($_REQUEST[$this->subject]), '" />' . \PHP_EOL; - echo $this->misc->form; + echo $this->view->form; echo "<p><input type=\"submit\" name=\"alter\" value=\"{$this->lang['stralter']}\" />" . \PHP_EOL; echo "<input type=\"submit\" name=\"cancel\" value=\"{$this->lang['strcancel']}\" /></p>" . \PHP_EOL; echo '</form>' . \PHP_EOL; |