From d8680dcfc3bcb7b5b089fe42a31507336feb79b2 Mon Sep 17 00:00:00 2001 From: mayhew64 Date: Thu, 22 Feb 2007 01:09:43 +0000 Subject: [PATCH] Removed credit from New Lesson. Removed extra "." from start page git-svn-id: http://webgoat.googlecode.com/svn/trunk@115 4033779f-a91e-0410-96ef-6bf7bf53c507 --- webgoat/main/build.xml | 23 +++++++++++++++++-- .../org/owasp/webgoat/lessons/NewLesson.java | 9 -------- .../main/project/WebContent/WEB-INF/web.xml | 4 ++-- webgoat/main/project/WebContent/webgoat.jsp | 2 +- 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/ webgoat/main/build.xml b/ webgoat/main/build.xml index ffcb6a640..84fc9aed5 100644 --- a/ webgoat/main/build.xml +++ b/ webgoat/main/build.xml @@ -6,7 +6,7 @@ set to the current working directory. --> - + @@ -269,7 +269,7 @@ - @@ -288,6 +288,25 @@ + + + + + + + + + + + + + + + + diff --git a/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/NewLesson.java b/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/NewLesson.java index c966af97c..b82b7ef75 100644 --- a/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/NewLesson.java +++ b/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/NewLesson.java @@ -40,9 +40,6 @@ import org.owasp.webgoat.session.WebSession; */ public class NewLesson extends LessonAdapter { - private final static IMG MAC_LOGO = new IMG("images/logos/macadamian.gif").setAlt( - "Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0); - /** * Description of the Method * @@ -85,10 +82,4 @@ public class NewLesson extends LessonAdapter { return ("How to add a new WebGoat lesson"); } - - - public Element getCredits() - { - return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO); - } } diff --git a/ webgoat/main/project/WebContent/WEB-INF/web.xml b/ webgoat/main/project/WebContent/WEB-INF/web.xml index 979937b87..70f7cbfd1 100644 --- a/ webgoat/main/project/WebContent/WEB-INF/web.xml +++ b/ webgoat/main/project/WebContent/WEB-INF/web.xml @@ -177,7 +177,7 @@ conf /lessons/ConfManagement/config.jsp - +