diff options
author | Ted Trask <ttrask01@yahoo.com> | 2010-03-10 10:17:34 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2010-03-10 10:17:34 +0000 |
commit | 30414e961223426ffa7b97393d4f2cfb2df16589 (patch) | |
tree | 503547e51b8083fa38a23a58d6e46ec73caa8aad /lib | |
parent | 09ca37d1edd949052d91734ee584de9179e23c39 (diff) | |
download | acf-core-30414e961223426ffa7b97393d4f2cfb2df16589.tar.bz2 acf-core-30414e961223426ffa7b97393d4f2cfb2df16589.tar.xz |
Fixed graphical error with pagination
Diffstat (limited to 'lib')
-rw-r--r-- | lib/viewfunctions.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/viewfunctions.lua b/lib/viewfunctions.lua index f827cff..b5c4010 100644 --- a/lib/viewfunctions.lua +++ b/lib/viewfunctions.lua @@ -220,7 +220,7 @@ function displaypagination(page_data, page_info) io.write('<div align="right">Pages:') local p = page_data.page if p > 1 then - io.write("<a href="..link..(p-1).."><img SRC='<%= html.html_escape(page_info.staticdir) %>/tango/16x16/actions/go-previous.png' HEIGHT='16' WIDTH='16'></a>") + io.write("<a href="..link..(p-1).."><img SRC='"..html.html_escape(page_info.staticdir).."/tango/16x16/actions/go-previous.png' HEIGHT='16' WIDTH='16'></a>") pagelink(1) end local links = {(p-3)-(p-3)%10, p-2, p-1, p, p+1, p+2, (p+12)-(p+12)%10} @@ -237,7 +237,7 @@ function displaypagination(page_data, page_info) end if p<page_data.numpages then pagelink(page_data.numpages) - io.write("<a href="..link..(p+1).."><img SRC='<%= html.html_escape(page_info.staticdir) %>/tango/16x16/actions/go-next.png' HEIGHT='16' WIDTH='16'></a>") + io.write("<a href="..link..(p+1).."><img SRC='"..html.html_escape(page_info.staticdir).."/tango/16x16/actions/go-next.png' HEIGHT='16' WIDTH='16'></a>") end io.write("</div>") end |