From 31478abbe1742f7015a8a849e3623cafe377eb0c Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 12 Aug 2021 20:25:58 -0400 Subject: [PATCH] Skeleton code for the Global Email Aliases tab. To hell with the existing template engine. We are switching to the design pattern used in WebCit-NG and hopefully I won't have to rewrite this thing again. --- .../static/t/aide/siteconfig/tab_aliases.html | 30 +++++++++++++++++-- webcit/webcit.c | 6 ++-- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/webcit/static/t/aide/siteconfig/tab_aliases.html b/webcit/static/t/aide/siteconfig/tab_aliases.html index 1ea5d24cc..02ed6b9a1 100644 --- a/webcit/static/t/aide/siteconfig/tab_aliases.html +++ b/webcit/static/t/aide/siteconfig/tab_aliases.html @@ -1,7 +1,31 @@
+
- -FIXME +
+
-
+ + + diff --git a/webcit/webcit.c b/webcit/webcit.c index 703bc99c7..a7f2ddf7a 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -391,15 +391,15 @@ void end_ajax_response(void) { /* * Wraps a Citadel server command in an AJAX transaction. */ -void ajax_servcmd(void) -{ +void ajax_servcmd(void) { int Done = 0; StrBuf *Buf; char *junk; size_t len; - if (verbose) + if (verbose) { syslog(LOG_DEBUG, "ajax_servcmd() g_cmd=\"%s\"", bstr("g_cmd") ); + } begin_ajax_response(); Buf = NewStrBuf(); serv_puts(bstr("g_cmd")); -- 2.30.2