diff options
-rwxr-xr-x | theme/admin/comments.tpl | 8 | ||||
-rwxr-xr-x | theme/admin/drafts.tpl | 4 | ||||
-rwxr-xr-x | theme/admin/links.tpl | 4 | ||||
-rwxr-xr-x | theme/admin/modquotes.tpl | 8 | ||||
-rwxr-xr-x | theme/admin/pending.tpl | 4 | ||||
-rwxr-xr-x | theme/admin/polls.tpl | 4 | ||||
-rwxr-xr-x | theme/admin/posts.tpl | 4 | ||||
-rwxr-xr-x | theme/admin/quotes.tpl | 4 |
8 files changed, 20 insertions, 20 deletions
diff --git a/theme/admin/comments.tpl b/theme/admin/comments.tpl index 6d9f815..5d1da21 100755 --- a/theme/admin/comments.tpl +++ b/theme/admin/comments.tpl | |||
@@ -7,13 +7,13 @@ function denyComment(id) | |||
7 | { | 7 | { |
8 | if (confirm("Are you sure you would like to deny this comment?")) | 8 | if (confirm("Are you sure you would like to deny this comment?")) |
9 | { | 9 | { |
10 | postwith("/admin/comments.php?pageID=<!--PAGEID-->&action=deny",{id:id}); | 10 | postwith("/admin/comments.php?pageID=<!--PAGEID-->&action=deny",{id:id}); |
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
14 | function approveComment(id) | 14 | function approveComment(id) |
15 | { | 15 | { |
16 | postwith("/admin/comments.php?pageID=<!--PAGEID-->&action=approve",{id:id}); | 16 | postwith("/admin/comments.php?pageID=<!--PAGEID-->&action=approve",{id:id}); |
17 | } | 17 | } |
18 | 18 | ||
19 | // following function taken from http://mentaljetsam.wordpress.com/2008/06/02/using-javascript-to-post-data-between-pages/ | 19 | // following function taken from http://mentaljetsam.wordpress.com/2008/06/02/using-javascript-to-post-data-between-pages/ |
@@ -46,13 +46,13 @@ function bulkAction() | |||
46 | { | 46 | { |
47 | if (confirm("Are you sure you would like to deny the selected comments?")) | 47 | if (confirm("Are you sure you would like to deny the selected comments?")) |
48 | { | 48 | { |
49 | postwith("/admin/comments.php?pageID=<!--PAGEID-->&action=denys",{ids:ids}); | 49 | postwith("/admin/comments.php?pageID=<!--PAGEID-->&action=denys",{ids:ids}); |
50 | } | 50 | } |
51 | } else if ($('#manage-bulk select').val() == "approve") | 51 | } else if ($('#manage-bulk select').val() == "approve") |
52 | { | 52 | { |
53 | if (confirm("Are you sure you would like to approve the selected comments?")) | 53 | if (confirm("Are you sure you would like to approve the selected comments?")) |
54 | { | 54 | { |
55 | postwith("/admin/comments.php?pageID=<!--PAGEID-->&action=approves",{ids:ids}); | 55 | postwith("/admin/comments.php?pageID=<!--PAGEID-->&action=approves",{ids:ids}); |
56 | } | 56 | } |
57 | } | 57 | } |
58 | } | 58 | } |
diff --git a/theme/admin/drafts.tpl b/theme/admin/drafts.tpl index 17757ba..e798fd9 100755 --- a/theme/admin/drafts.tpl +++ b/theme/admin/drafts.tpl | |||
@@ -7,7 +7,7 @@ function deletePost(id) | |||
7 | { | 7 | { |
8 | if (confirm("Are you sure you would like to delete this draft?")) | 8 | if (confirm("Are you sure you would like to delete this draft?")) |
9 | { | 9 | { |
10 | postwith("/admin/drafts.php?pageID=<!--PAGEID-->&action=delete",{id:id}); | 10 | postwith("/admin/drafts.php?pageID=<!--PAGEID-->&action=delete",{id:id}); |
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
@@ -41,7 +41,7 @@ function bulkAction() | |||
41 | { | 41 | { |
42 | if (confirm("Are you sure you would like to delete the selected drafts?")) | 42 | if (confirm("Are you sure you would like to delete the selected drafts?")) |
43 | { | 43 | { |
44 | postwith("/admin/drafts.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); | 44 | postwith("/admin/drafts.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); |
45 | } | 45 | } |
46 | } | 46 | } |
47 | } | 47 | } |
diff --git a/theme/admin/links.tpl b/theme/admin/links.tpl index d666f61..f245a25 100755 --- a/theme/admin/links.tpl +++ b/theme/admin/links.tpl | |||
@@ -7,7 +7,7 @@ function deleteLink(id) | |||
7 | { | 7 | { |
8 | if (confirm("Are you sure you would like to delete this link?")) | 8 | if (confirm("Are you sure you would like to delete this link?")) |
9 | { | 9 | { |
10 | postwith("/admin/links.php?pageID=<!--PAGEID-->&action=delete",{id:id}); | 10 | postwith("/admin/links.php?pageID=<!--PAGEID-->&action=delete",{id:id}); |
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
@@ -41,7 +41,7 @@ function bulkAction() | |||
41 | { | 41 | { |
42 | if (confirm("Are you sure you would like to delete the selected links?")) | 42 | if (confirm("Are you sure you would like to delete the selected links?")) |
43 | { | 43 | { |
44 | postwith("/admin/links.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); | 44 | postwith("/admin/links.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); |
45 | } | 45 | } |
46 | } | 46 | } |
47 | } | 47 | } |
diff --git a/theme/admin/modquotes.tpl b/theme/admin/modquotes.tpl index 545a171..016f7a5 100755 --- a/theme/admin/modquotes.tpl +++ b/theme/admin/modquotes.tpl | |||
@@ -7,13 +7,13 @@ function denyQuote(id) | |||
7 | { | 7 | { |
8 | if (confirm("Are you sure you would like to deny this quote?")) | 8 | if (confirm("Are you sure you would like to deny this quote?")) |
9 | { | 9 | { |
10 | postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=deny",{id:id}); | 10 | postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=deny",{id:id}); |
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
14 | function approveQuote(id) | 14 | function approveQuote(id) |
15 | { | 15 | { |
16 | postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=approve",{id:id}); | 16 | postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=approve",{id:id}); |
17 | } | 17 | } |
18 | 18 | ||
19 | // following function taken from http://mentaljetsam.wordpress.com/2008/06/02/using-javascript-to-post-data-between-pages/ | 19 | // following function taken from http://mentaljetsam.wordpress.com/2008/06/02/using-javascript-to-post-data-between-pages/ |
@@ -46,13 +46,13 @@ function bulkAction() | |||
46 | { | 46 | { |
47 | if (confirm("Are you sure you would like to deny the selected quotes?")) | 47 | if (confirm("Are you sure you would like to deny the selected quotes?")) |
48 | { | 48 | { |
49 | postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=denys",{ids:ids}); | 49 | postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=denys",{ids:ids}); |
50 | } | 50 | } |
51 | } else if ($('#manage-bulk select').val() == "approve") | 51 | } else if ($('#manage-bulk select').val() == "approve") |
52 | { | 52 | { |
53 | if (confirm("Are you sure you would like to approve the selected quotes?")) | 53 | if (confirm("Are you sure you would like to approve the selected quotes?")) |
54 | { | 54 | { |
55 | postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=approves",{ids:ids}); | 55 | postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=approves",{ids:ids}); |
56 | } | 56 | } |
57 | } | 57 | } |
58 | } | 58 | } |
diff --git a/theme/admin/pending.tpl b/theme/admin/pending.tpl index 8ead332..32c15b0 100755 --- a/theme/admin/pending.tpl +++ b/theme/admin/pending.tpl | |||
@@ -7,7 +7,7 @@ function deletePost(id) | |||
7 | { | 7 | { |
8 | if (confirm("Are you sure you would like to delete this pending post?")) | 8 | if (confirm("Are you sure you would like to delete this pending post?")) |
9 | { | 9 | { |
10 | postwith("/admin/pending.php?pageID=<!--PAGEID-->&action=delete",{id:id}); | 10 | postwith("/admin/pending.php?pageID=<!--PAGEID-->&action=delete",{id:id}); |
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
@@ -41,7 +41,7 @@ function bulkAction() | |||
41 | { | 41 | { |
42 | if (confirm("Are you sure you would like to delete the selected posts?")) | 42 | if (confirm("Are you sure you would like to delete the selected posts?")) |
43 | { | 43 | { |
44 | postwith("/admin/pending.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); | 44 | postwith("/admin/pending.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); |
45 | } | 45 | } |
46 | } | 46 | } |
47 | } | 47 | } |
diff --git a/theme/admin/polls.tpl b/theme/admin/polls.tpl index feb3600..81613a9 100755 --- a/theme/admin/polls.tpl +++ b/theme/admin/polls.tpl | |||
@@ -7,7 +7,7 @@ function deletePoll(id) | |||
7 | { | 7 | { |
8 | if (confirm("Are you sure you would like to delete this poll?")) | 8 | if (confirm("Are you sure you would like to delete this poll?")) |
9 | { | 9 | { |
10 | postwith("/admin/polls.php?pageID=<!--PAGEID-->&action=delete",{id:id}); | 10 | postwith("/admin/polls.php?pageID=<!--PAGEID-->&action=delete",{id:id}); |
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
@@ -41,7 +41,7 @@ function bulkAction() | |||
41 | { | 41 | { |
42 | if (confirm("Are you sure you would like to delete the selected polls?")) | 42 | if (confirm("Are you sure you would like to delete the selected polls?")) |
43 | { | 43 | { |
44 | postwith("/admin/polls.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); | 44 | postwith("/admin/polls.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); |
45 | } | 45 | } |
46 | } | 46 | } |
47 | } | 47 | } |
diff --git a/theme/admin/posts.tpl b/theme/admin/posts.tpl index c68f5fd..676d789 100755 --- a/theme/admin/posts.tpl +++ b/theme/admin/posts.tpl | |||
@@ -7,7 +7,7 @@ function deletePost(id) | |||
7 | { | 7 | { |
8 | if (confirm("Are you sure you would like to delete this post?")) | 8 | if (confirm("Are you sure you would like to delete this post?")) |
9 | { | 9 | { |
10 | postwith("/admin/posts.php?pageID=<!--PAGEID-->&action=delete",{id:id}); | 10 | postwith("/admin/posts.php?pageID=<!--PAGEID-->&action=delete",{id:id}); |
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
@@ -41,7 +41,7 @@ function bulkAction() | |||
41 | { | 41 | { |
42 | if (confirm("Are you sure you would like to delete the selected posts?")) | 42 | if (confirm("Are you sure you would like to delete the selected posts?")) |
43 | { | 43 | { |
44 | postwith("/admin/posts.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); | 44 | postwith("/admin/posts.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids}); |
45 | } | 45 | } |
46 | } | 46 | } |
47 | } | 47 | } |
diff --git a/theme/admin/quotes.tpl b/theme/admin/quotes.tpl index 6da9dbb..7828e84 100755 --- a/theme/admin/quotes.tpl +++ b/theme/admin/quotes.tpl | |||
@@ -7,7 +7,7 @@ function deleteQuote(id) | |||
7 | { | 7 | { |
8 | if (confirm("Are you sure you would like to delete this quote?")) | 8 | if (confirm("Are you sure you would like to delete this quote?")) |
9 | { | 9 | { |
10 | postwith("/admin/quotes.php?<!--FLAGGED-->pageID=<!--PAGEID-->&action=delete",{id:id}); | 10 | postwith("/admin/quotes.php?<!--FLAGGED-->pageID=<!--PAGEID-->&action=delete",{id:id}); |
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
@@ -41,7 +41,7 @@ function bulkAction() | |||
41 | { | 41 | { |
42 | if (confirm("Are you sure you would like to delete the selected quotes?")) | 42 | if (confirm("Are you sure you would like to delete the selected quotes?")) |
43 | { | 43 | { |
44 | postwith("/admin/quotes.php?<!--FLAGGED-->pageID=<!--PAGEID-->&action=deletes",{ids:ids}); | 44 | postwith("/admin/quotes.php?<!--FLAGGED-->pageID=<!--PAGEID-->&action=deletes",{ids:ids}); |
45 | } | 45 | } |
46 | } | 46 | } |
47 | } | 47 | } |