增加echo_button_link函数

This commit is contained in:
hyzboy 2017-03-15 17:46:35 +08:00
parent f9e6fec46f
commit b59d2d44bc

View File

@ -142,4 +142,9 @@
{
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>';
}
?>