add very cool button_glyph helper
This commit is contained in:
parent
2654fcf228
commit
de65cd64e1
|
@ -306,6 +306,13 @@ function button($href, $label, $class = "") {
|
||||||
return '<a href="' . $href . '" class="btn btn-default ' . $class . '">' . $label . '</a>';
|
return '<a href="' . $href . '" class="btn btn-default ' . $class . '">' . $label . '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rendert einen Knopf mit Glyph
|
||||||
|
*/
|
||||||
|
function button_glyph($href, $glyph, $class= "") {
|
||||||
|
return button($href, glyph($glyph), $class);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rendert eine Toolbar mit Knöpfen
|
* Rendert eine Toolbar mit Knöpfen
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue