diff options
author | Joas Schilling <coding@schilljs.com> | 2020-07-16 22:15:39 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-08-18 18:11:26 +0300 |
commit | 0b4fac2edfd1aa8dd7bd8225fb9ef239bfa565f6 (patch) | |
tree | ccad362547b93fee4318d7815512542d8bf95025 /templates | |
parent | 4d5fb2628a1862d2e80ed38fffc7a3a233c14d7f (diff) |
Redirect to ClientLoginFlow and ClientLoginFlowV2 when it was used
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/approval-required.php | 13 | ||||
-rw-r--r-- | templates/domains.php | 16 | ||||
-rw-r--r-- | templates/message.php | 8 |
3 files changed, 13 insertions, 24 deletions
diff --git a/templates/approval-required.php b/templates/approval-required.php new file mode 100644 index 0000000..fd20b3c --- /dev/null +++ b/templates/approval-required.php @@ -0,0 +1,13 @@ +<?php +/** @var array $_ */ +/** @var \OCP\IL10N $l */ +style('registration', 'style'); +?> +<div class="error"> + <h2><?php p($l->t('Approval required')) ?></h2> + <ul> + <li> + <p><?php p($l->t('Your account has been successfully created, but it still needs approval from an administrator.')) ?></p> + </li> + </ul> +</div> diff --git a/templates/domains.php b/templates/domains.php deleted file mode 100644 index 13ce4ef..0000000 --- a/templates/domains.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php -/** @var array $_ */ -/** @var \OCP\IL10N $l */ -style('registration', 'style'); -?> -<ul class="error-wide"> - <li class='error'><?php p($l->t('Registration is only allowed for the following domains:')); ?> - <?php - foreach ($_['domains'] as $domain) { - echo "<p class='hint'>"; - p($domain); - echo "</p>"; - } - ?> - </li> -</ul> diff --git a/templates/message.php b/templates/message.php deleted file mode 100644 index c895520..0000000 --- a/templates/message.php +++ /dev/null @@ -1,8 +0,0 @@ -<?php -/** @var array $_ */ -/** @var \OCP\IL10N $l */ -style('registration', 'style'); -?> -<ul class="msg error-wide nc-theming-main-text"> - <li><?php print_unescaped($_['msg'])?></li> -</ul> |