From 756db36445a1f56b262e54f1c6343c2b57b8fa5b Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Fri, 30 Aug 2013 18:01:29 +0200 Subject: [PATCH] more configuarbility of xynt test page --- web/xynt_test01.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/web/xynt_test01.php b/web/xynt_test01.php index c0aa058..7cafda6 100644 --- a/web/xynt_test01.php +++ b/web/xynt_test01.php @@ -68,6 +68,12 @@ if (!isset($f_trans)) if (!isset($f_test)) $f_test = 1; +if (!isset($f_port)) + $f_port = 80; + +if (!isset($f_fback)) + $f_fback = 0; + function mop_flush() { @@ -272,7 +278,7 @@ if (isset($isstream) && $isstream == "true") { var gst = new globst(); window.onload = function() { - xstm = new xynt_streaming(window, "", 80, 0, null /* console */, gst, 'xynt_test01_php', 'sess', sess, null, 'xynt_test01.php?isstream=true&f_test=', function(com){eval(com);}); + xstm = new xynt_streaming(window, "", , , console, gst, 'xynt_test01_php', 'sess', sess, null, 'xynt_test01.php?isstream=true&f_test=', function(com){eval(com);}); xstm.hbit_set(heartbit); xstm.start(); } @@ -289,10 +295,11 @@ printf(""); for ($test = 1 ; $test <= count($desc) ; $test++) { printf(""); foreach ($transs as $trans) { - printf("", $trans, $test, $trans, $test); + printf("", $trans, $test, $f_port, $f_fback, $trans, $test, $f_port, $f_fback); } printf("\n"); } +printf("", count($transs)); printf("
Test %s %02dTest %s %02d (port %d (fb %d))
STOP
"); printf("
[%s]
Test: %d
", $f_trans, $f_test); ?> -- 2.17.1