Added domain error template

This commit is contained in:
Johannes Starosta 2015-07-13 06:02:50 +02:00
parent db941b30aa
commit 89fb9ff1d3
1 changed files with 15 additions and 0 deletions

15
templates/domains.php Normal file
View File

@ -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>