# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as published by # the Free Software Foundation; version 2 only # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Library General Public License for more details. # # You should have received a copy of the GNU Library General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Copyright 2004, 2005 Red Hat, Inc. # # AUTHOR: Andreas Thienemann # // HTML Header function html_header($title = '', $calendar = False, $refresh = False) { $js = ''; $refresh = ''; if ($calendar == True) { $js .= ''; } if ($refresh !== False) { $refresh = ''; } $head = ' '.$refresh.' '.$title.' '.$js.' '; return $head; } // HTML Footer function html_footer() { global $prog_name, $prog_vers, $date_fmt_str; $foot = '

This page was generated by '.$prog_name.' version '.$prog_vers.' at '.strftime($date_fmt_str).'

'; return $foot; } // The Top-Bar function page_header($title = '') { $head = '
flowmon '.$title.'
  Bugs? Errors? andreas@bawue.net. This is beta™ after all.  
'; return $head; }