Function create_button
Creates an image/text button
Package: SMF
Deprecated: since 2.1
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Deprecated: since 2.1
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
string |
$name |
The name of the button (should be a main_icons class or the name of an image) |
string |
$alt |
The alt text |
string |
$label = '' |
The $txt string to use as the label |
string |
$custom = '' |
Custom text/html to add to the img tag (only when using an actual image) |
boolean |
$force_use = false |
Whether to force use of this when template_create_button is available |
string
|
The HTML to display the button |