Add Jabber/XMPP integration
This commit is contained in:
@@ -27,6 +27,37 @@
|
||||
</div>
|
||||
|
||||
|
||||
<h3><img src="assets/img/jabber-icon.png"/> <?= t('Jabber (XMPP)') ?></h3>
|
||||
<div class="listing">
|
||||
<?= $this->formCheckbox('jabber', t('Send notifications to Jabber'), 1, isset($values['jabber']) && $values['jabber'] == 1) ?>
|
||||
|
||||
<?= $this->formLabel(t('XMPP server address'), 'jabber_server') ?>
|
||||
<?= $this->formText('jabber_server', $values, $errors, array('placeholder="tcp://myserver:5222"')) ?>
|
||||
<p class="form-help"><?= t('The server address must use this format: "tcp://hostname:5222"') ?></p>
|
||||
|
||||
<?= $this->formLabel(t('Jabber domain'), 'jabber_domain') ?>
|
||||
<?= $this->formText('jabber_domain', $values, $errors, array('placeholder="example.com"')) ?>
|
||||
|
||||
<?= $this->formLabel(t('Username'), 'jabber_username') ?>
|
||||
<?= $this->formText('jabber_username', $values, $errors) ?>
|
||||
|
||||
<?= $this->formLabel(t('Password'), 'jabber_password') ?>
|
||||
<?= $this->formPassword('jabber_password', $values, $errors) ?>
|
||||
|
||||
<?= $this->formLabel(t('Jabber nickname'), 'jabber_nickname') ?>
|
||||
<?= $this->formText('jabber_nickname', $values, $errors) ?>
|
||||
|
||||
<?= $this->formLabel(t('Multi-user chat room'), 'jabber_room') ?>
|
||||
<?= $this->formText('jabber_room', $values, $errors, array('placeholder="myroom@conference.example.com"')) ?>
|
||||
|
||||
<p class="form-help"><a href="http://kanboard.net/documentation/jabber" target="_blank"><?= t('Help on Jabber integration') ?></a></p>
|
||||
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<h3><img src="assets/img/hipchat-icon.png"/> <?= t('Hipchat') ?></h3>
|
||||
<div class="listing">
|
||||
<?= $this->formCheckbox('hipchat', t('Send notifications to Hipchat'), 1, isset($values['hipchat']) && $values['hipchat'] == 1) ?>
|
||||
|
||||
Reference in New Issue
Block a user