summaryrefslogtreecommitdiffstats
path: root/settings/templates/oauth-required-apps.php
blob: 3660f423423c738af0adcfc3c40c20485d7ade6a (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.
 */
?>
<div id="oauth-request" class="guest-container">
	<p><strong><?php print_unescaped(OC_Util::sanitizeHTML($_['consumer']['name']).'</strong> '.OC_Util::sanitizeHTML($_['message'])); ?></p>
	<ul>
		<?php
		// Foreach requested scope
		foreach($_['requiredapps'] as $requiredapp){
			print_unescaped('<li>'.OC_Util::sanitizeHTML($requiredapp).'</li>');
		}
		?>
	</ul>
	<a href="<?php print_unescaped(OC::$WEBROOT); ?>" id="back-home" class="button">Back to ownCloud</a>
</div>