diff --git a/module/api/lang/de.php b/module/api/lang/de.php index efc65af19e..94f35208ae 100644 --- a/module/api/lang/de.php +++ b/module/api/lang/de.php @@ -215,3 +215,4 @@ $lang->api_lib_release->version = 'Version'; $lang->api->error = new stdclass(); $lang->api->error->onlySelect = 'Das SQL Interface erlaubt nur SELECT Abfragen.'; $lang->api->error->disabled = 'For security reasons, this feature is disabled. You can go to the config directory and modify the configuration item %s to open this function.'; +$lang->api->error->notInput = 'Debugging is not supported temporarily due to field parameter type restrictions'; diff --git a/module/api/lang/en.php b/module/api/lang/en.php index 9ade64dd07..75daf52e85 100644 --- a/module/api/lang/en.php +++ b/module/api/lang/en.php @@ -215,3 +215,4 @@ $lang->api_lib_release->version = 'Version'; $lang->api->error = new stdclass(); $lang->api->error->onlySelect = 'SQL API only allows SELECT query.'; $lang->api->error->disabled = 'For security reasons, this feature is disabled. Go to the config directory and modify the configuration item %s to enable it.'; +$lang->api->error->notInput = 'Debugging is not supported temporarily due to field parameter type restrictions'; diff --git a/module/api/lang/fr.php b/module/api/lang/fr.php index 140be832f2..52e2fdfa2f 100644 --- a/module/api/lang/fr.php +++ b/module/api/lang/fr.php @@ -215,3 +215,4 @@ $lang->api_lib_release->version = 'Version'; $lang->api->error = new stdclass(); $lang->api->error->onlySelect = 'Cette interface SQL ne supporte que les requêtes SELECT.'; $lang->api->error->disabled = 'For security reasons, this feature is disabled. You can go to the config directory and modify the configuration item %s to open this function.'; +$lang->api->error->notInput = 'Debugging is not supported temporarily due to field parameter type restrictions'; diff --git a/module/api/lang/zh-cn.php b/module/api/lang/zh-cn.php index 204f2906a8..7fe50f7740 100755 --- a/module/api/lang/zh-cn.php +++ b/module/api/lang/zh-cn.php @@ -215,3 +215,4 @@ $lang->api_lib_release->version = '版本'; $lang->api->error = new stdclass(); $lang->api->error->onlySelect = 'SQL查询接口只允许SELECT查询'; $lang->api->error->disabled = '因为安全原因,该功能被禁用。可以到config目录,修改配置项 %s,打开此功能。'; +$lang->api->error->notInput = '因字段参数类型限制,暂不支持调试'; diff --git a/module/api/view/debug.html.php b/module/api/view/debug.html.php index 777335d948..27c4361f28 100644 --- a/module/api/view/debug.html.php +++ b/module/api/view/debug.html.php @@ -20,7 +20,11 @@ parameters as $param):?> name?> + isOptional() or is_string($param->getDefaultValue())):?> name", $param->isOptional() ? $param->getDefaultValue() : '', "class='form-control'")?> + + api->error->notInput . html::hidden("$param->name", '', "class='form-control'")?> +