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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-08-20 20:59:08 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-09-10 14:17:39 +0300
commitc9c671a466148bf52dc61c6a536cce1fead015be (patch)
tree35672f265f022b97fe5587366e1a0b9c09539e43 /core/templates
parent7c48177830585b150d7044cb87cea8e5fc31d527 (diff)
implement verification for additional mails
- mails added by (sub)admins are automatically verified - provisioning_api controller as verification endpoint - IAccountProperty gets a locallyVerified property - IPropertyCollection gets a method to fetch an IAccountProperty by value - an remove equivalent was already present - AccountManager always initiates mail verification on update if necessary - add core success template for arbitrary title and message Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/success.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/templates/success.php b/core/templates/success.php
new file mode 100644
index 00000000000..5ce8ff4f045
--- /dev/null
+++ b/core/templates/success.php
@@ -0,0 +1,13 @@
+<?php
+/** @var array $_ */
+/** @var \OCP\IL10N $l */
+/** @var \OCP\Defaults $theme */
+?>
+
+<div class="update">
+ <h2><?php p($_['title']) ?></h2>
+ <p><?php p($_['message']) ?></p>
+ <p><a class="button primary" href="<?php p(\OC::$server->get(\OCP\IURLGenerator::class)->linkTo('', 'index.php')) ?>">
+ <?php p($l->t('Go to %s', [$theme->getName()])); ?>
+ </a></p>
+</div>