From 01666c5579b3de40981d9a06a627166e3bddedf6 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 11 Jan 2009 02:27:00 +0000 Subject: Fix all file structure issues (tabs, bad preambles, etc). Note: installer/install.php is now on the "direct access" list. --- modules/comment/views/admin_comments.html.php | 85 +++++++++++++-------------- 1 file changed, 42 insertions(+), 43 deletions(-) (limited to 'modules/comment') diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index e6741b35..9d18c054 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -14,25 +14,24 @@ var delete_url = ""; -function del(id) { - $.get(delete_url.replace("__ID__", id), - {}, - function() { - $("#gComment-" + id).slideUp(); - update_menu(); - }); -} - -function update_menu() { - $.get("", {}, - function(data) { - for (var i = 0; i < data.length; i++) { - $("#gAdminCommentsMenu li:eq(" + i + ") a").html(data[i]); - } - }, - "json"); -} + function del(id) { + $.get(delete_url.replace("__ID__", id), + {}, + function() { + $("#gComment-" + id).slideUp(); + update_menu(); + }); + } + function update_menu() { + $.get("", {}, + function(data) { + for (var i = 0; i < data.length; i++) { + $("#gAdminCommentsMenu li:eq(" + i + ") a").html(data[i]); + } + }, + "json"); + }
@@ -53,15 +52,15 @@ function update_menu() { 0): ?>

"Gallery has caught {{count}} spam for you since you installed spam filtering.", - "other" => "Gallery has caught {{count}} spam for you since you installed spam filtering."), - array("count" => $spam_caught)) ?> + "other" => "Gallery has caught {{count}} spam for you since you installed spam filtering."), + array("count" => $spam_caught)) ?>

count()): ?> "There is currently one comment in your spam queue. You can delete it with a single click, but there is no undo operation so you may want to check the message first to make sure that it really is spam.", - "other" => "There are currently {{count}} comments in your spam queue. You can delete them all with a single click, but there is no undo operation so you may want to check the messages first to make sure that they really are spam. All spam messages will be deleted after 7 days automatically."), - array("count" => $spam->count())) ?> + "other" => "There are currently {{count}} comments in your spam queue. You can delete them all with a single click, but there is no undo operation so you may want to check the messages first to make sure that they really are spam. All spam messages will be deleted after 7 days automatically."), + array("count" => $spam->count())) ?>

@@ -99,25 +98,25 @@ function update_menu() { " - class="gAvatar" - alt="author_name() ?>" - width="40" - height="40" /> -
+ class="gAvatar" + alt="author_name() ?>" + width="40" + height="40" /> +
author_name() ?> -

+

created); ?>

text ?> @@ -126,7 +125,7 @@ function update_menu() { state != "unpublished"): ?>
  • - +
  • @@ -134,7 +133,7 @@ function update_menu() { state != "published"): ?>
  • - +
  • @@ -142,26 +141,26 @@ function update_menu() { state != "spam"): ?>
  • - +
  • - +
  • - +
  • - +
  • -- cgit v1.2.3