removed some absolute urls
authorArt Cancro <ajc@citadel.org>
Thu, 3 Nov 2005 22:48:09 +0000 (22:48 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 3 Nov 2005 22:48:09 +0000 (22:48 +0000)
webcit/static/head.html
webcit/static/login.html
webcit/static/menubar.html
webcit/who.c

index 4766dbfae55b06eb74588f5fab2213d28eff31c8..1644b79fff134287cc1a26ed2107236099bd2ee1 100644 (file)
@@ -2,10 +2,9 @@
         "http://www.w3.org/TR/html4/strict.dtd">
 <html>
 <head>
-<?REFRESHTAG>
 <title><?SERV_HUMANNODE></title>
 <meta name="MSSmartTagsPreventParsing" content="TRUE" />
-<link href="/static/webcit.css" rel="stylesheet" type="text/css">
+<link href="static/webcit.css" rel="stylesheet" type="text/css">
 <script type="text/javascript" src="static/wclib.js"></script>
 <script type="text/javascript" src="static/prototype.js"></script>
 <script type="text/javascript" src="static/scriptaculous.js"></script>
index cfdd889ca18cd069affa4f857d5a9d9b7c9c2d52..563adaebb7f9859b8c68372fdfe0579cc4c57f05 100644 (file)
@@ -5,7 +5,7 @@
 <tr>
 <td align=center>
        <?HELLO>
-       <form action="/login" method="POST">
+       <form action="login" method="POST">
 
        <table border="0" cellspacing="5" cellpadding="5" bgcolor="#EEEEEE">
                <tr><td>User name:</td>
@@ -23,7 +23,7 @@
        </form>
 
        </td>
-       <td align="center"><p><img src="/image&name=hello"></p></td>
+       <td align="center"><p><img src="image&name=hello"></p></td>
        </tr>
        <tr>
                <td colspan="2">
index cd2c8ab76c87ca5e302c8346cabe2db03577780b..2a52a6147a464f3eb0db80f3f3f1fcf530b61bce 100644 (file)
@@ -1,54 +1,54 @@
 <script type="text/javascript">
 <!--hide
        function OpenWholist() {
-               window.open('/who', 'who', 'toolbar=no,location=no,directories=no,copyhistory=no,status=yes,scrollbars=yes,resizable=yes,height=200,width=600');
+               window.open('who', 'who', 'toolbar=no,location=no,directories=no,copyhistory=no,status=yes,scrollbars=yes,resizable=yes,height=200,width=600');
        }
 //-->
 </script>
 
 <center>
-<img src="/image&name=hello"><br /><br />
+<img src="image&name=hello"><br /><br />
 
 <table border="0" cellspacing="0" cellpadding="2">
 <tr>
        <td class="menubar_bg">
                <span class="menubar_link">
-               <a href="/knrooms"><font color="#FFFFFF">List known rooms</span></a>
+               <a href="knrooms"><font color="#FFFFFF">List known rooms</span></a>
                </span>
        </td>
 </tr><tr>
        <td bgcolor="#3333CC">
                <span class="menubar_link">
-               <a href="/gotonext"><font coloR="#FFFFFF">Goto next room</span></a>
+               <a href="gotonext"><font coloR="#FFFFFF">Goto next room</span></a>
                </span>
        </td>
 </tr><tr>
        <td bgcolor="#3333CC">
                <span class="menubar_link">
-               <a href="/skip"><font color="#FFFFFF">Skip this room</span></a>
+               <a href="skip"><font color="#FFFFFF">Skip this room</span></a>
                </span>
        </td>
 </tr><tr>
        <td bgcolor="#3333CC">
                <span class="menubar_link">
-               <a href="/ungoto"><font color="#FFFFFF">Ungoto</span></a>
+               <a href="ungoto"><font color="#FFFFFF">Ungoto</span></a>
        </td>
 </tr><tr>
        <td bgcolor="#003399">
                <span class="menubar_link">
-               <a href="/readnew"><font color="#FFFFFF">Read&nbsp;new&nbsp;messages</span></a>
+               <a href="readnew"><font color="#FFFFFF">Read&nbsp;new&nbsp;messages</span></a>
                </span>
        </td>
 </tr><tr>
        <td bgcolor="#003399">
                <span class="menubar_link">
-               <a href="/readfwd"><font color="#FFFFFF">Read&nbsp;all&nbsp;messages</span></a>
+               <a href="readfwd"><font color="#FFFFFF">Read&nbsp;all&nbsp;messages</span></a>
                </span>
        </td>
 </tr><tr>
        <td bgcolor="#003399">
                <span class="menubar_link">
-               <a href="/display_enter"><font color="#FFFFFF">Enter&nbsp;a&nbsp;message</span></a>
+               <a href="display_enter"><font color="#FFFFFF">Enter&nbsp;a&nbsp;message</span></a>
                </span>
        </td>
 </tr><tr>
 </tr><tr>
        <td bgcolor="#663399">
                <span class="menubar_link">
-               <a href="/display_page"><font color="#FFFFFF">Page&nbsp;another&nbsp;user</span></a>
+               <a href="display_page"><font color="#FFFFFF">Page&nbsp;another&nbsp;user</span></a>
                </span>
        </td>
 </tr><tr>
        <td bgcolor="#663399">
                <span class="menubar_link">
-               <a href="/advanced"><font color="#FFFFFF">Advanced&nbsp;options</span></a>
+               <a href="advanced"><font color="#FFFFFF">Advanced&nbsp;options</span></a>
                </span>
        </td>
 </tr><tr>
        <td bgcolor="#CC0000">
                <span class="menubar_link">
-               <a href="/termquit" target="_top" onClick="return confirm('Do you really want to log off?');"><font color="#FFFFFF">Log&nbsp;off</span></a><br />
+               <a href="termquit" target="_top" onClick="return confirm('Do you really want to log off?');"><font color="#FFFFFF">Log&nbsp;off</span></a><br />
        </td>
 </tr>
 </table>
@@ -85,6 +85,6 @@
        onMouseOver="window.status='Find out more about Citadel'; return true;"><font 
 size=-1 color="#000000">
 POWERED BY<br /></font>
-<img src="/static/citadel-logo.gif" width=75 height=76 border=0 ALT="CITADEL"></a>
+<img src="static/citadel-logo.gif" width=75 height=76 border=0 ALT="CITADEL"></a>
 
 </center>
index 91fe3d5a01d90d4c2ac246ef2215105b361100d1..c9c2f08e476598d101e39c09457baf196a5cc377 100644 (file)
@@ -56,20 +56,20 @@ void who_inner_div(void) {
                        wprintf("<td>");
                        if ((WC->is_aide) &&
                            (sess != WC->ctdl_pid)) {
-                               wprintf(" <a href=\"/terminate_session?which_session=%d", sess);
+                               wprintf(" <a href=\"terminate_session?which_session=%d", sess);
                                wprintf("\" onClick=\"return ConfirmKill();\">%s</a>", _("(kill)"));
                        }
                        if (sess == WC->ctdl_pid) {
-                               wprintf(" <a href=\"/edit_me\">%s</a>", _("(edit)"));
+                               wprintf(" <a href=\"edit_me\">%s</a>", _("(edit)"));
                        }
                        wprintf("</td>");
 
                        /* (link to page this user) */
-                       wprintf("<td><a href=\"/display_page?recp=");
+                       wprintf("<td><a href=\"display_page?recp=");
                        urlescputs(user);
                        wprintf("\">"
                                "<img align=\"middle\" "
-                               "src=\"/static/citadelchat_24x.gif\" "
+                               "src=\"static/citadelchat_24x.gif\" "
                                "alt=\"(p)\""
                                " border=\"0\" /></a> ");
                        wprintf("</td>");
@@ -79,13 +79,13 @@ void who_inner_div(void) {
                        if ((now - last_activity) > 900L) {
                                wprintf(" "
                                        "<img align=\"middle\" "
-                                       "src=\"/static/inactiveuser_24x.gif\" "
+                                       "src=\"static/inactiveuser_24x.gif\" "
                                        "alt=\"(idle)\" border=\"0\" />");
                        }
                        else {
                                wprintf(" "
                                        "<img align=\"middle\" "
-                                       "src=\"/static/activeuser_24x.gif\" "
+                                       "src=\"static/activeuser_24x.gif\" "
                                        "alt=\"(active)\" border=\"0\" />");
                        }
                        wprintf("</td>\n<td>");
@@ -141,7 +141,7 @@ void who(void)
 
        wprintf("<div id=\"banner\">\n");
        wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
-       wprintf("<IMG SRC=\"/static/usermanag_48x.gif\" ALT=\" \" "
+       wprintf("<IMG SRC=\"static/usermanag_48x.gif\" ALT=\" \" "
                "ALIGN=MIDDLE "
                ">");
        wprintf("<SPAN CLASS=\"titlebar\"> ");
@@ -163,7 +163,7 @@ void who(void)
        wprintf("<div id=\"instructions\" align=center>");
        wprintf(_("Click on a name to read user info.  Click on %s "
                "to send an instant message to that user."),
-               "<img align=\"middle\" src=\"/static/citadelchat_16x.gif\" alt=\"(p)\" border=\"0\">"
+               "<img align=\"middle\" src=\"static/citadelchat_16x.gif\" alt=\"(p)\" border=\"0\">"
        );
        wprintf("</div>\n");
 
@@ -231,18 +231,18 @@ void edit_me(void)
                        "without typing anything in the corresponding box. "));
                wprintf("<br />\n");
 
-               wprintf("<FORM METHOD=\"POST\" ACTION=\"/edit_me\">\n");
+               wprintf("<form method=\"POST\" action=\"edit_me\">\n");
 
-               wprintf("<TABLE border=0 width=100%%>\n");
+               wprintf("<table border=0 width=100%%>\n");
 
-               wprintf("<TR><TD><B>");
+               wprintf("<tr><td><b>");
                wprintf(_("Room name:"));
-               wprintf("</B></TD>\n<TD>");
-               wprintf("<INPUT TYPE=\"text\" NAME=\"fake_roomname\" MAXLENGTH=\"64\">\n");
-               wprintf("</TD>\n<TD ALIGN=center>");
-               wprintf("<INPUT TYPE=\"submit\" NAME=\"change_room_name_button\" VALUE=\"%s\">",
+               wprintf("</b></td>\n<td>");
+               wprintf("<input type=\"text\" name=\"fake_roomname\" maxlength=\"64\">\n");
+               wprintf("</td>\n<td align=center>");
+               wprintf("<input type=\"submit\" name=\"change_room_name_button\" value=\"%s\">",
                        _("Change room name"));
-               wprintf("</TD>\n</TR>\n");
+               wprintf("</td>\n</tr>\n");
 
                wprintf("<TR><TD><B>");
                wprintf(_("Host name:"));