summary refs log tree commit diff stats
path: root/theme/admin/modquotes.tpl
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-03-12 22:00:35 -0500
committerStarla Insigna <hatkirby@fourisland.com>2010-03-12 22:00:35 -0500
commit6dbe0dfbd02f1be6c2e25e1916cd26b627076cef (patch)
treeb13313f49a722f970c3c6c0fd2f0d8ed899a921b /theme/admin/modquotes.tpl
parent47bfbec81bfaf3314018d3100d678ee37af88b2b (diff)
downloadfourisland-6dbe0dfbd02f1be6c2e25e1916cd26b627076cef.tar.gz
fourisland-6dbe0dfbd02f1be6c2e25e1916cd26b627076cef.tar.bz2
fourisland-6dbe0dfbd02f1be6c2e25e1916cd26b627076cef.zip
Fixed &amp; admin panel bug
In the admin panel, many (if not all) dynamic links use AJAX to POST a page. These all contained &amp; 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-xtheme/admin/modquotes.tpl8
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-->&amp;action=deny",{id:id}); 10 postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=deny",{id:id});
11 } 11 }
12} 12}
13 13
14function approveQuote(id) 14function approveQuote(id)
15{ 15{
16 postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&amp;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-->&amp;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-->&amp;action=approves",{ids:ids}); 55 postwith("/admin/modquotes.php?pageID=<!--PAGEID-->&action=approves",{ids:ids});
56 } 56 }
57 } 57 }
58 } 58 }