diff options
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php index 36bd25e2f..85e3189ea 100644 --- a/inc/html.php +++ b/inc/html.php @@ -147,6 +147,7 @@ function html_secedit($text,$show=true){ /** * displays the breadcrumbs trace * + * @deprecated * @author Andreas Gohr <andi@splitbrain.org> */ function html_breadcrumbs(){ @@ -169,6 +170,7 @@ function html_breadcrumbs(){ /** * display the HTML head and metadata * + * @deprecated -> tpl_metaheaders() * @author Andreas Gohr <andi@splitbrain.org> */ function html_head(){ @@ -231,6 +233,21 @@ function html_head(){ } /** + * Just the back to top button (in it's own form) + * + * @author Andreas Gohr <andi@splitbrain.org> + */ +function html_topbtn(){ + global $lang; + + $ret = ''; + $ret .= '<form class="button" method="get" action="#top" onsubmit="return svchk()">'; + $ret .= '<input type="submit" value="'.htmlspecialchars($lang['btn_top']).'" class="button" '; + $ret .= '</form>'; + return $ret; +} + +/** * Displays a button (using it's own form) * * @author Andreas Gohr <andi@splitbrain.org> |