Release 0.7.1
[grauphel.git] / templates / oauthAuthorize.php
1 <?php style('grauphel', 'grauphel'); ?>
2
3 <form method="post" action="<?php p($_['formaction']); ?>" class="oauth-authorize">
4  <input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" />
5  <input type="hidden" value="<?php p($_['oauth_token']); ?>" name="oauth_token" />
6  <p class="msg">
7   Shall application
8   <strong><?php p($_['clientTitle']); ?></strong>
9   get full access to the notes?
10  </p>
11  <p>
12   <label>
13    Application/computer name:
14    <input type="text" name="client" value="<?php p($_['clientAgent']); ?>"/>
15   </label>
16   (e.g. <tt>home pc</tt>)
17  </p>
18  <div class="buttons">
19   <button type="submit" name="auth" value="ok">Yes, authorize</button>
20   <button type="submit" name="auth" value="cancel">No, decline</button>
21  </div>
22 </form>