www/nightly.adium.im 5:89215dc9f7cc: Fallout after my multi-nigh...

commits at adium.im commits at adium.im
Wed Jul 27 16:55:32 UTC 2011


details:	http://hg.adium.im/www/nightly.adium.im/rev/89215dc9f7cc
revision:	5:89215dc9f7cc
branch:		(none)
author:		Colin Barrett <colin at springsandstruts.com>
date:		Wed Jul 27 09:52:48 2011 -0700

Fallout after my multi-nightly changes. We need to filter on and display the filename, not the path

diffs (27 lines):

diff -r 11bd7aa2f451 -r 89215dc9f7cc index.php
--- a/index.php	Wed Jul 27 11:52:26 2011 +0300
+++ b/index.php	Wed Jul 27 09:52:48 2011 -0700
@@ -81,7 +81,7 @@
 	$alternating = 0;
 
     foreach ($filelist as $filename) {
-        $filename = $repo_branch . "/" . $filename;
+        $filepath = $repo_branch . "/" . $filename;
         if (preg_match("/^\./",$filename) || preg_match("/(latest.*|\.php|\.png|\.gif|\.md5)$/",$filename)) { continue; }
 
 		if ($alternating) {
@@ -90,10 +90,10 @@
 			printf('<tr>');
 		}
 ?>
-            <td><a href="/<?=$filename?>"><?=$filename?></a></td>
-            <td style="text-align: right;"><?=byteConvert(filesize($filename))?></td>
-			<td style="font-face: fixed;"><?=file_get_contents($filename . ".md5")?></td>
-            <td><?=date("r",filemtime($filename))?></td>
+            <td><a href="/<?=$filepath?>"><?=$filename?></a></td>
+            <td style="text-align: right;"><?=byteConvert(filesize($filepath))?></td>
+			<td style="font-face: fixed;"><?=file_get_contents($filepath . ".md5")?></td>
+            <td><?=date("r",filemtime($filepath))?></td>
         </tr>
 <?
 		$alternating = !$alternating;




More information about the commits mailing list