[mirrorbrain-commits] r8081 - /trunk/mod_autoindex_mb/mod_autoindex_mb.c

From: <poeml_at_mirrorbrain.org>
Date: Tue, 31 Aug 2010 21:19:16 -0000
Author: poeml
Date: Tue Aug 31 23:19:16 2010
New Revision: 8081

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8081&view=rev
Log:
mod_autoindex_mb:
- Adjusted for recent changes in the mirrorlist. 
  The link "Mirrors" has been renamed to "Details". The link "Metalink" is suppressed now.

Modified:
    trunk/mod_autoindex_mb/mod_autoindex_mb.c

Modified: trunk/mod_autoindex_mb/mod_autoindex_mb.c
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_autoindex_mb/mod_autoindex_mb.c?rev=8081&r1=8080&r2=8081&view=diff
==============================================================================
--- trunk/mod_autoindex_mb/mod_autoindex_mb.c (original)
+++ trunk/mod_autoindex_mb/mod_autoindex_mb.c Tue Aug 31 23:19:16 2010
_at_@ -1617,11 +1617,7 @@
             ++cols;
         }
         if (autoindex_opts & MIRRORLIST) {
-            ap_rputs("</th><th>Mirrors", r);
-            ++cols;
-        }
-        if (autoindex_opts & METALINK) {
-            ap_rputs("</th><th>Metalinks", r);
+            ap_rputs("</th><th>Metadata", r);
             ++cols;
         }
         if (!(autoindex_opts & SUPPRESS_RULES)) {
_at_@ -1799,19 +1795,10 @@
             if (autoindex_opts & MIRRORLIST) {
                 if (anchor[strlen(anchor)-1] != '/') { /* not for directories */
                         ap_rvputs(r, " </td><td><a href=\"", anchor, 
-                                  ".mirrorlist\">Mirrors</a>", NULL);
+                                  ".mirrorlist\">Details</a>", NULL);
                 }
                 else {
                     ap_rputs("</td><td>&nbsp;", r);
-                }
-            }
-            if (autoindex_opts & METALINK) {
-                if (anchor[strlen(anchor)-1] != '/') { /* not for directories */
-                        ap_rvputs(r, " </td><td><a href=\"", anchor, 
-                                  ".meta4\">Metalink</a>", NULL);
-                }
-                else {
-                        ap_rputs("</td><td>&nbsp;", r);
                 }
             }
             ap_rputs("</td></tr>\n", r);
_at_@ -1903,11 +1890,7 @@
             if (anchor[strlen(anchor)-1] != '/') { /* not for directories */
                     if (autoindex_opts & MIRRORLIST) {
                             ap_rvputs(r, " <a href=\"", anchor, 
-                                      ".mirrorlist\">Mirrors</a>", NULL);
-                    }
-                    if (autoindex_opts & METALINK) {
-                            ap_rvputs(r, " <a href=\"", anchor, 
-                                      ".meta4\">Metalink</a>", NULL);
+                                      ".mirrorlist\">Details</a>", NULL);
                     }
             }
             ap_rputc('\n', r);




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Tue Aug 31 2010 - 21:19:17 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT