Skip to content
Snippets Groups Projects
Commit 7cecc5fd authored by deuce's avatar deuce
Browse files

Use next/prev html from msgsconfig.ssjs

parent 9266535d
No related branches found
No related tags found
No related merge requests found
......@@ -67,11 +67,11 @@ if(total_pages>1) {
}
if(offset+max_messages < msgarray.length) {
template.pagelinks+='<a href="'+path+'?msg_sub='+encodeURIComponent(sub)+'&amp;offset='+(offset+max_messages)+'">NEXT</a>';
template.pagelinks+='<a href="'+path+'?msg_sub='+encodeURIComponent(sub)+'&amp;offset='+(offset+max_messages)+'">'+next_page_html+'</a>';
}
if(offset>0) {
template.pagelinks='<a href="'+path+'?msg_sub='+encodeURIComponent(sub)+'&amp;offset='+(offset-max_messages)+'">PREV</a> '+template.pagelinks;
template.pagelinks='<a href="'+path+'?msg_sub='+encodeURIComponent(sub)+'&amp;offset='+(offset-max_messages)+'">'+prev_page_html+'</a> '+template.pagelinks;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment