Skip to content
Snippets Groups Projects
Commit 1cb26d5a authored by runemaster's avatar runemaster
Browse files

Not everyone wants the QWK link, so made a bool that can be set to false and...

Not everyone wants the QWK link, so made a bool that can be set to false and the Download QWK Packet link is disabled.
parent 4f9fcb1a
Branches
Tags
No related merge requests found
/* $Id$ */ /* $Id$ */
/* If you want to remove QWk FTP downloads */
/* change this to false */
var doQWK = true;
/* FTP link */ /* FTP link */
if(user.number || system.matchuser("Guest")) { if(user.number || system.matchuser("Guest")) {
...@@ -51,6 +56,7 @@ else ...@@ -51,6 +56,7 @@ else
if(user.number==0 || user.security.restrictions&UFLAG_G) { if(user.number==0 || user.security.restrictions&UFLAG_G) {
} }
else else
if(doQWK)
template.leftnav.push({ html: '<a href="' + template.ftp_url + template.ftpqwk + '">Download QWK Packet</a>' }); template.leftnav.push({ html: '<a href="' + template.ftp_url + template.ftpqwk + '">Download QWK Packet</a>' });
write_template("leftnav.inc"); write_template("leftnav.inc");
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment