From: Wilfried Göesgens Date: Fri, 12 Jun 2009 15:14:50 +0000 (+0000) Subject: * specify image sizes for faster rendering X-Git-Tag: v7.86~1071 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=1f0724a6c9c5923e58b8c3f78aa0206302f63d0a * specify image sizes for faster rendering --- diff --git a/webcit/preferences.c b/webcit/preferences.c index bc263d4e7..945e32b86 100644 --- a/webcit/preferences.c +++ b/webcit/preferences.c @@ -921,7 +921,7 @@ void offer_start_page(StrBuf *Target, WCTemplputParams *TP) urlescputs(ChrPtr(WC->wc_roomname)); wprintf("\" title=\"RSS 2.0 feed for "); escputs(ChrPtr(WC->wc_roomname)); - wprintf("\">\"RSS\"\n"); + wprintf("\">\"RSS\"\n"); #endif } diff --git a/webcit/roomops.c b/webcit/roomops.c index 0d700cb34..1fcca946e 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -329,7 +329,7 @@ void readinfo(StrBuf *Target, WCTemplputParams *TP) wprintf("
"); wprintf("\"%s\"", + "src=\"static/closewindow.gif\" alt=\"%s\" width=\"16\" height=\"16\">", _("Close window") ); escputs(fullinfo); @@ -366,37 +366,37 @@ void embed_room_graphic(StrBuf *Target, WCTemplputParams *TP) else if (WC->wc_view == VIEW_ADDRESSBOOK) { wprintf("\"\"" + "\" >" ); } else if ( (WC->wc_view == VIEW_CALENDAR) || (WC->wc_view == VIEW_CALBRIEF) ) { wprintf("\"\"" + "\" width=\"48\" height=\"48\">" ); } else if (WC->wc_view == VIEW_TASKS) { wprintf("\"\"" + "\" width=\"48\" height=\"48\">" ); } else if (WC->wc_view == VIEW_NOTES) { wprintf("\"\"" + "\" width=\"48\" height=\"48\">" ); } else if (WC->wc_view == VIEW_MAILBOX) { wprintf("\"\"" + "\" width=\"48\" height=\"48\">" ); } else { wprintf("\"\"" + "\" width=\"48\" height=\"48\">" ); } @@ -548,7 +548,7 @@ void embed_room_banner(char *got, int navbar_style) { if (navbar_style == navbar_default) wprintf( "
  • " "" - "\"\"" + "\"\"" "%s" "
  • \n", _("Ungoto") ); @@ -557,7 +557,7 @@ void embed_room_banner(char *got, int navbar_style) { wprintf( "
  • " "" - "\"\"" + "\"\"" "%s" "
  • \n", _("Read new messages") ); @@ -570,7 +570,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "" "%s" "
  • \n", _("View contacts") @@ -581,7 +581,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "" "%s" "
  • \n", _("Day view") @@ -590,7 +590,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "" "%s" "
  • \n", _("Month view") @@ -601,7 +601,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "" "%s" "
  • \n", _("Calendar list") @@ -612,7 +612,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "" "%s" "
  • \n", _("View tasks") @@ -623,7 +623,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "" "%s" "
  • \n", _("View notes") @@ -634,7 +634,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "" "%s" "
  • \n", _("Refresh message list") @@ -645,7 +645,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "" "%s" "
  • \n", _("Wiki home") @@ -656,7 +656,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "" "%s" "
  • \n", _("Read all messages") @@ -672,7 +672,8 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" + "" "%s" "
  • \n", _("Add new contact") ); @@ -685,7 +686,8 @@ void embed_room_banner(char *got, int navbar_style) { if (havebstr("day" )) wprintf("?day=%s", bstr("day")); wprintf("\">" "" + "alt=\"\" width=\"24\" height=\"24\">" + "" "%s" "\n", _("Add new event") ); @@ -695,7 +697,8 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" + "" "%s" "
  • \n", _("Add new task") ); @@ -705,7 +708,8 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" + "" "%s" "
  • \n", _("Add new note") ); @@ -717,7 +721,8 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" + "" "%s" "
  • \n", buf, _("Edit this page") ); @@ -727,7 +732,8 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" + "" "%s" "
  • \n", _("Write mail") ); @@ -735,7 +741,7 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" "%s" "
  • \n", _("Delete") ); @@ -745,7 +751,8 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" "" + "alt=\"\" width=\"24\" height=\"24\">" + "" "%s" "
  • \n", _("Enter a message") ); @@ -757,7 +764,8 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" - "\"\"" + "\"\"" "%s" "
  • \n", _("Leave all messages marked as unread, go to next room with unread messages"), @@ -768,7 +776,8 @@ void embed_room_banner(char *got, int navbar_style) { "
  • " "" - "\"\"" + "\"\"" "%s" "
  • \n", _("Mark all messages as read, go to next room with unread messages"), diff --git a/webcit/static/t/iconbar.html b/webcit/static/t/iconbar.html index 038057cad..6f1e3b610 100644 --- a/webcit/static/t/iconbar.html +++ b/webcit/static/t/iconbar.html @@ -1,7 +1,7 @@