www/nightly.adium.im 22:e1f50489bd0f: Show branch list on top also.
commits at adium.im
commits at adium.im
Sun Dec 18 10:31:46 UTC 2011
details: http://hg.adium.im/www/nightly.adium.im/rev/e1f50489bd0f
revision: 22:e1f50489bd0f
branch: (none)
author: Adrian Godoroja <robotive at me.com>
date: Sun Dec 18 12:31:16 2011 +0200
Show branch list on top also.
diffs (40 lines):
diff -r 218ade279f9b -r e1f50489bd0f index.php
--- a/index.php Wed Nov 09 22:58:35 2011 +0200
+++ b/index.php Sun Dec 18 12:31:16 2011 +0200
@@ -83,7 +83,18 @@
Make sure you're using the <a href="/latest?repo_branch=<?=$repo_branch?>">latest version</a> when reporting bugs.<br />
Downloads hosted by <a href="http://rackspacecloud.com">Rackspace</a>.
</p>
-
+<div> </div>
+<div>
+<b>Other branches:</b>
+<?
+ $branchLinks = '';
+ $branchlist = scandir(".");
+ foreach ($branchlist as $branch) {
+ if (preg_match("/^\./",$branch) || !is_dir($branch) || $branch == $repo_branch) { continue; }
+ $branchLinks .= '<a href="/?repo_branch=' . $branch . '">' . $branch . '</a>';
+ }
+?>
+</div>
<div class="list">
<table cellspacing="0" cellpadding="4">
<tr>
@@ -119,15 +130,7 @@
</div>
<div>
<b>Other branches:</b>
-<?
- $branchlist = scandir(".");
- foreach ($branchlist as $branch) {
- if (preg_match("/^\./",$branch) || !is_dir($branch) || $branch == $repo_branch) { continue; }
-?>
- <a href="/?repo_branch=<?=$branch?>"><?=$branch?></a>
-<?
- }
-?>
+<?= $branchLinks; ?>
</div>
</div>
<!-- fix overlap -->
More information about the commits
mailing list