install-wwwdata:
+ test -d $(DESTDIR)$(WWWDIR)/static.local || mkdir -p $(DESTDIR)$(WWWDIR)/static.local
test -d $(DESTDIR)$(WWWDIR)/static || mkdir -p $(DESTDIR)$(WWWDIR)/static
for i in `find static -type f | grep -v .svn`; do \
$(INSTALL) $$i $(DESTDIR)$(WWWDIR)/$$i; \
done
install-locale:
- test -d $(DESTDIR)$(LOCALEDIR)/local || mkdir -p $(DESTDIR)$(LOCALEDIR)/local
for i in `find locale -type d | grep -v .svn` \
; do \
test -d $(DESTDIR)$(LOCALEDIR)/$$i || mkdir -p $(DESTDIR)$(LOCALEDIR)/$$i; \
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"auth_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Validate new users"));
wprintf("</SPAN></TD></TR></TABLE>\n</div>\n<div id=\"content\">\n");
}
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"auth_validate\"><tr><td>\n");
wprintf("<center>");
safestrncpy(user, &buf[4], sizeof user);
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"auth_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Change your password"));
wprintf("</SPAN>"
}
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"auth_validate\"><tr><td>\n");
wprintf("<CENTER><br />");
serv_puts("MESG changepw");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ wprintf("<TABLE class=\"calendar_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Respond to meeting request"));
wprintf("</SPAN>"
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ wprintf("<TABLE class=\"calendar_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Update your calendar with this RSVP"));
wprintf("</SPAN>"
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR>"
+ "<TABLE class=\"calendar_banner\"><TR>"
"<TD><img src=\"static/taskmanag_48x.gif\"></TD>"
"<td><SPAN CLASS=\"titlebar\">");
wprintf(_("Edit task"));
);
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>");
+ "<table class=\"calendar_background\"><tr><td>");
wprintf("<FORM METHOD=\"POST\" action=\"save_task\">\n");
wprintf("<INPUT TYPE=\"hidden\" NAME=\"msgnum\" VALUE=\"%ld\">\n",
icalproperty *p;
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 cellspacing=0 width=100%% bgcolor=\"#FFFFFF\">\n<tr>\n"
+ "<table class=\"calendar_view_background\">\n<tr>\n"
"<th>");
wprintf(_("Name of task"));
wprintf("</th><th>");
/** Begin output */
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"event_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Add or edit an event"));
wprintf("</SPAN>"
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"event_background\"><tr><td>\n");
/************************************************************
* Uncomment this to see the UID in calendar events for debugging
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"floors_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Add/change/delete floors"));
wprintf("</SPAN>"
serv_printf("LFLR");
serv_getln(buf, sizeof buf);
if (buf[0] != '1') {
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#770000\"><TR><TD>");
+ wprintf("<TABLE class=\"floors_config\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">");
wprintf(_("Error"));
wprintf("</SPAN>\n");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"graphics_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Image upload"));
wprintf("</SPAN>"
);
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"graphics_background\"><tr><td>\n");
wprintf("<CENTER>\n");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"iconbar_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Customize the icon bar"));
wprintf("</SPAN>"
);
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>");
+ "<table class=\"iconbar_background\"><tr><td>");
wprintf("<FORM METHOD=\"POST\" action=\"commit_iconbar\">\n");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"inetconf_banner\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">");
wprintf(_("Internet configuration"));
wprintf("</SPAN>\n");
strcpy(subtype, bstr("subtype"));
wprintf("<CENTER>"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"listsub_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("List subscribe/unsubscribe"));
wprintf("</SPAN></TD></TR></TABLE><br />\n");
{
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"mainmenu_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("System Administration Menu"));
wprintf("</SPAN>"
{
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"mainmenu_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Enter a server command"));
wprintf("</SPAN></TD></TR></TABLE>\n"
);
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"mainmenu_background\"><tr><td>\n");
wprintf("<CENTER>");
wprintf(_("This screen allows you to enter Citadel server commands which are "
wprintf("</tr></table>\n");
/** Begin body */
- wprintf("<table border=0 width=100%% bgcolor=\"#FFFFFF\" "
+ wprintf("<table class=\"messages_background\" "
"cellpadding=1 cellspacing=0><tr><td>");
/**
wprintf("</div>\n");
wprintf("<div id=\"content\">\n"
"<div class=\"fix_scrollbar_bug\">"
- "<table width=100%% border=0 bgcolor=\"#ffffff\"><tr><td>");
+ "<table class=\"messages_background\"><tr><td>");
/** Now check our actual recipients if there are any */
if (recipient_required) {
{
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"netconf_banner\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">");
wprintf(_("Add a new node"));
wprintf("</SPAN>");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"netconf_banner\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">");
wprintf(_("Edit node configuration for "));
escputs(node);
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"netconf_banner\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">");
wprintf(_("Network configuration"));
wprintf("</SPAN>\n");
wprintf("</A><br />\n");
wprintf("</CENTER>");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"netconf_banner\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">");
wprintf(_("Currently configured nodes"));
wprintf("</SPAN>\n");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"netconf_banner\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">");
wprintf(_("Confirm delete"));
wprintf("</SPAN>\n");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"paging_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Send instant message"));
wprintf("</SPAN>"
);
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"paging_background\"><tr><td>\n");
wprintf(_("Send an instant message to: "));
escputs(recp);
int i;
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"preferences_banner\"><TR><TD>");
wprintf("<img src=\"static/advanpage2_48x.gif\" ALT=\" \" ALIGN=MIDDLE>");
wprintf("<SPAN CLASS=\"titlebar\"> ");
wprintf(_("Preferences and settings"));
"<div id=\"content\">\n");
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"preferences_background\"><tr><td>\n");
/** begin form */
wprintf("<center>\n"
"<TD> </TD>\n");
if (!strcmp(tab, "admin")) {
- wprintf("<TD BGCOLOR=\"#FFFFFF\"><SPAN CLASS=\"tablabel\">");
+ wprintf("<TD class=\"roomops_cell_label\"><SPAN CLASS=\"tablabel\">");
}
else {
- wprintf("<TD BGCOLOR=\"#CCCCCC\"><a href=\"display_editroom&tab=admin\">");
+ wprintf("<TD class=\"roomops_cell_edit\"><a href=\"display_editroom&tab=admin\">");
}
wprintf(_("Administration"));
if (!strcmp(tab, "admin")) {
wprintf("<TD> </TD>\n");
if (!strcmp(tab, "config")) {
- wprintf("<TD BGCOLOR=\"#FFFFFF\"><SPAN CLASS=\"tablabel\">");
+ wprintf("<TD class=\"roomops_cell_label\"><SPAN CLASS=\"tablabel\">");
}
else {
- wprintf("<TD BGCOLOR=\"#CCCCCC\"><a href=\"display_editroom&tab=config\">");
+ wprintf("<TD class=\"roomops_cell_edit\"><a href=\"display_editroom&tab=config\">");
}
wprintf(_("Configuration"));
if (!strcmp(tab, "config")) {
wprintf("<TD> </TD>\n");
if (!strcmp(tab, "expire")) {
- wprintf("<TD BGCOLOR=\"#FFFFFF\"><SPAN CLASS=\"tablabel\">");
+ wprintf("<TD class=\"roomops_cell_label\"><SPAN CLASS=\"tablabel\">");
}
else {
- wprintf("<TD BGCOLOR=\"#CCCCCC\"><a href=\"display_editroom&tab=expire\">");
+ wprintf("<TD class=\"roomops_cell_edit\"><a href=\"display_editroom&tab=expire\">");
}
wprintf(_("Message expire policy"));
if (!strcmp(tab, "expire")) {
wprintf("<TD> </TD>\n");
if (!strcmp(tab, "access")) {
- wprintf("<TD BGCOLOR=\"#FFFFFF\"><SPAN CLASS=\"tablabel\">");
+ wprintf("<TD class=\"roomops_cell_label\"><SPAN CLASS=\"tablabel\">");
}
else {
- wprintf("<TD BGCOLOR=\"#CCCCCC\"><a href=\"display_editroom&tab=access\">");
+ wprintf("<TD class=\"roomops_cell_edit\"><a href=\"display_editroom&tab=access\">");
}
wprintf(_("Access controls"));
if (!strcmp(tab, "access")) {
wprintf("<TD> </TD>\n");
if (!strcmp(tab, "sharing")) {
- wprintf("<TD BGCOLOR=\"#FFFFFF\"><SPAN CLASS=\"tablabel\">");
+ wprintf("<TD class=\"roomops_cell_label\"><SPAN CLASS=\"tablabel\">");
}
else {
- wprintf("<TD BGCOLOR=\"#CCCCCC\"><a href=\"display_editroom&tab=sharing\">");
+ wprintf("<TD class=\"roomops_cell_edit\"><a href=\"display_editroom&tab=sharing\">");
}
wprintf(_("Sharing"));
if (!strcmp(tab, "sharing")) {
wprintf("<TD> </TD>\n");
if (!strcmp(tab, "listserv")) {
- wprintf("<TD BGCOLOR=\"#FFFFFF\"><SPAN CLASS=\"tablabel\">");
+ wprintf("<TD class=\"roomops_cell_label\"><SPAN CLASS=\"tablabel\">");
}
else {
- wprintf("<TD BGCOLOR=\"#CCCCCC\"><a href=\"display_editroom&tab=listserv\">");
+ wprintf("<TD class=\"roomops_cell_edit\"><a href=\"display_editroom&tab=listserv\">");
}
wprintf(_("Mailing list service"));
if (!strcmp(tab, "listserv")) {
/** begin content of whatever tab is open now */
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<TABLE border=0 width=100%% bgcolor=\"#FFFFFF\">\n"
+ "<TABLE class=\"roomops_background\">\n"
"<TR><TD>\n");
if (!strcmp(tab, "admin")) {
wprintf("</I></B></TD></TR>\n"
"<TR><TD VALIGN=TOP>\n");
- wprintf("<TABLE border=0 cellpadding=5><TR BGCOLOR=\"#CCCCCC\"><TD>");
+ wprintf("<TABLE border=0 cellpadding=5><TR class=\"roomops_cell\"><TD>");
wprintf(_("Remote node name"));
wprintf("</TD><TD>");
wprintf(_("Remote room name"));
wprintf("</TABLE>\n");
wprintf("</TD><TD VALIGN=TOP>\n");
- wprintf("<TABLE border=0 cellpadding=5><TR BGCOLOR=\"#CCCCCC\"><TD>");
+ wprintf("<TABLE border=0 cellpadding=5><TR class=\"roomops_cell\"><TD>");
wprintf(_("Remote node name"));
wprintf("</TD><TD>");
wprintf(_("Remote room name"));
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"roomops_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Create a new room"));
wprintf("</SPAN>"
);
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"roomops_background\"><tr><td>\n");
wprintf("<form name=\"create_room_form\" method=\"POST\" action=\"entroom\">\n");
{
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"roomops_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
wprintf(_("Go to a hidden room"));
wprintf("</SPAN>"
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#770000\"><TR><TD>");
+ wprintf("<TABLE class=\"roomops_zap\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">");
wprintf(_("Zap (forget/unsubscribe) the current room"));
wprintf("</SPAN>\n");
/** title bar */
wprintf("<div id=\"banner\">\n"
- "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<TABLE class=\"roomops_banner\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">"
);
if (!strcasecmp(listviewpref, "rooms")) {
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"setup_banner\"><TR><TD>");
wprintf("<img src=\"static/citadel-logo.gif\" WIDTH=64 HEIGHT=64 ALT=\" \" ALIGN=MIDDLE>");
wprintf("<SPAN CLASS=\"titlebar\"> First time setup");
wprintf("</SPAN></TD><TD ALIGN=RIGHT>");
);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"sieve_banner\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">"
"<img src=\"static/advanpage2_48x.gif\">");
wprintf(_("View/edit server-side mail filters"));
wprintf("</div>\n<div id=\"content\">\n");
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#FFFFFF\">"
+ "<table class=\"sieve_background\">"
"<tr><td valign=top>\n");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<table width=100%% border=0 bgcolor=#444455><tr>"
+ wprintf("<table class=\"sieve_banner\"><tr>"
"<td>"
"<span class=\"titlebar\">"
"<img src=\"static/advanpage2_48x.gif\">");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<table width=100%% border=0 bgcolor=\"#444455\"><tr><td>"
+ "<table class=\"siteconfig_banner\"><tr><td>"
"<span class=\"titlebar\">");
wprintf(_("Site configuration"));
wprintf("</span>"
serv_printf("CONF get");
serv_getln(buf, sizeof buf);
if (buf[0] != '1') {
- wprintf("<table width=100%% border=0 bgcolor=\"#444455\"><tr><td>");
+ wprintf("<table class=\"siteconfig_banner\"><tr><td>");
wprintf("<span class=\"titlebar\">");
wprintf(_("Error"));
wprintf("</span>\n");
}
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>");
+ "<table class=\"siteconfig_background\"><tr><td>");
char *tabnames[] = {
_("General"),
);
wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<TABLE class=\"smtpqueue_banner\"><TR><TD>");
wprintf("<SPAN CLASS=\"titlebar\">");
wprintf(_("View the outbound SMTP queue"));
wprintf("</SPAN>\n");
wprintf("</div>\n<div id=\"content\">\n");
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#FFFFFF\">"
+ "<table class=\"smtpqueue_background\">"
"<tr><td valign=top>\n");
wprintf("<div id=\"smtpqueue_inner_div\">");
}
+.floors_config, .roomops_zap {
+ border: 0;
+ background-color: #770000;
+ width: 100%;
+}
+
+.roomops_cell_label {
+ background-color: #FFFFFF;
+}
+
+.roomops_cell, .roomops_cell_edit {
+ background-color: #CCCCCC;
+}
+
+.auth_validate, .event_background, .calendar_background, .calendar_view_background, .graphics_background, .iconbar_background, .mainmenu_b
+ackground, .messages_background, .paging_background, .preferences_background, .roomops_background, .sieve_background, .siteconfig_backgrou
+nd, .smtpqueue_background, .tabs_background, .useredit_background, .userlist_background, .vcard_edit_background, .who_background {
+ border: 0;
+ width: 100%;
+ background-color: #ffffff;
+}
+
+.auth_banner, .event_banner, .floors_banner, .calendar_banner, .graphics_banner, .iconbar_banner, .inetconf_banner, .listsub_banner, .mainmenu_banner, .netconf_banner, .paging_banner, .preferences_banner, .roomops_banner, .setup_banner, .sieve_banner, .siteconfig_banner, .smtpqueue_banner, .summary_banner, .useredit_banner, .userlist_banner, .vcard_edit_banner, .who_banner {
+ border: 0;
+ width: 100%;
+ background-color: #444455;
+}
+
+
+.vcard_edit_background_alt {
+ border: 0;
+ width: 100%;
+ background-color: #dddddd;
+}
+
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<table width=100%% border=0 bgcolor=#444455><tr>"
+ wprintf("<table class=\"summary_banner\"><tr>"
"<td><img src=\"static/summscreen_48x.gif\"></td><td>"
"<span class=\"titlebar\">"
);
}
wprintf("</tr></table>\n");
- wprintf("<table border=\"0\" width=\"100%%\" bgcolor=\"#ffffff\"><tr><td>");
+ wprintf("<table class=\"tabs_background\"><tr><td>");
}
/**
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<table width=100%% border=0 bgcolor=#444455><tr>"
+ wprintf("<table class=\"useredit_banner\"><tr>"
"<td>"
"<span class=\"titlebar\">"
"<img src=\"static/usermanag_48x.gif\">");
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<table width=100%% border=0 bgcolor=\"#444455\"><tr><td>");
+ wprintf("<table class=\"useredit_banner\"><tr><td>");
wprintf("<span class=\"titlebar\">");
wprintf(_("Edit user account: "));
escputs(username);
wprintf("</div>\n<div id=\"content\">\n");
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"useredit_background\"><tr><td>\n");
wprintf("<form method=\"POST\" action=\"edituser\">\n"
"<input type=\"hidden\" name=\"username\" value=\"");
escputs(username);
}
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<table width=100%% border=0 bgcolor=\"#444455\"><tr><td>"
+ "<table class=\"userlist_banner\"><tr><td>"
"<span class=\"titlebar\">");
snprintf(title, sizeof title, _("User list for %s"), serv_info.serv_humannode);
escputs(title);
}
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"userlist_background\"><tr><td>\n");
wprintf("<tr><th>%s</th><th>%s</th><th>%s</th>"
"<th>%s</th><th>%s</th><th>%s</th></tr>",
_("User Name"),
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<table width=100%% border=0 bgcolor=\"#444455\"><tr>"
+ "<table class=\"userlist_banner\"><tr>"
"<td><img src=\"static/usermanag_48x.gif\"></td>"
"<td align=left><span class=\"titlebar\">");
wprintf(_("User profile"));
);
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"userlist_background\"><tr><td>\n");
serv_printf("OIMG _userpic_|%s", who);
serv_getln(buf, sizeof buf);
/** Display the form */
output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
- "<table width=100%% border=0 bgcolor=\"#444455\"><tr><td>"
+ "<table class=\"vcard_edit_banner\"><tr><td>"
"<span class=\"titlebar\">"
"<img src=\"static/savecontact_48x.gif\">");
wprintf(_("Edit contact information"));
wprintf("<form method=\"POST\" action=\"submit_vcard\">\n");
wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
+ "<table class=\"vcard_edit_background\"><tr><td>\n");
wprintf("<table border=0><tr>"
"<td>%s</td>"
"value=\"%s\" maxlength=\"10\" size=\"10\"></td></tr></table>\n",
suffix);
- wprintf("<table border=0 width=100%% bgcolor=\"#dddddd\">");
+ wprintf("<table class=\"vcard_edit_background_alt\">");
wprintf("<tr><td>");
wprintf(_("Display name:"));
"value=\"%s\" maxlength=\"29\"></td></tr></table>\n",
worktel);
- wprintf("<table border=0 width=100%% bgcolor=\"#dddddd\">");
+ wprintf("<table class=\"vcard_edit_background_alt\">");
wprintf("<tr><td>");
wprintf("<table border=0><TR>"
time_t now;
int bg = 0;
- wprintf("<table border=\"0\" cellspacing=\"0\" width=\"100%%\" bgcolor=\"#FFFFFF\">"
+ wprintf("<table class=\"who_background\">"
"<tr>\n");
wprintf("<th colspan=\"3\"> </th>\n");
wprintf("<th>%s</th>\n", _("User name"));
);
wprintf("<div id=\"banner\">\n");
- wprintf("<table width=100%% border=0 bgcolor=\"#444455\"><tr><td>");
+ wprintf("<table class=\"who_banner\"><tr><td>");
wprintf("<img src=\"static/usermanag_48x.gif\" alt=\" \" "
"align=middle "
">");
output_headers(1, 1, 0, 0, 0, 0);
wprintf("<div id=\"banner\">\n");
- wprintf("<table width=100%% border=0 bgcolor=\"#444455\"><tr><td>");
+ wprintf("<table class=\"who_banner\"><tr><td>");
wprintf("<span class=\"titlebar\">");
wprintf(_("Edit your session display"));
wprintf("</span></td></tr></table>\n");