Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-07-16 22:15:39 +0300
committerJoas Schilling <coding@schilljs.com>2020-08-18 18:11:26 +0300
commit0b4fac2edfd1aa8dd7bd8225fb9ef239bfa565f6 (patch)
treeccad362547b93fee4318d7815512542d8bf95025 /templates
parent4d5fb2628a1862d2e80ed38fffc7a3a233c14d7f (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.php13
-rw-r--r--templates/domains.php16
-rw-r--r--templates/message.php8
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>