aboutsummaryrefslogtreecommitdiff
path: root/mod/apiadmin/views
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 15:13:13 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 15:13:13 +0000
commit47475737ced41c30946a2d9113d0d359c157474b (patch)
tree7c251914b923cc886129e467f052672993ae1a33 /mod/apiadmin/views
parent6546d603093ed257b6aff7e2cbcb8c7a8f52a930 (diff)
downloadelgg-47475737ced41c30946a2d9113d0d359c157474b.tar.gz
elgg-47475737ced41c30946a2d9113d0d359c157474b.tar.bz2
Repointed actions/ to action/ in all views and removed actions/* from the action handler.
git-svn-id: https://code.elgg.org/elgg/trunk@2815 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/apiadmin/views')
-rw-r--r--mod/apiadmin/views/default/apiadmin/forms/add_key.php2
-rw-r--r--mod/apiadmin/views/default/object/api_key.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/apiadmin/views/default/apiadmin/forms/add_key.php b/mod/apiadmin/views/default/apiadmin/forms/add_key.php
index 005b1e27b..efa871e70 100644
--- a/mod/apiadmin/views/default/apiadmin/forms/add_key.php
+++ b/mod/apiadmin/views/default/apiadmin/forms/add_key.php
@@ -9,5 +9,5 @@
</div>
END;
- echo elgg_view('input/form', array('action' => "{$vars['url']}actions/apiadmin/generate", "body" => $form_body));
+ echo elgg_view('input/form', array('action' => "{$vars['url']}action/apiadmin/generate", "body" => $form_body));
?> \ No newline at end of file
diff --git a/mod/apiadmin/views/default/object/api_key.php b/mod/apiadmin/views/default/object/api_key.php
index 77ea9007f..64ca3d087 100644
--- a/mod/apiadmin/views/default/object/api_key.php
+++ b/mod/apiadmin/views/default/object/api_key.php
@@ -19,7 +19,7 @@
$token = generate_action_token($ts);
- $info = "<div class=\"contentWrapper\"><p><b>{$entity->title}</b> <a href=\"{$CONFIG->url}actions/apiadmin/revokekey?keyid={$entity->guid}&__elgg_token=$token&__elgg_ts=$ts\">$revoke_label</a></p></div>";
+ $info = "<div class=\"contentWrapper\"><p><b>{$entity->title}</b> <a href=\"{$CONFIG->url}action/apiadmin/revokekey?keyid={$entity->guid}&__elgg_token=$token&__elgg_ts=$ts\">$revoke_label</a></p></div>";
$info .= "<div><p><b>$public_label:</b> {$entity->public}<br />";
if (isadminloggedin()) {
// Only show secret portion to admins