| | |
| | | | program/include/rcube_json_output.php | |
| | | | | |
| | | | This file is part of the Roundcube Webmail client | |
| | | | Copyright (C) 2008-2010, Roundcube Dev. - Switzerland | |
| | | | Copyright (C) 2008-2010, The Roundcube Dev Team | |
| | | | Licensed under the GNU GPL | |
| | | | | |
| | | | PURPOSE: | |
| | |
| | | */ |
| | | private $config; |
| | | private $charset = RCMAIL_CHARSET; |
| | | private $env = array(); |
| | | private $texts = array(); |
| | | private $commands = array(); |
| | | private $callbacks = array(); |
| | | private $message = null; |
| | | |
| | | public $browser; |
| | | public $env = array(); |
| | | public $type = 'js'; |
| | | public $ajax_call = true; |
| | | |
| | |
| | | unset($this->env['task'], $this->env['action'], $this->env['comm_path']); |
| | | |
| | | $rcmail = rcmail::get_instance(); |
| | | $response = array('action' => $rcmail->action, 'unlock' => get_input_value('_unlock', RCUBE_INPUT_GPC)); |
| | | $response['action'] = $rcmail->action; |
| | | |
| | | if ($unlock = get_input_value('_unlock', RCUBE_INPUT_GPC)) { |
| | | $response['unlock'] = $unlock; |
| | | } |
| | | |
| | | if (!empty($this->env)) |
| | | $response['env'] = $this->env; |