]> WPIA git - gigi.git/commitdiff
upd: added links to imprint and data privacy in footer line
authorINOPIAE <m.maengel@inopiae.de>
Tue, 21 Feb 2017 21:27:28 +0000 (22:27 +0100)
committerFelix Dörre <felix@dogcraft.de>
Sat, 25 Feb 2017 19:40:05 +0000 (20:40 +0100)
fixes issue #120

Change-Id: I3d35c68ec3e4c714a492d3ad77382b5bf1919c3f

links.txt
src/club/wpia/gigi/Gigi.java
src/club/wpia/gigi/Gigi.templ

index e4120757502dae5feaac86e96f4c87738d73cb62..51d8ab6cc45e388843e2bf2cacd2cb1bdc6a1dbe 100644 (file)
--- a/links.txt
+++ b/links.txt
@@ -13,3 +13,5 @@
 /ttp/country
 /acceptableDocuments
 /blog
+/imprint
+/dataPrivacy
index b02a1a8991d96d4ec39cf56151713bf80d128cfd..f4e3f2ba6f8b5b022047c987467c4601383bd3f7 100644 (file)
@@ -437,6 +437,7 @@ public final class Gigi extends HttpServlet {
             } else {
                 req.setAttribute(LINK_HOST, ServerConstants.getHostNamePort(Host.LINK));
             }
+            vars.put(Gigi.LINK_HOST, req.getAttribute(Gigi.LINK_HOST));
             if (currentAuthContext != null) {
                 // TODO maybe move this information into the AuthContext object
                 vars.put("loginMethod", req.getSession().getAttribute(LOGIN_METHOD));
index 693514d0e87fb06abaa3a08cf096f7d244467c12..8945b1eada81b33cb37603f495d8561f515d4e1e 100644 (file)
        </div>
        <hr/>
                <div id="siteInfo">
-            Page info
-                       ©2016-<?=$year?> <?=_${appName}?> 
+            Page info | 
+                       ©2016-<?=$year?> <?=_${appName}?> <?=_powered by?>  <?=_!'<a href="//wpia.club" target="_blank">'WPIA (World Privacy and Identity Association)!'</a>'.?> |
+                       <?=_!(/imprint)Imprint!'</a>'?> |
+                       <?=_!(/dataPrivacy)Data privacy!'</a>'?>
                </div>
 
 </body>