summaryrefslogtreecommitdiff
path: root/modules/rest/views/user_profile_rest.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rest/views/user_profile_rest.html.php')
-rw-r--r--modules/rest/views/user_profile_rest.html.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/rest/views/user_profile_rest.html.php b/modules/rest/views/user_profile_rest.html.php
new file mode 100644
index 0000000..3e5d3db
--- /dev/null
+++ b/modules/rest/views/user_profile_rest.html.php
@@ -0,0 +1,13 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div id="g-rest-detail">
+ <ul>
+ <li id="g-rest-key">
+ <p>
+ <?= t("<b>Key</b>: %key", array("key" => $rest_key)) ?>
+ <a class="g-button ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("rest/reset_api_key_confirm") ?>">
+ <?= t("reset") ?>
+ </a>
+ </p>
+ </li>
+ </ul>
+</div>