= $this->form->checkbox('jabber', t('Send notifications to Jabber'), 1, isset($values['jabber']) && $values['jabber'] == 1) ?>
= $this->form->label(t('XMPP server address'), 'jabber_server') ?>
= $this->form->text('jabber_server', $values, $errors, array('placeholder="tcp://myserver:5222"')) ?>
= t('The server address must use this format: "tcp://hostname:5222"') ?>
= $this->form->label(t('Jabber domain'), 'jabber_domain') ?>
= $this->form->text('jabber_domain', $values, $errors, array('placeholder="example.com"')) ?>
= $this->form->label(t('Username'), 'jabber_username') ?>
= $this->form->text('jabber_username', $values, $errors) ?>
= $this->form->label(t('Password'), 'jabber_password') ?>
= $this->form->password('jabber_password', $values, $errors) ?>
= $this->form->label(t('Jabber nickname'), 'jabber_nickname') ?>
= $this->form->text('jabber_nickname', $values, $errors) ?>
= $this->form->label(t('Multi-user chat room'), 'jabber_room') ?>
= $this->form->text('jabber_room', $values, $errors, array('placeholder="myroom@conference.example.com"')) ?>
= $this->url->doc(t('Help on Jabber integration'), 'jabber') ?>
= $this->form->checkbox('hipchat', t('Send notifications to Hipchat'), 1, isset($values['hipchat']) && $values['hipchat'] == 1) ?>
= $this->form->label(t('API URL'), 'hipchat_api_url') ?>
= $this->form->text('hipchat_api_url', $values, $errors) ?>
= $this->form->label(t('Room API ID or name'), 'hipchat_room_id') ?>
= $this->form->text('hipchat_room_id', $values, $errors) ?>
= $this->form->label(t('Room notification token'), 'hipchat_room_token') ?>
= $this->form->text('hipchat_room_token', $values, $errors) ?>
= $this->url->doc(t('Help on Hipchat integration'), 'hipchat') ?>
= $this->form->checkbox('slack', t('Send notifications to a Slack channel'), 1, isset($values['slack']) && $values['slack'] == 1) ?>
= $this->form->label(t('Webhook URL'), 'slack_webhook_url') ?>
= $this->form->text('slack_webhook_url', $values, $errors) ?>
= $this->form->label(t('Channel/Group/User (Optional)'), 'slack_webhook_channel') ?>
= $this->form->text('slack_webhook_channel', $values, $errors) ?>
= $this->url->doc(t('Help on Slack integration'), 'slack') ?>