aboutsummaryrefslogtreecommitdiff
path: root/templates/oauthAuthorize.php
blob: 782c51a49a2bc23b032ba8ff142c19fcaa07a0f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php style('grauphel', 'grauphel'); ?>

<form method="post" action="<?php p($_['formaction']); ?>" class="oauth-authorize">
 <input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" />
 <input type="hidden" value="<?php p($_['oauth_token']); ?>" name="oauth_token" />
 <p class="msg">
  Shall application
  <strong><?php p($_['clientTitle']); ?></strong>
  get full access to the notes?
 </p>
 <p>
  <label>
   Application/computer name:
   <input type="text" name="client" value="<?php p($_['clientAgent']); ?>"/>
  </label>
  (e.g. <tt>home pc</tt>)
 </p>
 <div class="buttons">
  <button type="submit" name="auth" value="ok">Yes, authorize</button>
  <button type="submit" name="auth" value="cancel">No, decline</button>
 </div>
</form>