You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

untrustedDomain.php 749B

1234567891011121314151617
  1. <?php /** @var $_ array */ ?>
  2. <div class="error">
  3. <h2><?php p($l->t('Access through untrusted domain')); ?></h2>
  4. <p>
  5. <?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.')); ?>
  6. </p>
  7. <p>
  8. <?php p($l->t('Depending on your configuration, this button could also work to trust the domain:')); ?>
  9. </p>
  10. <p style="text-align:center;">
  11. <a href="<?php print_unescaped(\OC::$server->getURLGenerator()->getAbsoluteURL(\OCP\Util::linkToRoute('settings.AdminSettings.index'))); ?>?trustDomain=<?php p($_['domain']); ?>" class="button">
  12. <?php p($l->t('Add "%s" as trusted domain', array($_['domain']))); ?>
  13. </a>
  14. </p>
  15. </div>