]> code.citadel.org Git - citadel.git/blobdiff - webcit/preferences.c
* print errormessages into templates if possible in <pre>
[citadel.git] / webcit / preferences.c
index 28aac7dfef72640d99d7a947c414e9d1de725504..8d3b4f8dd586c54035ab8fe79677cb9362d702e1 100644 (file)
@@ -690,7 +690,7 @@ void tmplput_CFG_Descr(StrBuf *Target, int nArgs, WCTemplateToken *Token, void *
 }
 
 
-void CfgZoneTempl(StrBuf *TemplBuffer, void *vContext)
+void CfgZoneTempl(StrBuf *TemplBuffer, void *vContext, WCTemplateToken *Token)
 {
        StrBuf *Zone = (StrBuf*) vContext;
 
@@ -737,7 +737,7 @@ InitModule_PREFERENCES
        
        RegisterNamespace("PREF:VALUE", 1, 1, tmplput_CFG_Value);
        RegisterNamespace("PREF:DESCR", 1, 1, tmplput_CFG_Descr);
-       RegisterIterator("PREF:ZONE", ZoneHash, NULL, CfgZoneTempl, NULL);
+       RegisterIterator("PREF:ZONE", 0, ZoneHash, NULL, CfgZoneTempl, NULL);
 
        RegisterConditional(HKEY("COND:PREF"), 4, ConditionalPreference);
 }