form->csrf() ?>



 


 


 


 

form->checkbox('integration_gravatar', t('Enable Gravatar images'), 1, $values['integration_gravatar'] == 1) ?>

form->checkbox('integration_jabber', t('Send notifications to Jabber'), 1, $values['integration_jabber'] == 1) ?> form->label(t('XMPP server address'), 'integration_jabber_server') ?> form->text('integration_jabber_server', $values, $errors, array('placeholder="tcp://myserver:5222"')) ?>

form->label(t('Jabber domain'), 'integration_jabber_domain') ?> form->text('integration_jabber_domain', $values, $errors, array('placeholder="example.com"')) ?> form->label(t('Username'), 'integration_jabber_username') ?> form->text('integration_jabber_username', $values, $errors) ?> form->label(t('Password'), 'integration_jabber_password') ?> form->password('integration_jabber_password', $values, $errors) ?> form->label(t('Jabber nickname'), 'integration_jabber_nickname') ?> form->text('integration_jabber_nickname', $values, $errors) ?> form->label(t('Multi-user chat room'), 'integration_jabber_room') ?> form->text('integration_jabber_room', $values, $errors, array('placeholder="myroom@conference.example.com"')) ?>

form->checkbox('integration_hipchat', t('Send notifications to Hipchat'), 1, $values['integration_hipchat'] == 1) ?> form->label(t('API URL'), 'integration_hipchat_api_url') ?> form->text('integration_hipchat_api_url', $values, $errors) ?> form->label(t('Room API ID or name'), 'integration_hipchat_room_id') ?> form->text('integration_hipchat_room_id', $values, $errors) ?> form->label(t('Room notification token'), 'integration_hipchat_room_token') ?> form->text('integration_hipchat_room_token', $values, $errors) ?>

 

form->checkbox('integration_slack_webhook', t('Send notifications to a Slack channel'), 1, $values['integration_slack_webhook'] == 1) ?> form->label(t('Webhook URL'), 'integration_slack_webhook_url') ?> form->text('integration_slack_webhook_url', $values, $errors) ?> form->label(t('Channel/Group/User (Optional)'), 'integration_slack_webhook_channel') ?> form->text('integration_slack_webhook_channel', $values, $errors) ?>