<?php 

/*
** SellaNMS
** $Id: browserbody.php,v 1.5 2005/03/31 18:57:12 sella Exp $
** Copyright (c) 2001 Digital Genesis Software, LLC. All Rights Reserved.
** Released under the GPL Version 2 License.
** http://www.digitalgenesis.com
*/

require_once('modules/browser/modules/elementviewer.php');
require_once('modules/browser/modules/interfaceviewer.php');
require_once('modules/browser/modules/ipaddressviewer.php');
require_once('modules/browser/modules/interfacelister.php');
require_once('modules/browser/modules/elementalerts.php');
require_once('modules/browser/modules/connectionlister.php');

class BrowserBody extends Module {
	function BrowserBody() {
		Module::Module();

		$this->dependants[] = new ElementViewer();
		$this->dependants[] = new ElementAlerts();
		$this->dependants[] = new InterfaceViewer();
		$this->dependants[] = new IPAddressViewer();
		$this->dependants[] = new InterfaceLister();
		$this->dependants[] = new ConnectionLister();

		$this->cache_ext = 'php';
	}

	function shouldUpdate() {
		return false;
	}

	function getContent($tabs) {
		return join('', file('modules/browser/modules/templates/browserbody_template.php'));
	}
}

/*
** Local Variables:
** c-basic-offset: 3
** tab-width: 3
** End:
** vim600: fdm=marker
** vim: noet ts=3 sw=3
*/

?>
