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:
authorJohannes Starosta <j.starosta@tu-braunschweig.de>2015-07-13 07:02:50 +0300
committerJohannes Starosta <j.starosta@tu-braunschweig.de>2015-07-13 07:02:50 +0300
commit89fb9ff1d3442863032df6a56e71c3f2a6c7ff90 (patch)
tree54920c6f15c05c936cc6a155af65fb99a3261fb5 /templates
parentdb941b30aa17d04386aa0fbbfc5e5e47592be37f (diff)
Added domain error template
Diffstat (limited to 'templates')
-rw-r--r--templates/domains.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/domains.php b/templates/domains.php
new file mode 100644
index 0000000..4c73dba
--- /dev/null
+++ b/templates/domains.php
@@ -0,0 +1,15 @@
+<?php
+\OCP\Util::addStyle('registration', 'style');
+?>
+<ul class="error-wide">
+ <li class='error'><?php p($l->t('Registration is only allowed for following domains:')); ?>
+<?php
+foreach ($_['domains'] as $domain ){
+ echo "<p class='hint'>";
+ p($domain);
+ echo "</p>";
+}
+
+?>
+</li>
+</ul>