diff --git a/web/lib/global_defs.ssjs b/web/lib/global_defs.ssjs index a35fdfd3e9de6d6b91337a2c2a66f7174967d7c1..b7287775fbef92b4fe90e684d4b5d8224750a1b1 100644 --- a/web/lib/global_defs.ssjs +++ b/web/lib/global_defs.ssjs @@ -20,7 +20,7 @@ var show_ip=true; /* If you want to remove QWk FTP downloads */ /* change this to false. Moved from leftnav_html.ssjs */ -var doQWK = false; +var doQWK = true; /* End of User Changable Variables */ diff --git a/web/lib/leftnav_html.ssjs b/web/lib/leftnav_html.ssjs index ff60fe73a3a57998b5178d06e4f9d15f6dee2965..81dc3228e508ba8589514e113690d2917f86dd09 100644 --- a/web/lib/leftnav_html.ssjs +++ b/web/lib/leftnav_html.ssjs @@ -15,7 +15,7 @@ host=host.slice(0,port); template.ftp_url += host; if(ftp_port!=21) - template.ftp_url += ":" + ftp_port; + template.ftp_url += ftp_port; template.ftpidx ="/00index.html?$" + new Date().valueOf().toString(36); template.ftpqwk = "/" + system.qwk_id.toLowerCase() + ".qwk"; } @@ -31,21 +31,16 @@ else if(user.number || (this.login!=undefined && system.matchuser("Guest"))) template.leftnav.push({html: '<li><a href="/msgs">Message Groups</a></li>' }); - + /* - + if( sub != 'mail' && (http_request.virtual_path == '/msgs/msg.ssjs' || http_request.virtual_path == '/msgs/msgs.ssjs' || http_request.virtual_path == '/msgs/post.ssjs' || http_request.virtual_path == '/msgs/reply.ssjs' || http_request.virtual_path == '/msgs/savemsg.ssjs' || http_request.virtual_path == '/msgs/subinfo.ssjs' || http_request.virtual_path == '/msgs/subs.ssjs')) { - template.leftnav.push({ html: '<span class="sectionSubLinks">' }); for(s in msg_area.grp_list) - template.leftnav.push({html: '<li class="sectionSubLinks"><a class="sectionSubLinks" href="/msgs/subs.ssjs?msg_grp=' + msg_area.grp_list[s].name + '">' + msg_area.grp_list[s].description + '</a></li>' }); - template.leftnav.push({ html: '</span>' }); + template.leftnav.push({html: '<li><a href="/msgs/subs.ssjs?msg_grp=' + msg_area.grp_list[s].name + '">' + msg_area.grp_list[s].description + '</a></li>' }); } - if( sub != 'mail' && (http_request.virtual_path == '/msgs/choosesubs.ssjs' || http_request.virtual_path == '/msgs/updatesubs.ssjs')) { - template.leftnav.push({ html: '<span class="sectionSubLinks">' }); for(s in msg_area.grp_list) - template.leftnav.push({html: '<li class="sectionSubLinks"><a class="sectionSubLinks" href="/msgs/choosesubs.ssjs?msg_grp=' + msg_area.grp_list[s].name + '">' + msg_area.grp_list[s].description + '</a></li>' }); - template.leftnav.push({ html: '</span>' }); + template.leftnav.push({html: '<li><a href="/msgs/choosesubs.ssjs?msg_grp=' + msg_area.grp_list[s].name + '">' + msg_area.grp_list[s].description + '</a></li>' }); } */ @@ -58,7 +53,7 @@ if(user.number==0 || user.security.restrictions&UFLAG_G) { } else if(doQWK) - template.leftnav.push({ html: '<li><a href="' + template.ftp_url + template.ftpqwk + '">Download QWK Packet</a></li>' }); + template.leftnav.push({ html: '<li><!--[if gte IE 7]><span style="margin-left: 39px;"><![endif]--><a href="' + template.ftp_url + template.ftpqwk + '">Download QWK</a><!--[if gte IE 7]></span><![endif]--></li>' }); // template.leftnav.push({ html: '</ul>' }); write_template("leftnav.inc"); \ No newline at end of file diff --git a/web/root/default.css b/web/root/default.css index d327bd7ba6abe40f80856e278aab813ba9124590..b2ca6c1bb3a0d55de65303c287a0a472022acfca 100644 --- a/web/root/default.css +++ b/web/root/default.css @@ -2,6 +2,7 @@ /* This is the default CSS file */ + body { font-size:12px;; font-family: Arial,sans-serif; @@ -85,7 +86,7 @@ td.ltn { text-align:left; width:1%; background-color: #cccccc; - background-image: url(/images/default/tnav_bg.gif); + background-image: url("/images/default/tnav_bg.gif"); } td.tn { @@ -223,7 +224,7 @@ a.tlink2:hover { list-style: none; } -#sectionLinks a:link, #sectionLinks a:visited { +#sectionLinks a:link { display: block; text-align: left; border-top: 1px solid #ffffff; @@ -240,6 +241,16 @@ a.tlink2:hover { text-decoration:none; } +#sectionLinks a:visited { + display: block; + border-top: 1px solid #ffffff; + border-left: 1px solid #ffffff; + border-bottom: 1px solid #000000; + border-right: 1px solid #000000; + padding: 3px 3px 3px 10px; + background-image: url("/images/default/bg_nav.jpg"); +} + html>body #sectionLinks a:link, #sectionLinks a:visited { margin-left: -39px; } @@ -266,8 +277,7 @@ html>body #sectionLinks a:link, #sectionLinks a:visited { border-left: 1px solid #ffffff; border-bottom: 1px solid #000000; border-right: 1px solid #000000; - font-weight: bold; - font-size:smaller; + font-size:10px;; padding: 3px 30px 3px 10px; color: #7788ff; text-decoration: none; diff --git a/web/templates/default/header.inc b/web/templates/default/header.inc index d21c28831e8e42b964e911add16ea311baa680e4..e8dcd2d15d44bb60ef92d438b9b2780033fa87ef 100644 --- a/web/templates/default/header.inc +++ b/web/templates/default/header.inc @@ -4,16 +4,32 @@ <head> <title>%%title%%</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + @@JS:if(http_request.virtual_path=="/nodelist.ssjs")'<meta http-equiv="refresh" content="30" />';@@ <link rel="stylesheet" href="@@Theme_CSS_File@@" type="text/css" /> </head> <body> +<!--[if gte IE 7]> +<style type="text/css"> +#sectionLinks a:link, #sectionLinks a:visited { + margin-left: 0px; + margin-right: 13px; +} +#sectionLinks a:active { + margin-left: -39px; + margin-right: 13px; +} +</style> +<![endif]--> + <!-- Remove comment tages for text System Name below --> <!-- <h1 id="siteName">@@system:name@@</h1> --> <!-- Comment out or delete below <span> for no logo display --> + + @@name_logo@@ <div id="Greeting"> diff --git a/web/templates/default/leftnav.inc b/web/templates/default/leftnav.inc index 6b1855fa59a7845f43ac6c45ea04e42e44893665..4c5b773a26e62f5a9ea0c25155f92867d4dc834d 100644 --- a/web/templates/default/leftnav.inc +++ b/web/templates/default/leftnav.inc @@ -12,7 +12,7 @@ <td valign="top" width="1%"> <div id="pageNav"> <div id="sectionLinks"> - <ul><li><a href="/nodelist.ssjs">Who's Online</a></li><<REPEAT leftnav>>@@leftnav:html@@<<END REPEAT leftnav>><li><a href="@@ftp_url@@%%ftpidx%%">File Libraries</a></li></ul> + <ul><li><a href="/nodelist.ssjs">Who's Online</a></li><<REPEAT leftnav>>@@leftnav:html@@<<END REPEAT leftnav>><li><!--[if gte IE 7]><span style="margin-left: 39px;"><![endif]--><a href="@@ftp_url@@%%ftpidx%%">File Libraries</a><!--[if gte IE 7]></span><![endif]--></li></ul> </div> <!-- start Nodelisting -->