From 305eae3c233dadac95f5a8a4a6282d69acb2cad8 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Sun, 3 Jul 2005 18:15:48 +0000 Subject: display_topbar() - top a table off with rounded edges :) --- etc/inc/pfsense-utils.inc | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 74cf0f2..5393928 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -912,5 +912,25 @@ function get_disk_info() { echo "Rounded(\"div#tabdeactive{$x}\",\"top\",\"#FFF\",\"#777777\",\"smooth\");\n"; echo ""; } + + +function display_topbar($text = "") { + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + if ($text != "") + echo " \n"; + else + echo " \n"; + echo " \n"; + echo "
{$text}
"; + + echo ""; +} -?> \ No newline at end of file +?> -- cgit v1.1