server/settings/templates/oauth.php

21 lines
613 B
PHP
Raw Normal View History

<?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">
2012-07-30 16:41:07 +00:00
<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>
2012-07-30 16:41:07 +00:00
<a href="#" class="button">Allow</a>
<a href="#" class="button">Disallow</a>
</div>