summaryrefslogtreecommitdiff
path: root/app/Template/config/integrations.php
blob: 07a90ce21f55fab60d492fcd97da06745485f3db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="page-header">
    <h2><?= t('Integration with third-party services') ?></h2>
</div>

<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'integrations')) ?>" autocomplete="off">
    <?= $this->form->csrf() ?>
    <?= $this->hook->render('template:config:integrations', array('values' => $values)) ?>

    <h3><img src="<?= $this->url->dir() ?>assets/img/gravatar-icon.png"/>&nbsp;<?= t('Gravatar') ?></h3>
    <div class="panel">
        <?= $this->form->checkbox('integration_gravatar', t('Enable Gravatar images'), 1, $values['integration_gravatar'] == 1) ?>
        <div class="form-actions">
            <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
        </div>
    </div>

</form>