| | |
| | | | | |
| | | | This file is part of the Roundcube Webmail client | |
| | | | Copyright (C) 2010, The Roundcube Dev Team | |
| | | | Licensed under the GNU GPL | |
| | | | | |
| | | | Licensed under the GNU General Public License version 3 or | |
| | | | any later version with exceptions for skins & plugins. | |
| | | | See the README file for a full license statement. | |
| | | | | |
| | | | PURPOSE: | |
| | | | Create/delete/rename contact groups and assign/remove contacts | |
| | |
| | | |
| | | */ |
| | | |
| | | $source = get_input_value('_source', RCUBE_INPUT_GPC); |
| | | $CONTACTS = rcmail_contact_source($source, true); |
| | | |
| | | if ($CONTACTS->readonly || !$CONTACTS->groups) { |
| | | $OUTPUT->show_message('sourceisreadonly', 'warning'); |
| | | $OUTPUT->send(); |
| | | } |
| | | |
| | | $source = get_input_value('_source', RCUBE_INPUT_GPC); |
| | | |
| | | if ($RCMAIL->action == 'group-addmembers') { |
| | | if (($gid = get_input_value('_gid', RCUBE_INPUT_POST)) && ($ids = get_input_value('_cid', RCUBE_INPUT_POST))) { |