summaryrefslogtreecommitdiff
path: root/app/Template/user/integrations.php
blob: ef9d8e71e723b0f4331fefa04dffdd996b7663e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="page-header">
    <h2><?= t('Integrations') ?></h2>
</div>

<form method="post" action="<?= $this->url->href('user', 'integrations', array('user_id' => $user['id'])) ?>" autocomplete="off">
    <?= $this->form->csrf() ?>
    <?php $hooks = $this->hook->render('template:user:integrations', array('values' => $values)) ?>
    <?php if (! empty($hooks)): ?>
        <?= $hooks ?>
    <?php else: ?>
        <p class="alert"><?= t('No external integration registered.') ?></p>
    <?php endif ?>
</form>