增加echo_button_link函数
This commit is contained in:
parent
f9e6fec46f
commit
b59d2d44bc
@ -142,4 +142,9 @@
|
|||||||
{
|
{
|
||||||
echo '<div class="alert alert-'.$style.'" role="alert">'.$text.'</div>';
|
echo '<div class="alert alert-'.$style.'" role="alert">'.$text.'</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function echo_button_link($text,$style,$link)
|
||||||
|
{
|
||||||
|
echo '<a href="'.$link.'" class="btn btn-'.$style.'" role="button">'.$text.'</a>';
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user