/*
- * $Id$
- *
* Displays the "Summary Page"
+ *
+ * Copyright (c) 1996-2011 by the citadel.org team
+ *
+ * This program is open source software. You can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "webcit.h"
if (calendar_summary_view() < 1) {
wc_printf("<i>");
wc_printf(_("(None)"));
- wc_printf("</i><br />\n");
+ wc_printf("</i><br>\n");
}
}
if (calendar_summary_view() < 1) {
wc_printf("<i>");
wc_printf(_("(Nothing)"));
- wc_printf("</i><br />\n");
+ wc_printf("</i><br>\n");
}
__calendar_Cleanup(&v);
}
wc_printf(_("Who's online now"));
wc_printf("</div><div class=\"boxcontent\">");
wc_printf("<div id=\"who_inner\">");
- do_template("who_summary", NULL);
+ do_template("who_summary");
wc_printf("</div></div></div>");
wc_printf("</td>");
output_headers(1, 1, 2, 0, 0, 0);
wc_printf("<div id=\"banner\" class=\"banner\">\n");
wc_printf("<table border=0><tr>");
- wc_printf("<td><img src=\"static/summscreen_48x.gif\"></td>");
+ wc_printf("<td><img src=\"static/icons/essen/32x32/summary.png\"></td>");
wc_printf("<td><h1>");
- snprintf(title, sizeof title, _("Summary page for %s"), ChrPtr(WC->wc_fullname));
+ snprintf(title, sizeof title, _("Summary page for %s"),
+ ( (WC->logged_in) ? ChrPtr(WC->wc_fullname) : ChrPtr(WC->serv_info->serv_humannode))
+ );
escputs(title);
wc_printf("</h1><h2>");
output_date();