* remove old wiki navbar code
authorWilfried Göesgens <willi@citadel.org>
Thu, 26 Aug 2010 21:51:25 +0000 (21:51 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 26 Aug 2010 21:51:25 +0000 (21:51 +0000)
webcit/roomops.c

index 085d3f084deb3d19e0185f63cacde1271179790f..8217b2a1ed984c8fcaf99ca5278e47417c267934 100644 (file)
@@ -174,58 +174,6 @@ void embed_room_banner(void)
                return;
 
        do_template("navbar", NULL);
-/*
-       case VIEW_WIKI:
-               wc_printf(
-                       "<li class=\"readallmess\">"
-                       "<a href=\"wiki?page=home\">"
-                       "<img src=\"static/readallmess3_24x.gif\" "
-                       "alt=\"\" width=\"24\" height=\"24\">"
-                       "<span class=\"navbar_link\">"
-                       "%s"
-                       "</span></a></li>\n", _("Wiki home")
-                       );
-               safestrncpy(buf, bstr("page"), sizeof buf);
-               if (IsEmptyStr(buf)) {
-                       safestrncpy(buf, "home", sizeof buf);
-               }
-               str_wiki_index(buf);
-               wc_printf(
-                       "<li class=\"newmess\">"
-                       "<a href=\"display_enter?page=%s\">"
-                       "<img  src=\"static/newmess3_24x.gif\" "
-                       "alt=\"\" width=\"24\" height=\"24\">"
-                       "<span class=\"navbar_link\">"
-                       "%s"
-                       "</span></a></li>\n", buf, _("Edit this page")
-                       );
-               
-               if (bmstrcasestr((char *)ChrPtr(WCC->Hdr->HR.ReqLine), "wiki_history")) {
-                       / * already viewing history; display a link to the current page * /
-                       wc_printf(
-                               "<li class=\"newmess\">"
-                               "<a href=\"wiki?page=%s\">"
-                               "<img  src=\"static/newmess3_24x.gif\" "
-                               "alt=\"\" width=\"24\" height=\"24\">"
-                               "<span class=\"navbar_link\">"
-                               "%s"
-                               "</span></a></li>\n", buf, _("Current version")
-                               );
-               }
-               else {
-                       / * display a link to the history * /
-                       wc_printf(
-                               "<li class=\"newmess\">"
-                               "<a href=\"wiki_history?page=%s\">"
-                               "<img  src=\"static/newmess3_24x.gif\" "
-                               "alt=\"\" width=\"24\" height=\"24\">"
-                               "<span class=\"navbar_link\">"
-                               "%s"
-                               "</span></a></li>\n", buf, _("History")
-                               );
-               }
-               break;
-*/
 }