Files
gallery3/modules/rest/views/user_profile_rest.html.php
Bharat Mediratta 0014745d4a Add a button to the user profile page to let you reset your REST API
key.  This is useful if you think it's been compromised in some way.
Fixes ticket #1226.
2010-08-08 21:49:30 -07:00

14 lines
399 B
PHP

<?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>