From: Thierry Pasqualier Date: Fri, 10 Aug 2007 20:41:22 +0000 (+0000) Subject: use the same way to display all banners and services contents X-Git-Tag: v7.86~3158 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=0f72e15a12dcc90e3dbfc01ff35c0e910a8d419e use the same way to display all banners and services contents we will use only one css classe to display the content of screens which are not rooms : Summary, Who's online ? Advanced, Configuration, etc. --- diff --git a/webcit/auth.c b/webcit/auth.c index ecde8065b..0a64641a2 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -330,11 +330,13 @@ void validate(void) int a; output_headers(1, 1, 2, 0, 0, 0); - wprintf("
\n" - "
" - ""); + wprintf("
\n"); + wprintf("

"); wprintf(_("Validate new users")); - wprintf("

\n
\n
\n"); + wprintf(""); + wprintf("
\n"); + + wprintf("
\n"); /** If the user just submitted a validation, process it... */ safestrncpy(buf, bstr("user"), sizeof buf); @@ -462,14 +464,13 @@ void display_changepw(void) char buf[SIZ]; output_headers(1, 1, 2, 0, 0, 0); - wprintf("
\n" - "
" - ""); + wprintf("
\n"); + wprintf("

"); wprintf(_("Change your password")); - wprintf("" - "

\n" - "
\n
\n" - ); + wprintf(""); + wprintf("
"); + + wprintf("
\n"); if (!IsEmptyStr(WC->ImportantMessage)) { do_template("beginbox_nt"); diff --git a/webcit/calendar.c b/webcit/calendar.c index d37721a2f..ed5bb6dca 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -498,15 +498,14 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum) { } output_headers(1, 1, 2, 0, 0, 0); - wprintf("
\n" - "" - "" - "
"); + wprintf("
\n"); + wprintf(""); + wprintf("

"); wprintf(_("Edit task")); - wprintf("" - "

\n" - "
\n
\n" - ); + wprintf(""); + wprintf("
\n"); + + wprintf("
\n"); wprintf("
" "
"); diff --git a/webcit/downloads.c b/webcit/downloads.c index d29e7fc7e..f500fbc84 100644 --- a/webcit/downloads.c +++ b/webcit/downloads.c @@ -13,15 +13,14 @@ void display_room_directory(void) char title[256]; output_headers(1, 1, 2, 0, 0, 0); - wprintf("
\n" - "
" - ""); + wprintf("
\n"); + wprintf("

"); snprintf(title, sizeof title, _("Files available for download in %s"), WC->wc_roomname); escputs(title); - wprintf("" - "

\n" - "
\n
\n" - ); + wprintf(""); + wprintf("
\n"); + + wprintf("
\n"); wprintf("
" "
\n"); diff --git a/webcit/event.c b/webcit/event.c index 4aa7f9ef1..cbcd7fa5a 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -70,14 +70,13 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum) /** Begin output */ output_headers(1, 1, 2, 0, 0, 0); - wprintf("
\n" - "
" - ""); + wprintf("
\n"); + wprintf("

"); wprintf(_("Add or edit an event")); - wprintf("" - "

\n" - "
\n
\n" - ); + wprintf(""); + wprintf("
\n"); + + wprintf("
\n"); wprintf("