Commit: 2fbf58567e5d8af2d50f3ac059f660d114b6ab88 Author: Sobak <[email protected]> Sun, 6 Apr 2014 13:22:43 +0200 Parents: 2abc210fc1ac759fa8f804158af0970f41284ded Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=2fbf58567e5d8af2d50f3ac059f660d114b6ab88 Log: Revert "We have archives for every inactive language currently, don't we?" This reverts commit 2abc210fc1ac759fa8f804158af0970f41284ded. Changed paths: M manual/help-translate.php Diff: diff --git a/manual/help-translate.php b/manual/help-translate.php index 381418d..f348971 100644 --- a/manual/help-translate.php +++ b/manual/help-translate.php @@ -25,8 +25,15 @@ The following list of languages already contain SVN modules, and will show up on <h3>Inactive languages already in SVN</h3> <ul> <?php +// $archived are manuals we have old versions of +$archived = array('da', 'kr'); + foreach ($INACTIVE_ONLINE_LANGUAGES as $cc => $lang) { - echo '<li>'.$lang.': (<a href="http://docs.php.net/manual/'.$cc.'">archive</a>)</li>'; + $link = 'no archive'; + if (in_array($cc, $archived)) { + $link = '<a href="http://docs.php.net/manual/'. $cc .'">archive</a>'; + } + echo '<li>', $lang, ' : (', $link, ')</li>'; } ?> </ul> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
