package com.bloatit.web.pages.master;

import com.bloatit.framework.webserver.Context;
import com.bloatit.framework.webserver.components.HtmlDiv;

public class Footer extends HtmlDiv {

    protected Footer() {
        super();
        setId("footer");
        addText(Context.tr("This website is under GNU Affero Public Licence."));
    }

}

@@ -138,16 +138,255 @@
 HtmlDiv;
+%0Aimport com.bloatit.framework.webserver.url.PageNotFoundUrl;%0Aimport com.bloatit.web.url.CreateDemandPageUrl;%0Aimport com.bloatit.web.url.FileUploadPageUrl;%0Aimport com.bloatit.web.url.IndexPageUrl;%0Aimport com.bloatit.web.url.SpecialsPageUrl;
 %0A%0Apublic
@@ -485,24 +485,26 @@
 oter%22);%0A
+%0A%0A
         
 addText(
@@ -495,16 +495,1070 @@
         
+HtmlDiv linkBlock = new HtmlDiv(%22link_block%22, %22link_block%22); %7B%0A            linkBlock.add(new HtmlDiv(%22footer_link%22).add(new IndexPageUrl().getHtmlLink(Context.tr(%22Home page%22))));%0A            linkBlock.add(new HtmlDiv(%22footer_link%22).add(new SpecialsPageUrl().getHtmlLink(Context.tr(%22All pages%22))));%0A            linkBlock.add(new HtmlDiv(%22footer_link%22).add(new FileUploadPageUrl().getHtmlLink(Context.tr(%22Upload file%22))));%0A            linkBlock.add(new HtmlDiv(%22footer_link%22).add(new CreateDemandPageUrl().getHtmlLink(Context.tr(%22Create a demand%22))));%0A            linkBlock.add(new HtmlDiv(%22footer_link%22).add(new PageNotFoundUrl().getHtmlLink(Context.tr(%22Add a project%22))));%0A            linkBlock.add(new HtmlDiv(%22footer_link%22).add(new PageNotFoundUrl().getHtmlLink(Context.tr(%22Signal a bug%22))));%0A            linkBlock.add(new HtmlDiv(%22footer_link%22).add(new PageNotFoundUrl().getHtmlLink(Context.tr(%22Contacts%22))));%0A%0A        %7D%0A        add(linkBlock);%0A%0A        HtmlDiv licenceBlock = new HtmlDiv(%22licence_block%22, %22licence_block%22); %7B%0A            licenceBlock.
 addText(
@@ -1582,16 +1582,43 @@
 website 
+use Bloatit framework, and 
 is under
@@ -1645,21 +1645,58 @@
 icence.%22));%0A
+        %7D%0A        add(licenceBlock);%0A
     %7D%0A%0A%7D%0A

add links in the footer