4 +-----------------------------------------------------------------------+
5 | program/steps/mail/quotadisplay.inc |
7 | This file is part of the RoundCube Webmail client |
8 | Copyright (C) 2005, RoundCube Dev. - Switzerland |
9 | Licensed under the GNU GPL |
12 | Remote call to return the quota image or text |
14 +-----------------------------------------------------------------------+
15 | Author: Robin Elfrink <robin@15augustus.nl> |
16 +-----------------------------------------------------------------------+
18 $Id: quotadisplay.inc 543 2007-04-28 18:07:12Z thomasb $
22 $display = isset($_GET['_display']) ? $_GET['_display'] : 'text';
23 $id = isset($_GET['_id']) ? $_GET['_id'] : 'rcmquotadisplay';
24 $quota = rcmail_quota_content($display);
25 $OUTPUT->remote_response(sprintf("this.gui_objects.%s.innerHTML = '%s';\n", $id, $quota));