diff options
author | Johannes Starosta <j.starosta@tu-braunschweig.de> | 2015-07-13 07:02:50 +0300 |
---|---|---|
committer | Johannes Starosta <j.starosta@tu-braunschweig.de> | 2015-07-13 07:02:50 +0300 |
commit | 89fb9ff1d3442863032df6a56e71c3f2a6c7ff90 (patch) | |
tree | 54920c6f15c05c936cc6a155af65fb99a3261fb5 | |
parent | db941b30aa17d04386aa0fbbfc5e5e47592be37f (diff) |
Added domain error template
-rw-r--r-- | templates/domains.php | 15 |
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> |