Carry event object for click events into called JS code
[squirrelmail.git] / templates / default / rpc_response_success.tpl
CommitLineData
482956f2 1<?php
2
3/**
4 * rpc_response_success.tpl
5 *
6 * Template for constructing a standard response to a remote
7 * procedure call.
8 *
9 * The following variables are available in this template:
10 * + $result_code - The result code (optional; if not given
11 * must default to 0 (zero))
12 * + $result_text - Any result message (optional; may not be
13 * present)
14 *
15 * @copyright &copy; 1999-2007 The SquirrelMail Project Team
16 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
17 * @version $Id$
18 * @package squirrelmail
19 * @subpackage templates
20 */
21
22
23// retrieve the template vars
24//
25extract($t);
26
27
28/*echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';*/
29echo '<?xml version="1.0" ?>';
30?>
31<response>
32 <status>OK</status>
33 <result_code><?php echo $result_code; ?></result_code>
34 <result_text><?php echo $result_text; ?></result_text>
35</response>