Mercurial Hosting > nabble
comparison src/global/web/Index.java @ 47:72765b66e2c3
remove mailing list code
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 18 Jun 2021 17:44:24 -0600 |
parents | 5ea557eece1f |
children | 56accc959f8c |
comparison
equal
deleted
inserted
replaced
46:7ac7f55e16cf | 47:72765b66e2c3 |
---|---|
4 import fschmidt.util.servlet.JtpContext; | 4 import fschmidt.util.servlet.JtpContext; |
5 import fschmidt.util.servlet.ServletUtils; | 5 import fschmidt.util.servlet.ServletUtils; |
6 import global.HtmlGlobalUtils; | 6 import global.HtmlGlobalUtils; |
7 import global.Site; | 7 import global.Site; |
8 import nabble.view.web.more.ForumStart; | 8 import nabble.view.web.more.ForumStart; |
9 import nabble.view.web.more.MailingListRequest; | |
10 import org.apache.lucene.index.Term; | 9 import org.apache.lucene.index.Term; |
11 import org.apache.lucene.search.IndexSearcher; | 10 import org.apache.lucene.search.IndexSearcher; |
12 import org.apache.lucene.search.TermQuery; | 11 import org.apache.lucene.search.TermQuery; |
13 import org.apache.lucene.search.Query; | 12 import org.apache.lucene.search.Query; |
14 import org.apache.lucene.search.ScoreDoc; | 13 import org.apache.lucene.search.ScoreDoc; |
41 jtpContext.setEtag(request,response,"x"); | 40 jtpContext.setEtag(request,response,"x"); |
42 PrintWriter out = response.getWriter(); | 41 PrintWriter out = response.getWriter(); |
43 | 42 |
44 out.print( "\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n <head>\r\n " ); | 43 out.print( "\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n <head>\r\n " ); |
45 HtmlGlobalUtils.head(request, response, "Free Forum • Embeddable Web Apps"); | 44 HtmlGlobalUtils.head(request, response, "Free Forum • Embeddable Web Apps"); |
46 out.print( "\r\n <link rel=\"canonical\" href=\"https://www.nabble.com/\">\r\n <meta name=\"description\" content=\"Create a free forum online in less than one minute. All forums are embeddable and fully customizable with scripting language. Choose a unique style and build a discussion board for your community.\" />\r\n <meta name=\"keywords\" content=\"free forum, free mailing list, mailing list archive, free photo gallery, free newspaper, free blog, best forum, free message board, message board hosting, bulletin board, customizable, private forum, phpBB, vBulletin, hosted, communities\">\r\n <meta name=\"google-site-verification\" content=\"SUurO4gVJ46SZyzANkH4pJBGH8q-6Bv5P-ZgRBH8Cck\" />\r\n <style>\r\n div[actions] i.fa.fa-chevron-right {\r\n color: #DDD;\r\n float: right;\r\n }\r\n a[fixed] {\r\n margin-top: -3em;\r\n position: absolute;\r\n right: 1em;\r\n text-decoration: none;\r\n background-color: #555;\r\n border-radius: .5em;\r\n padding: .5em;\r\n color: #D0D0D0;\r\n text-shadow: 0px 1px 1px black;\r\n border-bottom: 1px dotted #757474;\r\n }\r\n @media (max-width: 950px) {\r\n div[footer] {\r\n padding-bottom: 5em;\r\n }\r\n }\r\n div[note] {\r\n margin-top: 1em;\r\n text-align: right;\r\n }\r\n </style>\r\n <script async=\"true\" src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\r\n <script>\r\n (adsbygoogle = window.adsbygoogle || []).push({\r\n google_ad_client: \"ca-pub-6750305871516672\",\r\n enable_page_level_ads: true\r\n });\r\n </script>\r\n </head>\r\n <body lato>\r\n " ); | 45 out.print( "\r\n <link rel=\"canonical\" href=\"https://www.nabble.com/\">\r\n <meta name=\"description\" content=\"Create a free forum online in less than one minute. All forums are embeddable and fully customizable with scripting language. Choose a unique style and build a discussion board for your community.\" />\r\n <meta name=\"keywords\" content=\"free forum, free photo gallery, free newspaper, free blog, best forum, free message board, message board hosting, bulletin board, customizable, private forum, phpBB, vBulletin, hosted, communities\">\r\n <meta name=\"google-site-verification\" content=\"SUurO4gVJ46SZyzANkH4pJBGH8q-6Bv5P-ZgRBH8Cck\" />\r\n <style>\r\n div[actions] i.fa.fa-chevron-right {\r\n color: #DDD;\r\n float: right;\r\n }\r\n a[fixed] {\r\n margin-top: -3em;\r\n position: absolute;\r\n right: 1em;\r\n text-decoration: none;\r\n background-color: #555;\r\n border-radius: .5em;\r\n padding: .5em;\r\n color: #D0D0D0;\r\n text-shadow: 0px 1px 1px black;\r\n border-bottom: 1px dotted #757474;\r\n }\r\n @media (max-width: 950px) {\r\n div[footer] {\r\n padding-bottom: 5em;\r\n }\r\n }\r\n div[note] {\r\n margin-top: 1em;\r\n text-align: right;\r\n }\r\n </style>\r\n <script async=\"true\" src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\r\n <script>\r\n (adsbygoogle = window.adsbygoogle || []).push({\r\n google_ad_client: \"ca-pub-6750305871516672\",\r\n enable_page_level_ads: true\r\n });\r\n </script>\r\n </head>\r\n <body lato>\r\n " ); |
47 HtmlGlobalUtils.header(request,response); | 46 HtmlGlobalUtils.header(request,response); |
48 out.print( "\r\n <div full>\r\n <div content center>\r\n <span style=\"display:inline-block\">\r\n <div col1 center>\r\n <h1 oswald>Free Forum Hosting & Online Web Apps!</h1>\r\n <h2 lato gray>Clean Look <span light>•</span> Embeddable <span light>•</span> Customizable</h2>\r\n <img src=\"/assets/images/home.png\" alt=\"Free forum hosting and online embeddable apps\"/>\r\n </div>\r\n <div col2 actions>\r\n <ul>\r\n <li><a href=\"" ); | 47 out.print( "\r\n <div full>\r\n <div content center>\r\n <span style=\"display:inline-block\">\r\n <div col1 center>\r\n <h1 oswald>Free Forum Hosting & Online Web Apps!</h1>\r\n <h2 lato gray>Clean Look <span light>•</span> Embeddable <span light>•</span> Customizable</h2>\r\n <img src=\"/assets/images/home.png\" alt=\"Free forum hosting and online embeddable apps\"/>\r\n </div>\r\n <div col2 actions>\r\n <ul>\r\n <li><a href=\"" ); |
49 out.print( (HtmlGlobalUtils.nabbleContextUrl) ); | 48 out.print( (HtmlGlobalUtils.nabbleContextUrl) ); |
50 out.print( (ForumStart.path("forum")) ); | 49 out.print( (ForumStart.path("forum")) ); |
51 out.print( "\" title=\"Click to create a free forum\">Create Free Forum</a> <i class=\"fa fa-chevron-right\"></i></li>\r\n <li><a href=\"" ); | 50 out.print( "\" title=\"Click to create a free forum\">Create Free Forum</a> <i class=\"fa fa-chevron-right\"></i></li>\r\n <li><a href=\"" ); |
52 out.print( (HtmlGlobalUtils.nabbleContextUrl) ); | |
53 out.print( (MailingListRequest.path()) ); | |
54 out.print( "\" title=\"Click to archive a mailing list\">Archive Mailing List</a> <i class=\"fa fa-chevron-right\"></i></li>\r\n <li><a href=\"" ); | |
55 out.print( (HtmlGlobalUtils.nabbleContextUrl) ); | 51 out.print( (HtmlGlobalUtils.nabbleContextUrl) ); |
56 out.print( (ForumStart.path("gallery")) ); | 52 out.print( (ForumStart.path("gallery")) ); |
57 out.print( "\" title=\"Click to create a free photo gallery\">Create Photo Gallery</a> <i class=\"fa fa-chevron-right\"></i></li>\r\n <li><a href=\"" ); | 53 out.print( "\" title=\"Click to create a free photo gallery\">Create Photo Gallery</a> <i class=\"fa fa-chevron-right\"></i></li>\r\n <li><a href=\"" ); |
58 out.print( (HtmlGlobalUtils.nabbleContextUrl) ); | 54 out.print( (HtmlGlobalUtils.nabbleContextUrl) ); |
59 out.print( (ForumStart.path("newspaper")) ); | 55 out.print( (ForumStart.path("newspaper")) ); |