增加echo_link函数
This commit is contained in:
parent
16c164510a
commit
e162138bfb
@ -71,6 +71,11 @@
|
|||||||
echo '<meta http-equiv="refresh" content="'.$time.';url='.$page.'">';
|
echo '<meta http-equiv="refresh" content="'.$time.';url='.$page.'">';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function echo_link($text,$link)
|
||||||
|
{
|
||||||
|
echo '<a href="'.$link.'">'.$text.'</a>';
|
||||||
|
}
|
||||||
|
|
||||||
function echo_span_glyph($glyph)
|
function echo_span_glyph($glyph)
|
||||||
{
|
{
|
||||||
echo '<span class="glyphicon glyphicon-'.$glyph.'"></span>';
|
echo '<span class="glyphicon glyphicon-'.$glyph.'"></span>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user