X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debugger%2Fcontroller.php;h=2fd43070fe6a7e4695e9e9f73aa76f62f24a2d75;hb=749bcf1b412822e08dbcab366cfbf7ad1cb77db0;hp=2435c023b04922e50ad05176138e5227c5e60e10;hpb=885d7355f6b00f4b7f931d4d50c0e7b31d29bb32;p=plcapi.git diff --git a/debugger/controller.php b/debugger/controller.php index 2435c02..2fd4307 100644 --- a/debugger/controller.php +++ b/debugger/controller.php @@ -2,7 +2,7 @@ /** * @author Gaetano Giunta * @copyright (C) 2005-2015 G. Giunta - * @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt + * @license code licensed under the BSD License: see file license.txt * * @todo add links to documentation from every option caption * @todo switch params for http compression from 0,1,2 to values to be used directly @@ -12,14 +12,17 @@ * @todo add http no-cache headers **/ +// make sure we set the correct charset type for output, so that we can display all characters +header('Content-Type: text/html; charset=utf-8'); + include __DIR__ . '/common.php'; if ($action == '') { $action = 'list'; } // relative path to the visual xmlrpc editing dialog -$editorpath = '../../javascript/debugger/'; -$editorlibs = '../../javascript/lib/'; +$editorpath = '../../phpjsrpc/debugger/'; +$editorlibs = '../../phpjsrpc/lib/'; ?> @@ -224,62 +227,47 @@ $editorlibs = '../../javascript/lib/'; echo ' document.forms[2].submit();'; } ?>">

XMLRPC -
+
/ -
- JSONRPC Debugger (based on the PHP-XMLRPC library) +
+ JSONRPC Debugger (based on the PHP-XMLRPC library)

-
+ - + - - +

Target server

Address: Port: + Path:
- - - - + + + +

Action

List available methods onclick="switchaction();"/>Describe method onclick="switchaction();"/>Execute method onclick="switchaction();"/>Generate stub for method call onclick="switchaction();"/>List available methods onclick="switchaction();"/>Describe method onclick="switchaction();"/>Execute method onclick="switchaction();"/>Generate stub for method call onclick="switchaction();"/>
- + - + - - + + @@ -290,60 +278,31 @@ $editorlibs = '../../javascript/lib/'; - + - + - + @@ -351,77 +310,44 @@ $editorlibs = '../../javascript/lib/'; - + - + - + - + - + - +

Method

Name: Payload:
-
Msg id: Msg id:

Client options

Show debug info: Timeout: Protocol:
AUTH: Username: Pwd: Type
SSL: Verify Host's CN: Verify Cert: /> /> CA Cert file:
PROXY: Server: Proxy user: Proxy pwd:
COMPRESSION: Request: Response:
COOKIES: Format: 'cookie1=value1, cookie2=value2'