* one step closer to adding comments

* generic Doc update function
* redirect /<commentID> to appropriate full link
This commit is contained in:
"Vincent Ambo ext:(%22) 2012-03-07 12:59:44 +01:00
parent cd3a5f2cb5
commit bc25b9d1e0
3 changed files with 46 additions and 3 deletions

View file

@ -112,6 +112,10 @@ cTimeFormat :: BlogLang -> String --formatTime expects a String
cTimeFormat DE = "[Am %d.%m.%y um %H:%M Uhr]"
cTimeFormat EN = "[On %D at %H:%M]"
cSend :: BlogLang -> Text
cSend DE = "Absenden"
cSend EN = "Submit"
-- right side text (this is inserted AS IS. Escape HTML!)
rightText :: BlogLang -> Text
rightText DE = "English version <a href=\"/en\" style=\"color: black;\">available here</a>."