From 0f72e15a12dcc90e3dbfc01ff35c0e910a8d419e Mon Sep 17 00:00:00 2001 From: Thierry Pasqualier Date: Fri, 10 Aug 2007 20:41:22 +0000 Subject: [PATCH] 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. --- webcit/auth.c | 23 +++++++------- webcit/calendar.c | 15 +++++---- webcit/downloads.c | 13 ++++---- webcit/event.c | 13 ++++---- webcit/floors.c | 13 ++++---- webcit/graphics.c | 13 ++++---- webcit/iconbar.c | 10 +++--- webcit/inetconf.c | 10 +++--- webcit/mainmenu.c | 18 +++++------ webcit/messages.c | 10 +++--- webcit/netconf.c | 40 ++++++++++++------------ webcit/paging.c | 15 +++++---- webcit/preferences.c | 15 ++++----- webcit/roomops.c | 66 +++++++++++++++++++--------------------- webcit/setup_wizard.c | 12 +++----- webcit/sieve.c | 24 +++++++-------- webcit/siteconfig.c | 13 ++++---- webcit/smtpqueue.c | 10 +++--- webcit/static/webcit.css | 48 +++-------------------------- webcit/summary.c | 6 ++-- webcit/useredit.c | 22 +++++++------- webcit/userlist.c | 28 ++++++++--------- webcit/vcard_edit.c | 14 ++++----- webcit/who.c | 18 +++++------ 24 files changed, 206 insertions(+), 263 deletions(-) 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("