= $this->form->checkbox('integration_gravatar', t('Enable Gravatar images'), 1, $values['integration_gravatar'] == 1) ?>
= $this->form->checkbox('integration_jabber', t('Send notifications to Jabber'), 1, $values['integration_jabber'] == 1) ?>
= $this->form->label(t('XMPP server address'), 'integration_jabber_server') ?>
= $this->form->text('integration_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'), 'integration_jabber_domain') ?>
= $this->form->text('integration_jabber_domain', $values, $errors, array('placeholder="example.com"')) ?>
= $this->form->label(t('Username'), 'integration_jabber_username') ?>
= $this->form->text('integration_jabber_username', $values, $errors) ?>
= $this->form->label(t('Password'), 'integration_jabber_password') ?>
= $this->form->password('integration_jabber_password', $values, $errors) ?>
= $this->form->label(t('Jabber nickname'), 'integration_jabber_nickname') ?>
= $this->form->text('integration_jabber_nickname', $values, $errors) ?>
= $this->form->label(t('Multi-user chat room'), 'integration_jabber_room') ?>
= $this->form->text('integration_jabber_room', $values, $errors, array('placeholder="myroom@conference.example.com"')) ?>
= t('Help on Jabber integration') ?>
= $this->form->checkbox('integration_hipchat', t('Send notifications to Hipchat'), 1, $values['integration_hipchat'] == 1) ?>
= $this->form->label(t('API URL'), 'integration_hipchat_api_url') ?>
= $this->form->text('integration_hipchat_api_url', $values, $errors) ?>
= $this->form->label(t('Room API ID or name'), 'integration_hipchat_room_id') ?>
= $this->form->text('integration_hipchat_room_id', $values, $errors) ?>
= $this->form->label(t('Room notification token'), 'integration_hipchat_room_token') ?>
= $this->form->text('integration_hipchat_room_token', $values, $errors) ?>
= t('Help on Hipchat integration') ?>
= $this->form->checkbox('integration_slack_webhook', t('Send notifications to a Slack channel'), 1, $values['integration_slack_webhook'] == 1) ?>
= $this->form->label(t('Webhook URL'), 'integration_slack_webhook_url') ?>
= $this->form->text('integration_slack_webhook_url', $values, $errors) ?>
= $this->form->label(t('Channel/Group/User (Optional)'), 'integration_slack_webhook_channel') ?>
= $this->form->text('integration_slack_webhook_channel', $values, $errors) ?>
= t('Help on Slack integration') ?>