summaryrefslogtreecommitdiff
path: root/modules/comment/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-05-20 06:22:47 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-05-20 06:22:47 -0700
commitf9cbff9fcc334da2853262ca46414edf80c2086e (patch)
treeac7754f6cb4168bd6b93b256565e6c16496e89a0 /modules/comment/views
parentffc3f9f41c3d8d6df08d9ad6138f4ad74749ccec (diff)
parent110350776d5bda3b8535f0329ea69b914daa8019 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/comment/views')
-rw-r--r--modules/comment/views/admin_manage_comments.html.php (renamed from modules/comment/views/admin_comments.html.php)8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_manage_comments.html.php
index f58267bd..34a28986 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_manage_comments.html.php
@@ -1,7 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript">
var set_state_url =
- <?= html::js_string(url::site("admin/comments/set_state/__ID__/__STATE__?csrf=$csrf")) ?>;
+ <?= html::js_string(url::site("admin/manage_comments/set_state/__ID__/__STATE__?csrf=$csrf")) ?>;
function set_state(state, id) {
$.get(set_state_url.replace("__STATE__", state).replace("__ID__", id),
{},
@@ -12,7 +12,7 @@
}
var delete_url =
- <?= html::js_string(url::site("admin/comments/delete/__ID__?csrf=$csrf")) ?>;
+ <?= html::js_string(url::site("admin/manage_comments/delete/__ID__?csrf=$csrf")) ?>;
function del(id) {
$.get(delete_url.replace("__ID__", id),
@@ -24,7 +24,7 @@
}
function update_menu() {
- $.get(<?= html::js_string(url::site("admin/comments/menu_labels")) ?>, {},
+ $.get(<?= html::js_string(url::site("admin/manage_comments/menu_labels")) ?>, {},
function(data) {
for (var i = 0; i < data.length; i++) {
$("#g-admin-comments-menu li:eq(" + i + ") a").html(data[i]);
@@ -73,7 +73,7 @@
$counts->spam) ?>
</p>
<p>
- <a href="<?= url::site("admin/comments/delete_all_spam?csrf=$csrf") ?>">
+ <a href="<?= url::site("admin/manage_comments/delete_all_spam?csrf=$csrf") ?>">
<?= t("Delete all spam") ?>
</a>
<? else: ?>