2014-08-21 20:22:35 +00:00
< ? php /** @var $_ array */ ?>
2017-05-17 13:35:10 +00:00
< div class = " error " >
< h2 >< ? php p ( $l -> t ( 'Access through untrusted domain' )); ?> </h2>
2014-08-21 20:22:35 +00:00
2017-05-17 13:35:10 +00:00
< p >
2017-08-12 17:01:42 +00:00
< ? 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.' )); ?>
2017-05-17 13:35:10 +00:00
</ p >
< p >
2017-08-12 17:01:42 +00:00
< ? php p ( $l -> t ( 'Depending on your configuration, this button could also work to trust the domain:' )); ?>
2017-05-17 13:35:10 +00:00
</ 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 >