diff options
author | svncommit <devs@roundcube.net> | 2006-12-18 09:11:57 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2006-12-18 09:11:57 +0000 |
commit | 23796ec2909bf9cb3ae846f9d124a1098672c5ff (patch) | |
tree | a7e579c977d414541ced08424b20413253ad7462 /program/steps/mail/quotadisplay.inc | |
parent | 04d6304b4d1b272d5cd533abfbc2240d8ce77c38 (diff) |
Fix display of quota image/text after a remote command.
Diffstat (limited to 'program/steps/mail/quotadisplay.inc')
-rw-r--r-- | program/steps/mail/quotadisplay.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/program/steps/mail/quotadisplay.inc b/program/steps/mail/quotadisplay.inc new file mode 100644 index 000000000..c96a7a7ee --- /dev/null +++ b/program/steps/mail/quotadisplay.inc @@ -0,0 +1,29 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | program/steps/mail/quotadisplay.inc | + | | + | This file is part of the RoundCube Webmail client | + | Copyright (C) 2005, RoundCube Dev. - Switzerland | + | Licensed under the GNU GPL | + | | + | PURPOSE: | + | Remote call to return the quota image or text | + | | + +-----------------------------------------------------------------------+ + | Author: Robin Elfrink <robin@15augustus.nl> | + +-----------------------------------------------------------------------+ + + $Id$ + +*/ + +$display = isset($_GET['_display']) ? $_GET['_display'] : 'text'; +$id = isset($_GET['_id']) ? $_GET['_id'] : 'rcmquotadisplay'; +$quota = rcmail_quota_content($display); +$command = sprintf("this.gui_objects.%s.innerHTML = '%s';\n", $id, $quota); +rcube_remote_response($command); + +exit; +?> |