summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-03-06 19:31:59 +0100
committerandi <andi@splitbrain.org>2005-03-06 19:31:59 +0100
commit6b13307fb447795714d01cdc029d6ed7ac087cf3 (patch)
treecd80885d8e86ff4d4044df73b7320f9ad4bdc49d /inc/html.php
parent86770f3ea6c33f97b6755d11ed9700e756ef6e88 (diff)
downloadrpg-6b13307fb447795714d01cdc029d6ed7ac087cf3.tar.gz
rpg-6b13307fb447795714d01cdc029d6ed7ac087cf3.tar.bz2
template support (incomplete, maybe broken)
darcs-hash:20050306183159-9977f-22dbb69831b5fa2e28bbf62448c65053d96a2cb9.gz
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php17
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>