blob: 6c665328ad29675331b8dab3bdaa39aad8e96693 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<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>
|