From e9ee0aba5b4b5161f28151a4d9772f7e87616f61 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Sun, 8 May 2016 17:41:55 +0200 Subject: [PATCH] Comment out about menu, policy list, sponsor links and footer --- src/org/cacert/gigi/Gigi.java | 13 ------------- src/org/cacert/gigi/Gigi.templ | 9 +++++---- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/src/org/cacert/gigi/Gigi.java b/src/org/cacert/gigi/Gigi.java index 36afac6f..0ee1d1ce 100644 --- a/src/org/cacert/gigi/Gigi.java +++ b/src/org/cacert/gigi/Gigi.java @@ -38,7 +38,6 @@ import org.cacert.gigi.pages.LogoutPage; import org.cacert.gigi.pages.MainPage; import org.cacert.gigi.pages.Page; import org.cacert.gigi.pages.PasswordResetPage; -import org.cacert.gigi.pages.PolicyIndex; import org.cacert.gigi.pages.RootCertPage; import org.cacert.gigi.pages.StaticPage; import org.cacert.gigi.pages.TestSecure; @@ -177,18 +176,6 @@ public final class Gigi extends HttpServlet { } baseTemplate = new Template(Gigi.class.getResource("Gigi.templ")); rootMenu = new MenuCollector(); - Menu about = new Menu("About SomeCA.org"); - categories.add(about); - - about.addItem(new SimpleMenuItem("//blog.cacert.org/", "SomeCA News")); - about.addItem(new SimpleMenuItem("//wiki.cacert.org/", "Wiki Documentation")); - putPage(PolicyIndex.DEFAULT_PATH, new PolicyIndex(), "About SomeCA.org"); - about.addItem(new SimpleMenuItem("//wiki.cacert.org/FAQ/Privileges", "Point System")); - about.addItem(new SimpleMenuItem("//bugs.cacert.org/", "Bug Database")); - about.addItem(new SimpleMenuItem("//wiki.cacert.org/Board", "SomeCA Board")); - about.addItem(new SimpleMenuItem("//lists.cacert.org/wws", "Mailing Lists")); - about.addItem(new SimpleMenuItem("//blog.SomeCA.org/feed", "RSS News Feed")); - about.addItem(new SimpleMenuItem("//wiki.cacert.org/Impress", "Impress")); Menu languages = new Menu("Translations"); for (Locale l : Language.getSupportedLocales()) { diff --git a/src/org/cacert/gigi/Gigi.templ b/src/org/cacert/gigi/Gigi.templ index 423be491..bedc99e1 100644 --- a/src/org/cacert/gigi/Gigi.templ +++ b/src/org/cacert/gigi/Gigi.templ @@ -2,7 +2,7 @@ - + <?=$title?> @@ -49,13 +49,14 @@
- | + Page info + | + ©2016- SomeCA
-- 2.39.2