From 3159264522d1863a83aad9fdbb36a228f3822ac4 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Wed, 10 Sep 2008 06:47:36 +0000 Subject: [PATCH 1/1] RPC requests should use their own template sets with different content-type. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13273 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default_rpc/config.php | 53 +++++++++++++++++++ templates/default_rpc/rpc_response_error.tpl | 35 ++++++++++++ .../default_rpc/rpc_response_success.tpl | 35 ++++++++++++ 3 files changed, 123 insertions(+) create mode 100644 templates/default_rpc/config.php create mode 100644 templates/default_rpc/rpc_response_error.tpl create mode 100644 templates/default_rpc/rpc_response_success.tpl diff --git a/templates/default_rpc/config.php b/templates/default_rpc/config.php new file mode 100644 index 00000000..6e09872b --- /dev/null +++ b/templates/default_rpc/config.php @@ -0,0 +1,53 @@ +';*/ +echo ''; +?> + + ERROR + + + diff --git a/templates/default_rpc/rpc_response_success.tpl b/templates/default_rpc/rpc_response_success.tpl new file mode 100644 index 00000000..fa53d025 --- /dev/null +++ b/templates/default_rpc/rpc_response_success.tpl @@ -0,0 +1,35 @@ +';*/ +echo ''; +?> + + OK + + + -- 2.25.1