]> WPIA git - gigi.git/commitdiff
Make mailadd to a template bases site
authorJanis Streib <janis@dogcraft.de>
Sat, 5 Jul 2014 21:48:00 +0000 (23:48 +0200)
committerFelix Dörre <felix@dogcraft.de>
Thu, 10 Jul 2014 22:35:14 +0000 (00:35 +0200)
src/org/cacert/gigi/pages/account/MailAdd.java
src/org/cacert/gigi/pages/account/mailAdd.templ [new file with mode: 0644]

index 07f43559ebaf1dafcfa97e89bc6a8e25370a4001..3d8ae6150c8e8205e4d0ed39878186c8563edf85 100644 (file)
@@ -17,7 +17,8 @@ public class MailAdd extends Page {
        @Override
        public void doGet(HttpServletRequest req, HttpServletResponse resp)
                        throws IOException {
-
+               getDefaultTemplate().output(resp.getWriter(), Page.getLanguage(req),
+                               null);
        }
 
 }
diff --git a/src/org/cacert/gigi/pages/account/mailAdd.templ b/src/org/cacert/gigi/pages/account/mailAdd.templ
new file mode 100644 (file)
index 0000000..94ee62c
--- /dev/null
@@ -0,0 +1,13 @@
+<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
+  <tbody><tr>
+    <td colspan="2" class="title"><?=_Add Email?></td>
+  </tr>
+
+  <tr>
+    <td class="DataTD" width="125"><?=_Email Addresses?> </td>
+    <td class="DataTD" width="125"><input type="text" name="newemail" value=""></td>
+  </tr>
+  <tr>
+    <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_I own or am authorised to control this email address?>"></td>
+  </tr>
+</tbody></table>
\ No newline at end of file