diff --git a/phptools.php b/phptools.php index 6b54ca7..725a930 100644 --- a/phptools.php +++ b/phptools.php @@ -6,6 +6,7 @@ require_once 'tools_time.php'; require_once 'tools_file.php'; require_once 'tools_sql.php'; + require_once 'tools_button.php'; require_once 'form/form_select.php'; require_once 'form/form_radio.php'; diff --git a/tools.php b/tools.php index ac3d8c7..b879b97 100644 --- a/tools.php +++ b/tools.php @@ -93,7 +93,6 @@ echo $text.''; } - function echo_span_label($style,$text) { echo ''.$text.''; diff --git a/tools_button.php b/tools_button.php new file mode 100644 index 0000000..177c3d6 --- /dev/null +++ b/tools_button.php @@ -0,0 +1,15 @@ +start(); + foreach($value_list as $key=>$value) + $ui->add_hidden_value($key,$value); + + $ui->submit_end($button_text); + } \ No newline at end of file