--- FreeBSD/tinderbox/webui/module/modulePorts.php 2007/11/02 20:55:00 1.1 +++ FreeBSD/tinderbox/webui/module/modulePorts.php 2007/11/13 07:36:19 1.1.1.1.2.1 @@ -24,19 +24,14 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # +# $Paefchen$ # $MCom: portstools/tinderbox/webui/module/modulePorts.php,v 1.11 2007/06/09 22:09:12 marcus Exp $ # -require_once 'module/module.php'; - class modulePorts extends module { - function modulePorts() { - $this->module(); - } + public function display_describe_port( $port_id ) { - function display_describe_port( $port_id ) { - $ports = $this->TinderboxDS->getAllPortsByPortID( $port_id ); if( is_array( $ports ) && count( $ports ) > 0 ) { @@ -73,7 +68,7 @@ class modulePorts extends module { return $this->template_parse( 'describe_port.tpl' ); } - function get_list_data( $build_name, $ports ) { + public function get_list_data( $build_name, $ports ) { global $loguri; global $errorloguri; global $pkguri; @@ -160,4 +155,5 @@ class modulePorts extends module { return $data; } } + ?>