From 9e9410df24b1d88d4760510ab496f5fa36f24a66 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 11 May 2015 21:07:59 -0400 Subject: Add Jabber/XMPP integration --- app/Template/project/integrations.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'app/Template/project/integrations.php') diff --git a/app/Template/project/integrations.php b/app/Template/project/integrations.php index da27e430..d4fab23b 100644 --- a/app/Template/project/integrations.php +++ b/app/Template/project/integrations.php @@ -27,6 +27,37 @@ +

+
+ formCheckbox('jabber', t('Send notifications to Jabber'), 1, isset($values['jabber']) && $values['jabber'] == 1) ?> + + formLabel(t('XMPP server address'), 'jabber_server') ?> + formText('jabber_server', $values, $errors, array('placeholder="tcp://myserver:5222"')) ?> +

+ + formLabel(t('Jabber domain'), 'jabber_domain') ?> + formText('jabber_domain', $values, $errors, array('placeholder="example.com"')) ?> + + formLabel(t('Username'), 'jabber_username') ?> + formText('jabber_username', $values, $errors) ?> + + formLabel(t('Password'), 'jabber_password') ?> + formPassword('jabber_password', $values, $errors) ?> + + formLabel(t('Jabber nickname'), 'jabber_nickname') ?> + formText('jabber_nickname', $values, $errors) ?> + + formLabel(t('Multi-user chat room'), 'jabber_room') ?> + formText('jabber_room', $values, $errors, array('placeholder="myroom@conference.example.com"')) ?> + +

+ +
+ +
+
+ +

formCheckbox('hipchat', t('Send notifications to Hipchat'), 1, isset($values['hipchat']) && $values['hipchat'] == 1) ?> -- cgit v1.2.3