summaryrefslogtreecommitdiff
path: root/tpls.go
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-08-30 11:46:22 +0200
committerKevin Chabowski <kevin@kch42.de>2013-08-30 11:46:22 +0200
commit5c0a901b1b3e522ed523e966feb9901b8c7e01ff (patch)
tree736a57beb2a341005ec230c74a91d0613ed4d93b /tpls.go
parent8e7883db8b21fdb2190bfcaafa7f3ee6788eb290 (diff)
downloadmailremind-5c0a901b1b3e522ed523e966feb9901b8c7e01ff.tar.gz
mailremind-5c0a901b1b3e522ed523e966feb9901b8c7e01ff.tar.bz2
mailremind-5c0a901b1b3e522ed523e966feb9901b8c7e01ff.zip
Login implemented
Diffstat (limited to 'tpls.go')
-rw-r--r--tpls.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tpls.go b/tpls.go
index 846bdda..10f4322 100644
--- a/tpls.go
+++ b/tpls.go
@@ -19,6 +19,7 @@ func loadTpl(tplpath, name string) *template.Template {
var (
tplRegister *template.Template
tplMsg *template.Template
+ tplLogin *template.Template
)
func initTpls() {
@@ -29,6 +30,7 @@ func initTpls() {
tplRegister = loadTpl(tplpath, "register")
tplMsg = loadTpl(tplpath, "msg")
+ tplLogin = loadTpl(tplpath, "login")
}
type msgTpldata struct {