thomascube
2007-11-25 d5342aabcfeddb959cc286befe6de5bf35fe9d76
commit | author | age
23796e 1 <?php
S 2
3 /*
4  +-----------------------------------------------------------------------+
5  | program/steps/mail/quotadisplay.inc                                   |
6  |                                                                       |
7  | This file is part of the RoundCube Webmail client                     |
5349b7 8  | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland                 |
23796e 9  | Licensed under the GNU GPL                                            |
S 10  |                                                                       |
11  | PURPOSE:                                                              |
12  |   Remote call to return the quota image or text                       |
13  |                                                                       |
14  +-----------------------------------------------------------------------+
15  | Author: Robin Elfrink <robin@15augustus.nl>                           |
16  +-----------------------------------------------------------------------+
17
18  $Id$
19
20 */
21
22 $display = isset($_GET['_display']) ? $_GET['_display'] : 'text';
23 $id = isset($_GET['_id']) ? $_GET['_id'] : 'rcmquotadisplay';
24 $quota = rcmail_quota_content($display);
f11541 25 $OUTPUT->remote_response(sprintf("this.gui_objects.%s.innerHTML = '%s';\n", $id, $quota));
23796e 26
S 27 exit;
28 ?>