diff --git a/web/skins/classic/views/_options_api.php b/web/skins/classic/views/_options_api.php new file mode 100644 index 000000000..6b975859d --- /dev/null +++ b/web/skins/classic/views/_options_api.php @@ -0,0 +1,98 @@ +APIs are disabled. To enable, please turn on OPT_USE_API in Options->System'; + return; +} +?> + +
diff --git a/web/skins/classic/views/options.php b/web/skins/classic/views/options.php index 9b9db9a03..15e1382c8 100644 --- a/web/skins/classic/views/options.php +++ b/web/skins/classic/views/options.php @@ -332,79 +332,7 @@ foreach (array_map('basename', glob('skins/'.$skin.'/css/*', GLOB_ONLYDIR)) as $ APIs are disabled. To enable, please turn on OPT_USE_API in Options->System'; - } else { -?> - - -