diff options
| author | Starla Insigna <hatkirby@fourisland.com> | 2010-03-12 22:00:35 -0500 |
|---|---|---|
| committer | Starla Insigna <hatkirby@fourisland.com> | 2010-03-12 22:00:35 -0500 |
| commit | 6dbe0dfbd02f1be6c2e25e1916cd26b627076cef (patch) | |
| tree | b13313f49a722f970c3c6c0fd2f0d8ed899a921b /theme/admin/modquotes.tpl | |
| parent | 47bfbec81bfaf3314018d3100d678ee37af88b2b (diff) | |
| download | fourisland-6dbe0dfbd02f1be6c2e25e1916cd26b627076cef.tar.gz fourisland-6dbe0dfbd02f1be6c2e25e1916cd26b627076cef.tar.bz2 fourisland-6dbe0dfbd02f1be6c2e25e1916cd26b627076cef.zip | |
Fixed & admin panel bug
In the admin panel, many (if not all) dynamic links use AJAX to POST a page. These all contained & in the URL, which didn't resolve to & as it should. These have all been replaced.
Diffstat (limited to 'theme/admin/modquotes.tpl')
| -rwxr-xr-x | theme/admin/modquotes.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
| 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 | } |
