summaryrefslogtreecommitdiffstats
path: root/core/templates/untrustedDomain.php
blob: cd361cff3b4cfee7693e74a2901a169aaf2f0fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php /** @var $_ array */ ?>

<div class="error">
	<h2><?php p($l->t('Access through untrusted domain')); ?></h2>

	<p>
		<?php p($l->t('Please contact your administrator. If you are an administrator, edit the "trusted_domains" setting in config/config.php like the example in config.sample.php.')); ?>
	</p>
	<p>
		<?php p($l->t('Depending on your configuration, this button could also work to trust the domain:')); ?>
	</p>
	<p style="text-align:center;">
		<a href="<?php print_unescaped(\OC::$server->getURLGenerator()->getAbsoluteURL(\OCP\Util::linkToRoute('settings.AdminSettings.index'))); ?>?trustDomain=<?php p($_['domain']); ?>" class="button">
			<?php p($l->t('Add "%s" as trusted domain', array($_['domain']))); ?>
		</a>
	</p>
</div>