X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debugger%2Fcontroller.php;h=2fd43070fe6a7e4695e9e9f73aa76f62f24a2d75;hb=37782a719db2fbe02fe3462edcb06e89f6d58aac;hp=d5c8610968d5173c90a04edd882b0d9ac56fb58a;hpb=df75e8d81f7544f743243120d0f876c77e33f90d;p=plcapi.git diff --git a/debugger/controller.php b/debugger/controller.php index d5c8610..2fd4307 100644 --- a/debugger/controller.php +++ b/debugger/controller.php @@ -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'