Added a missing "=" on the userpicture link "alt" tag, the "&" does work fine
authorthe_mgt <themgt@ueberserver.de>
Tue, 5 Jul 2011 22:10:51 +0000 (00:10 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 21:32:20 +0000 (21:32 +0000)
Also X-escaped the roomname on knrooms_rooms.html (for the roomnames containing &)
and added two missing </div>s to the knrooms.html. W3C is happier now

webcit/static/t/knrooms.html
webcit/static/t/knrooms_rooms.html
webcit/userlist.c

index ea7411244ba218b012b4794249edfd6ebadecbb2..9fc8a5975ec778540837939a94f039182647523d 100644 (file)
@@ -2,3 +2,5 @@
        <table border="0" width="96%" cellpadding="5">
                <?ITERATE("LKRA", ="knrooms_rooms")>
        </table>
+</div>
+</div>
index 7c3978627c9c92128e8908f5bcf98d14a7174cd1..7c7f27491975901a62909dceeb3e0a8db6af402e 100644 (file)
@@ -11,7 +11,7 @@
        <?ROOM:INFO:FLOOR:NAME><?=("beginbox_2")>
 <?!("X", 2)>
 &nbsp;<a href="dotgoto?room=<?ROOM:INFO:NAME("U")>"><span class="<?%("COND:ROOM:FLAG:UA", 4, #"UA_HASNEWMSGS", 0, "roomlist_new", "roomlist_old")>">
-<?ROOM:INFO:LEVELNTIMES("&nbsp;&nbsp;&nbsp;")><?ROOM:INFO:BASENAME></span></a>
+<?ROOM:INFO:LEVELNTIMES("&nbsp;&nbsp;&nbsp;")><?ROOM:INFO:BASENAME("X")></span></a>
 <?%("COND:ROOM:INFO:IS_INBOX", 5, 0, 0, _"(INBOX)", "")><br>
 <?!("COND:ITERATE:LASTN", 2)>
        <?=("endbox")></td></tr>
index 8889a1996faf1d7b1eea939ae06d3c349616b468..a244a999de0e5d82f929922bd0858e296476f103 100644 (file)
@@ -113,7 +113,7 @@ void showuser(void)
 
        output_headers(1, 1, 2, 0, 0, 0);
        wc_printf("<div id=\"banner\">\n");
-       wc_printf("<img src=\"static/webcit_icons/essen/32x32/account.png\" alt\"\">");
+       wc_printf("<img src=\"static/webcit_icons/essen/32x32/account.png\" alt=\"\">");
         wc_printf("<h1>");
        wc_printf(_("User profile"));
         wc_printf("</h1>");