Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 9dd21a7f authored by runemaster's avatar runemaster
Browse files

Previous/Next message button logic change.

parent ca0a0b0d
......@@ -111,14 +111,14 @@ if(template.hdr.thread_first!=0) {
}
}
if(tmp!=undefined)
template.nextlink='<a href="msg.ssjs?msg_sub='+sub+'&amp;message='+tmp+'">'+next_msg_html+'</a>';
template.prevlink='<a href="msg.ssjs?msg_sub='+sub+'&amp;message='+tmp+'">'+prev_msg_html+'</a>';
else
template.nextlink=no_next_msg_html;
template.prevlink=no_prev_msg_html;
tmp=find_np_message(template.idx.offset,false);
if(tmp!=undefined)
template.prevlink='<a href="msg.ssjs?msg_sub='+sub+'&amp;message='+tmp+'">'+prev_msg_html+'</a>';
template.nextlink='<a href="msg.ssjs?msg_sub='+sub+'&amp;message='+tmp+'">'+next_msg_html+'</a>';
else
template.prevlink=no_prev_msg_html;
template.nextlink=no_next_msg_html;
write_template("header.inc");
load("../web/lib/topnav_html.ssjs");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment