|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-01-19 21:11 UTC] bjori@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: kalle
[2011-01-19 21:11 UTC] bjori@php.net
[2011-01-20 19:12 UTC] kalle@php.net
[2011-01-20 19:13 UTC] kalle@php.net
-Status: Assigned
+Status: Closed
[2011-01-20 19:13 UTC] kalle@php.net
[2011-01-20 19:42 UTC] harlequin2 at gmx dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 22 15:00:01 2025 UTC |
Description: ------------ As requested on the internals mailing list, here's the modified download page for windows.php.net. A new box with a link to the currently selected version's release archive page (releases/qa/snapshots) will be appended to the bottom of the list. I also started to add some notes to the code (i.e. closing bracket comments), but the page should definitely be cleaned up a lot more to make future changes easier. Regards, Sascha Meyer --- SVN diff ---- # This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- Ausgangspunkt (BASE) +++ Lokal geƤndert (ausgehend von LOCAL) @@ -21,6 +21,7 @@ $baseurl = '/' . $dir_to_parse . '/'; $versions = generate_listing($dir_to_parse, $snaps); + $major_order = array('5.3', '5.2', '6.0'); $minor_order = array( '5.2' => array( @@ -69,7 +70,7 @@ <div class="adv-block"><!-- .adv-block --> <span class="corners-top"><span></span></span> - <div class="info entry"><!-- .info --> + <div class="info entry"><!-- .info (release dropdown box) --> <h2 name="top" id="top"><?php echo $title_page; ?></h2> <select onchange="window.location.hash=this.options[this.selectedIndex].value"> @@ -103,7 +104,7 @@ </div><span class="corners-bottom"><span></span></span></div> <?php continue; - } + } // END if (!isset($versions[$major])) ... ?> <p><a href="<?php echo $baseurl . $versions[$major]['source']['path']; ?>">Download source code</a> [<?php echo $versions[$major]['source']['size']; ?>]</p> @@ -117,10 +118,8 @@ <?php foreach ($minor_order[$major] as $minor) { + if (isset($versions[$major][$minor])) { ?> - -<?php if (isset($versions[$major][$minor])) { -?> <div class="innerbox"> <span class="corners-top"><span></span></span> @@ -166,18 +165,31 @@ </div><!-- innerbox --> <?php - } + } // END if (isset($versions[$major][$minor])) + } // END foreach ($minor_order[$major] ... ?> - <?php - } - ?> </div> <span class="corners-bottom"><span></span></span> </div> <!-- block --> <?php - } + } // END foreach ($major_order ... ?> + <div class="block"> + <span class="corners-top"></span> + + <div class="info entry"> + <h3 id="php-archive" name="php-archive" class="summary entry-title">Browse archive</h3> + <div class="innerbox"> + <span class="corners-top"><span></span></span> + <a href="<?php print $baseurl = '/' . $dir_to_parse . '/'; ?>"><?php print $title_page;?></a> + <span class="corners-bottom"></span> + </div> + <span class="corners-bottom"></span> + </div> + </div> + + <p class="t-center"> </p> </div> <!-- .content -->