diff options
author | MichiK <6341204+der-michik@users.noreply.github.com> | 2018-12-06 23:05:40 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-12-07 17:26:44 +0100 |
commit | 7e53c458901e3c0c801deb626ef8ce44484a38c6 (patch) | |
tree | 16693264f0faddbf7d3fbe6de152ea0c4db2afbf /includes/sys_form.php | |
parent | a1c01461c6244dc30850d64c4795759f772f706b (diff) |
Change the color of "reset" in admin_arrive
Diffstat (limited to 'includes/sys_form.php')
-rw-r--r-- | includes/sys_form.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/sys_form.php b/includes/sys_form.php index 3c31f43e..43db3455 100644 --- a/includes/sys_form.php +++ b/includes/sys_form.php @@ -208,9 +208,9 @@ function form_info($label, $text = '') * @param bool $wrapForm * @return string */ -function form_submit($name, $label, $class = '', $wrapForm = true) +function form_submit($name, $label, $class = '', $wrapForm = true, $buttonType = 'primary') { - $button = '<button class="btn btn-primary' . ($class ? ' ' . $class : '') . '" type="submit" name="' . $name . '">' + $button = '<button class="btn btn-' . $buttonType . ($class ? ' ' . $class : '') . '" type="submit" name="' . $name . '">' . $label . '</button>'; |