aboutsummaryrefslogtreecommitdiff
path: root/app/views/api/oauth/authorize.php
diff options
context:
space:
mode:
authorPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
committerPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
commit4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch)
tree5c07151ae61276d334e88f6309c30d439a85c12e /app/views/api/oauth/authorize.php
parentda0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff)
parent97a188592c679890a25c37ab78463add76a52ff7 (diff)
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'app/views/api/oauth/authorize.php')
-rw-r--r--app/views/api/oauth/authorize.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/app/views/api/oauth/authorize.php b/app/views/api/oauth/authorize.php
deleted file mode 100644
index 6c66532..0000000
--- a/app/views/api/oauth/authorize.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<section class="oauth authorize">
- <p>
- <?= sprintf(
- _('Die Applikation <strong>%s</strong> möchte auf Ihre Daten zugreifen.'),
- htmlReady($consumer->title)
- ) ?>
- </p>
-
- <form action="<?= $controller->url_for('api/oauth/authorize?oauth_token=' . $token) ?>" method="post">
- <input type="hidden" name="oauth_callback" value="<?= htmlReady($oauth_callback) ?>">
- <p>
- <?= Studip\Button::createAccept(_('Erlauben'), 'allow') ?>
- <?= Studip\LinkButton::createCancel(_('Verweigern'), $consumer->callback) ?>
- </p>
- </form>
-
- <p>
- <?= Avatar::getAvatar($GLOBALS['user']->id)->getImageTag(Avatar::SMALL) ?>
-
- <?= sprintf(
- _('Angemeldet als <strong>%s</strong> (%s)'),
- htmlReady($GLOBALS['user']->getFullName()),
- htmlReady($GLOBALS['user']->username)
- ) ?><br>
- <small>
- <a href="<?= URLHelper::getLink('logout.php') ?>">
- <?= sprintf(
- _('Sind sie nicht <strong>%s</strong>, so melden Sie sich bitte ab und versuchen es erneut.'),
- htmlReady($GLOBALS['user']->getFullName())
- ) ?>
- </a>
- </small>
- </p>
-</section>