diff --git a/plugins/kolab_activesync/kolab_activesync.js b/plugins/kolab_activesync/kolab_activesync.js index c5fb6d1b..d9e2943e 100644 --- a/plugins/kolab_activesync/kolab_activesync.js +++ b/plugins/kolab_activesync/kolab_activesync.js @@ -109,8 +109,6 @@ function kolab_activesync_config() cmd: 'save', id: rcmail.env.active_device, devicealias: $('#config-device-alias').val() -// syncmode: $('#config-device-mode option:selected').val(), -// laxpic: $('#config-device-laxpic').get(0).checked ? 1 : 0 }; if (data.devicealias == data.id) diff --git a/plugins/kolab_activesync/kolab_activesync.php b/plugins/kolab_activesync/kolab_activesync.php index a53961c0..ccd1d5c1 100644 --- a/plugins/kolab_activesync/kolab_activesync.php +++ b/plugins/kolab_activesync/kolab_activesync.php @@ -7,7 +7,7 @@ * @author Aleksander Machniak * @author Thomas Bruederli * - * Copyright (C) 2011-2012, Kolab Systems AG + * Copyright (C) 2011-2013, Kolab Systems AG * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -70,11 +70,7 @@ class kolab_activesync extends rcube_plugin $device = $devices[$imei]; $subscriptions = (array) get_input_value('subscribed', RCUBE_INPUT_POST); $devicealias = get_input_value('devicealias', RCUBE_INPUT_POST, true); -// $syncmode = intval(get_input_value('syncmode', RCUBE_INPUT_POST)); -// $laxpic = intval(get_input_value('laxpic', RCUBE_INPUT_POST)); $device['ALIAS'] = $devicealias; -// $device['MODE'] = $syncmode; -// $device['LAXPIC'] = $laxpic; $err = !$this->device_update($device, $imei); diff --git a/plugins/kolab_activesync/kolab_activesync_ui.php b/plugins/kolab_activesync/kolab_activesync_ui.php index 0c753c90..6dcdcaab 100644 --- a/plugins/kolab_activesync/kolab_activesync_ui.php +++ b/plugins/kolab_activesync/kolab_activesync_ui.php @@ -7,7 +7,7 @@ * @author Thomas Bruederli * @author Aleksander Machniak * - * Copyright (C) 2011-2012, Kolab Systems AG + * Copyright (C) 2011-2013, Kolab Systems AG * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -68,18 +68,7 @@ class kolab_activesync_ui $input = new html_inputfield(array('name' => 'devicealias', 'id' => $field_id, 'size' => 40)); $table->add('title', html::label($field_id, $this->plugin->gettext('devicealias'))); $table->add(null, $input->show($this->device['ALIAS'] ? $this->device['ALIAS'] : $this->device['_id'])); -/* - $field_id = 'config-device-mode'; - $select = new html_select(array('name' => 'syncmode', 'id' => $field_id)); - $select->add(array($this->plugin->gettext('modeauto'), $this->plugin->gettext('modeflat'), $this->plugin->gettext('modefolder')), array('-1', '0', '1')); - $table->add('title', html::label($field_id, $this->plugin->gettext('syncmode'))); - $table->add(null, $select->show('-1')); - $field_id = 'config-device-laxpic'; - $checkbox = new html_checkbox(array('name' => 'laxpic', 'value' => '1', 'id' => $field_id)); - $table->add('title', $this->plugin->gettext('imageformat')); - $table->add(null, html::label($field_id, $checkbox->show() . ' ' . $this->plugin->gettext('laxpiclabel'))); -*/ // read-only device information $info = $this->plugin->device_info($this->device['ID']); diff --git a/plugins/kolab_activesync/localization/en_US.inc b/plugins/kolab_activesync/localization/en_US.inc index 4672b125..e3145b5e 100644 --- a/plugins/kolab_activesync/localization/en_US.inc +++ b/plugins/kolab_activesync/localization/en_US.inc @@ -1,13 +1,8 @@
In order to register a device, please connect it to the server first, using the instructions in the Wiki. Afterwards the device should become available for configuration here.'; $labels['savingdata'] = 'Saving data...'; $labels['savingerror'] = 'Failed to save configuration';