summaryrefslogtreecommitdiffstats
path: root/settings/templates/oauth.php
blob: ce2584365b9d568c69f9626d415e21131442acb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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.
 */
?>

<p><strong><?php echo $_['consumer']['name']; ?></strong> is requesting 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>
<button>Disallow</button>
<button>Allow</button>