2014-08-22 00:22:35 +04:00
< ? php /** @var $_ array */ ?>
< ul class = " error-wide " >
< li class = 'error' >
2015-03-18 01:57:23 +03:00
< ? php p ( $l -> t ( 'You are accessing the server from an untrusted domain.' )); ?> <br>
2014-08-22 00:22:35 +04:00
< p class = 'hint' >
2015-11-12 16:33:59 +03:00
< ? php p ( $l -> t ( 'Please contact your administrator. If you are an administrator of this instance, configure the "trusted_domains" setting in config/config.php. An example configuration is provided in config/config.sample.php.' )); ?>
2015-03-18 01:57:23 +03:00
< br >
2014-08-22 00:22:35 +04:00
< ? php p ( $l -> t ( 'Depending on your configuration, as an administrator you might also be able to use the button below to trust this domain.' )); ?>
2015-03-18 01:57:23 +03:00
< br >< br >
2014-08-22 00:22:35 +04:00
< p style = " text-align:center; " >
2016-08-09 00:31:26 +03:00
< a href = " <?php print_unescaped( \ OC:: $server->getURLGenerator ()->getAbsoluteURL( \ OCP \ Util::linkToRoute('settings.AdminSettings.index'))); ?>?trustDomain=<?php p( $_['domain'] ); ?> " class = " button " >
2014-08-22 00:22:35 +04:00
< ? php p ( $l -> t ( 'Add "%s" as trusted domain' , array ( $_ [ 'domain' ]))); ?>
</ a >
</ p >
</ p >
</ li >
</ ul >