diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-04 17:18:58 -0800 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-04 17:18:58 -0800 |
commit | 0b13b411893c472ce3102ece5d63de34bf872a8d (patch) | |
tree | 9d85a64dcd50d395837837ba4d5424528e2f3fa4 /settings/templates/oauth.php | |
parent | 934d9dcc42e2d7281e04c6acecdd53ae2a03b25f (diff) | |
parent | 3d23e983908d02fe72f305aeaabbdca05d167e8f (diff) | |
download | nextcloud-server-0b13b411893c472ce3102ece5d63de34bf872a8d.tar.gz nextcloud-server-0b13b411893c472ce3102ece5d63de34bf872a8d.zip |
Merge pull request #1053 from owncloud/ocs_api
External API for ownCloud based on OCS
Diffstat (limited to 'settings/templates/oauth.php')
-rw-r--r-- | settings/templates/oauth.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/settings/templates/oauth.php b/settings/templates/oauth.php new file mode 100644 index 00000000000..053a8aee6d3 --- /dev/null +++ b/settings/templates/oauth.php @@ -0,0 +1,20 @@ +<?php +/** + * Copyright (c) 2012, Tom Needham <tom@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or later. + * See the COPYING-README file. + */ +?> +<div id="oauth-request" class="guest-container"> + <p><strong><?php echo $_['consumer']['name']; ?></strong> is requesting your permission to read, write, modify and delete data from the following apps:</p> + <ul> + <?php + // Foreach requested scope + foreach($_['consumer']['scopes'] as $app){ + echo '<li>'.$app.'</li>'; + } + ?> + </ul> + <a href="#" class="button">Allow</a> + <a href="#" class="button">Disallow</a> +</div> |