, editPageInterp
, loginInterp
, searchFieldInterp
+ , configurationInterp
]
(langName, name) : mergeTables m xs
mkLangList :: [(LanguageName, PageName)] -> BlockElement
- mkLangList xs = List Bullet (map mkLangLink xs)
+ mkLangList = List Bullet . map mkLangLink
mkLangLink :: (LanguageName, PageName) -> ListItem
mkLangLink (langName, name)
in
return (Input attrs)
}
+
+-- <input type="button"
+-- value="Configuration"
+-- class="configButton" />
+configurationInterp :: Interpreter
+configurationInterp
+ = InlineCommandInterpreter {
+ iciName = "configuration"
+ , iciInterpret
+ = \ _ _ ->
+ let attrs = [ ("type" , "button")
+ , ("value", "Configuration")
+ , ("class", "configButton")
+ ]
+ in
+ return (Input attrs)
+ }