diff options
author | Malf Furious <m@lfurio.us> | 2017-06-27 01:52:48 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-06-27 01:52:48 -0400 |
commit | b84f346e6534195de6d7485276ed81406a222703 (patch) | |
tree | 4fe4d42a666c0c098b7b1121b31b2aa5eb8e9e31 | |
parent | 479aca0db88f0b1af52f399f19a0a8267bd10744 (diff) | |
download | scrott-b84f346e6534195de6d7485276ed81406a222703.tar.gz scrott-b84f346e6534195de6d7485276ed81406a222703.zip |
Setup dbconfig view to hook into form submission model code
Now including the model code file, and supplying an action name for the
web form taking configuration parameters.
-rw-r--r-- | app/view/dbconfig.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/view/dbconfig.php b/app/view/dbconfig.php index 2cfd0f1..006c28e 100644 --- a/app/view/dbconfig.php +++ b/app/view/dbconfig.php @@ -12,6 +12,7 @@ * For more information, please refer to UNLICENSE */ +require_once "model/dbconfig.php"; require_once "view/stdpage.php"; require_once "view/formctrl.php"; @@ -64,6 +65,7 @@ require_once "view/formctrl.php"; <div class="panel panel-default"> <div class="panel-body"> <form method="post" action="<?=ap()?>"> + <?=formctrl\formname( "save" )?> <?=formctrl\text( "Engine", "dbEngine", "MySQL", "", false, true )?> <?=formctrl\text( "Hostname", "dbHost", "", "localhost" )?> <?=formctrl\text( "Username", "dbUname", "", "root" )?> |