From 0056617265d628e250c52b95b99df90bcd0f00bc Mon Sep 17 00:00:00 2001
From: Ferenc Kovacs
Date: Sat, 21 Jul 2012 02:30:09 +0200
Subject: [PATCH] fix the file references now that they are comming from git
instead of svn for the reST stuff
---
get-involved.php | 2 +-
mailing-lists.php | 2 +-
reST/index.php | 18 +++---------------
3 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/get-involved.php b/get-involved.php
index d006365a6..ddca2d06f 100644
--- a/get-involved.php
+++ b/get-involved.php
@@ -244,7 +244,7 @@ directory if you want to learn more about the testing mechanism.
something to add. Please take a few moments to familiarize yourself with the
mailing list "rules" before you go all crazy on the lists. For the rules that
are generally followed on all PHP mailing lists, please see the
- Mailinglist Rules.
+ Mailinglist Rules.
diff --git a/mailing-lists.php b/mailing-lists.php
index ae9fe25ec..816e7e2f5 100644
--- a/mailing-lists.php
+++ b/mailing-lists.php
@@ -167,7 +167,7 @@ if (isset($_POST['maillist'])) {
And make sure you have read our
- Mailinglist Rules.
+ Mailinglist Rules.
File list
$restfiles = glob($rest_dir. "/*");
-$list = $lastdir = "";
+//$list = $lastdir = "";
+$list = "";
foreach($restfiles as $filename) {
$link = basename($filename, ".rest");
- // Separate the dirname from the filename
- list($dir, $filename) = explode("_", $link, 2);
-
- // Create a tree-like-structure
- if ($dir != $lastdir) {
- if ($lastdir) {
- $list .= "\n";
- }
- $list .= "$dir
\n\n";
- $lastdir = $dir;
- }
-
- // Replace the first - with a directory seperator
- $link[strpos($link, "_")] = "/";
+ $filename = basename($link);
// Only use the "last part" of the filename (i.e. README.FOOBAR => FOOBAR)
if (strpos($filename, ".") !== false) {