untrustedDomain.php 888 B

12345678910111213141516171819
  1. <?php /** @var $_ array */ ?>
  2. <ul class="error-wide">
  3. <li class='error'>
  4. <?php p($l->t('You are accessing the server from an untrusted domain.')); ?><br>
  5. <p class='hint'>
  6. <?php p($l->t('Please contact your administrator. If you are an administrator of this instance, configure the "trusted_domain" setting in config/config.php. An example configuration is provided in config/config.sample.php.')); ?>
  7. <br>
  8. <?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.')); ?>
  9. <br><br>
  10. <p style="text-align:center;">
  11. <a href="<?php print_unescaped(OC_Helper::makeURLAbsolute(\OCP\Util::linkToRoute('settings_admin'))); ?>?trustDomain=<?php p($_['domain']); ?>" class="button">
  12. <?php p($l->t('Add "%s" as trusted domain', array($_['domain']))); ?>
  13. </a>
  14. </p>
  15. </p>
  16. </li>
  17. </ul>