Commit:    e059b022ee1cee7d17b4db696c3c4c39650cb5e8
Author:    Sobak <[email protected]>         Sun, 6 Apr 2014 13:22:43 +0200
Parents:   e28f4dee4e5f3a9bef11b7ee038ea9cfe725ac69
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=e059b022ee1cee7d17b4db696c3c4c39650cb5e8

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

Reply via email to