httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r312905 - /httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c
Date Tue, 11 Oct 2005 16:06:14 GMT
Author: jerenkrantz
Date: Tue Oct 11 09:06:12 2005
New Revision: 312905

URL: http://svn.apache.org/viewcvs?rev=312905&view=rev
Log:
* module-2.0/mod_mbox_out.c: Add in site/list navigation for static views.

Modified:
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c
URL: http://svn.apache.org/viewcvs/httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c?rev=312905&r1=312904&r2=312905&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c Tue Oct 11 09:06:12 2005
@@ -1090,6 +1090,17 @@
     ap_rputs(" <body id=\"archives\">\n", r);
     ap_rputs("  <h1>Mailing list archives</h1>\n\n", r);
 
+    ap_rputs("  <h5>\n", r);
+
+    if (conf->root_path) {
+        ap_rprintf(r, "<a href=\"%s\" title=\"Back to the archives depot\">"
+                   "Site index</a> &middot; ",
+                   conf->root_path);
+    }
+
+    ap_rprintf(r, "<a href=\"%s\" title=\"Back to the list index\">"
+               "List index</a></h5>", get_base_path(r));
+
     /* Display context message list */
     from = ESCAPE_OR_BLANK(r->pool, m->from);
     from = mbox_cte_decode_header(r->pool, from);



Mime
View raw message