From 34a52fb9e59d74bf007a6d3956a5dc4837b9c1cb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 15 Apr 2006 18:56:29 +0000 Subject: [PATCH] - Added generate_footer_html() - Making the tab links nicely generated --- printer_navigation.php | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/printer_navigation.php b/printer_navigation.php index 56f01d5..525d84c 100644 --- a/printer_navigation.php +++ b/printer_navigation.php @@ -206,21 +206,24 @@ class Printer_Navigation $output .= implode(' • ', $output2); - $output .= '
Tabs:
'; - + $output .= "\n" . ''; + + $output .= "\n\n" . ''; + $output .= "\n" . '
'; + $output .= '
    '; foreach ((array)$this->sections[ $this->focus['tab'] ] AS $key => $text) { @@ -243,6 +246,25 @@ class Printer_Navigation return $output; } + + // ################################################################### + /** + * Generates the HTML that is inserted in ISSO.Printer->page_end() that + * closes all of the navigation HTML stuff + * + * @access public + * + * @return string Generated HTML content + */ + function generate_footer_html() + { + $output = ''; + + $output .= "\n" . '
'; + $output .= "\n\n" . ''; + + return $output; + } } /*=====================================================================*\ -- 2.22.5