From: Matteo Nastasi (mop) Date: Fri, 30 Aug 2013 16:01:29 +0000 (+0200) Subject: more configuarbility of xynt test page X-Git-Tag: tournaments-descr-refact~14 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=756db36445a1f56b262e54f1c6343c2b57b8fa5b;p=brisk.git more configuarbility of xynt test page --- 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); ?>