2014-08-22 00:22:35 +04:00
< ? php /** @var $_ array */ ?>
2017-05-17 16:35:10 +03:00
< div class = " error " >
< h2 >< ? php p ( $l -> t ( 'Access through untrusted domain' )); ?> </h2>
2014-08-22 00:22:35 +04:00
2017-05-17 16:35:10 +03:00
< p >
2017-08-12 20:01:42 +03: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 16:35:10 +03:00
</ p >
< p >
2017-08-12 20:01:42 +03:00
< ? php p ( $l -> t ( 'Depending on your configuration, this button could also work to trust the domain:' )); ?>
2017-05-17 16:35:10 +03:00
</ p >
< p style = " text-align:center; " >
2018-03-14 00:04:08 +03:00
< a href = " <?php print_unescaped( \ OC:: $server->getURLGenerator ()->getAbsoluteURL( \ OC:: $server->getURLGenerator ()->linkToRoute('settings.AdminSettings.index'))); ?>?trustDomain=<?php p( $_['domain'] ); ?> " class = " button " >
2017-05-17 16:35:10 +03:00
< ? php p ( $l -> t ( 'Add "%s" as trusted domain' , array ( $_ [ 'domain' ]))); ?>
</ a >
</ p >
</ div >