oauth-required-apps.php 663 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Copyright (c) 2012, Tom Needham <tom@owncloud.com>
  4. * This file is licensed under the Affero General Public License version 3 or later.
  5. * See the COPYING-README file.
  6. */
  7. ?>
  8. <div id="oauth-request" class="guest-container">
  9. <p><strong><?php print_unescaped(OC_Util::sanitizeHTML($_['consumer']['name']).'</strong> '.OC_Util::sanitizeHTML($_['message'])); ?></p>
  10. <ul>
  11. <?php
  12. // Foreach requested scope
  13. foreach($_['requiredapps'] as $requiredapp){
  14. print_unescaped('<li>'.OC_Util::sanitizeHTML($requiredapp).'</li>');
  15. }
  16. ?>
  17. </ul>
  18. <a href="<?php print_unescaped(OC::$WEBROOT); ?>" id="back-home" class="button">Back to ownCloud</a>
  19. </div>